Merge branch 'feature/documentation' into development
This commit is contained in:
@@ -22,6 +22,33 @@ import mc.protocol.io.NetOutputStream;
|
|||||||
@Data
|
@Data
|
||||||
public class StatusServerResponse implements Packet {
|
public class StatusServerResponse implements Packet {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Информация о серере в формате JSON
|
||||||
|
*
|
||||||
|
* <p>Пример</p>
|
||||||
|
* <pre>
|
||||||
|
* {
|
||||||
|
* "version": {
|
||||||
|
* "name": "1.8.7",
|
||||||
|
* "protocol": 47
|
||||||
|
* },
|
||||||
|
* "players": {
|
||||||
|
* "max": 100,
|
||||||
|
* "online": 5,
|
||||||
|
* "sample": [
|
||||||
|
* {
|
||||||
|
* "name": "thinkofdeath",
|
||||||
|
* "id": "4566e69f-c907-48ee-8d71-d7ba5aa00d20"
|
||||||
|
* }
|
||||||
|
* ]
|
||||||
|
* },
|
||||||
|
* "description": {
|
||||||
|
* "text": "Hello world"
|
||||||
|
* },
|
||||||
|
* "favicon": "data:image/png;base64,<data>"
|
||||||
|
* }
|
||||||
|
* </pre>
|
||||||
|
*/
|
||||||
private String info;
|
private String info;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user