Skip to content

MultiPlayerData

Represents the multiplayer server.(can be accessed from ModAPI.server.(method) and needs to be required using ModAPI.require("server"))

methods:

  • getCurrentQuery(): String
  • getServerIP(): String
  • getServerMOTD(): String
  • getServerName(): String
  • getGameVersion(): String
  • getPlayerListToString(): String
  • getPingSentTime(): Integer
  • getPingToServer(): Integer