add mods and plugins to server response
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m31s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m31s
This commit is contained in:
@ -108,7 +108,7 @@ public class MinecraftServer {
|
||||
/**
|
||||
* Player count data for a server.
|
||||
*/
|
||||
@AllArgsConstructor @Getter @ToString
|
||||
@AllArgsConstructor @Getter
|
||||
public static class Players {
|
||||
/**
|
||||
* The online players on this server.
|
||||
@ -141,4 +141,40 @@ public class MinecraftServer {
|
||||
@NonNull private final String name;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mod data for a server.
|
||||
*/
|
||||
@AllArgsConstructor @Getter
|
||||
public static final class Mod {
|
||||
|
||||
/**
|
||||
* The name of the mod.
|
||||
*/
|
||||
private final String name;
|
||||
|
||||
|
||||
/**
|
||||
* The version of the mod.
|
||||
*/
|
||||
private final String version;
|
||||
}
|
||||
|
||||
/**
|
||||
* Plugin data for a server.
|
||||
*/
|
||||
@AllArgsConstructor @Getter
|
||||
public static final class Plugin {
|
||||
|
||||
/**
|
||||
* The name of the plugin.
|
||||
*/
|
||||
private final String name;
|
||||
|
||||
|
||||
/**
|
||||
* The version of the plugin.
|
||||
*/
|
||||
private final String version;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user