Package net.apartium.cocoabeans.spigot
Class ServerUtils
java.lang.Object
net.apartium.cocoabeans.spigot.ServerUtils
Utils to work with the running minecraft server
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull net.apartium.cocoabeans.structs.MinecraftVersionGet game version of the running server For example GameVersion(1, 8, 0)
-
Field Details
-
VERSION_PATTERN
- See Also:
-
-
Constructor Details
-
ServerUtils
public ServerUtils()
-
-
Method Details
-
getVersion
@NotNull public static @NotNull net.apartium.cocoabeans.structs.MinecraftVersion getVersion()Get game version of the running server For example GameVersion(1, 8, 0)- Returns:
- game version, if not explicitly specified defaults to 0
- See Also:
-
MinecraftVersion
-