Class ServerUtils

java.lang.Object
net.apartium.cocoabeans.spigot.ServerUtils

public class ServerUtils extends Object
Utils to work with the running minecraft server
  • Field Details

  • 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