0

Merge branch 'feature/documentation' into development

This commit is contained in:
2020-05-02 16:05:50 +03:00

View File

@@ -22,6 +22,33 @@ import mc.protocol.io.NetOutputStream;
@Data
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;
@Override