add more to the server response
All checks were successful
ci / deploy (push) Successful in 1m14s

This commit is contained in:
Lee
2024-04-10 09:19:02 +01:00
parent c7fe26ef8f
commit 330c3efc78
12 changed files with 540 additions and 19 deletions

View File

@ -1,5 +1,6 @@
package cc.fascinated.model.mojang;
import cc.fascinated.model.server.JavaMinecraftServer;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
@ -9,5 +10,24 @@ import lombok.ToString;
*/
@AllArgsConstructor @Getter @ToString
public final class JavaServerStatusToken {
/**
* The version of the server.
*/
private final JavaMinecraftServer.Version version;
/**
* The players on the server.
*/
private final JavaMinecraftServer.Players players;
/**
* The motd of the server.
*/
private final String description;
}
/**
* The favicon of the server.
*/
private final String favicon;
}