-
Notifications
You must be signed in to change notification settings - Fork 6
Game
Gregor Steiner edited this page May 6, 2014
·
1 revision
- Return value: Boolean focus
- Returns if the game is in focus
- Return value: String IP
- Get the ip:port of the current connected server
- Return value: Number slots
- Get the number of available player slots
- Return value: Table info
- Return a table of information for every player on the server
ConCommand(String command)
- Return value: String output
- Run a command as if it were ran through the server console
- Return value: Number height
- Get the maximum height a player can build
- Return value: Boolean animals
- Get if the server can spawn animals
- Return value: Boolean npcs
- Get if the server can spawn NPCs
- Return value: Boolean flight
- Get if the server allows players to fly
- Return value: String hostname
- Get the hostname of the server
- Return value: String motd
- Get the current MOTD of the server
- Return value: Boolean online
- Get if the server is in online mode
- Return value: Boolean pvp
- Get if PVP is enabled on the server
- Return value: Number distance
- Get the viewdistance of the server
- Return value: Number slots
- Get the number of available player slots
SetBuildHeight(Number height)
- Return value: nil
- Set the maximum height a player can build
SetCanSpawnAnimals(Boolean animals)
- Return value: nil
- Set if the server can spawn animals
SetCanSpawnNPCs(Boolean npcs)
- Return value: nil
- Set if the server can spawn npcs
SetFlightEnabled(Boolean flight)
- Return value: nil
- Set if the server allows players to fly
SetHostName(String hostname)
- Return value: nil
- Set the hostname of the server
SetMOTD(Boolean pvp)
- Return value: nil
- Set if PVP is enabled on the server
SetMOTD(String motd)
- Return value: nil
- Set the current MOTD of the server
SetOnlineMode(Boolean online)
- Return value: nil
- Set if the server is in online mode