e2 docs serverinfo - wiremod/wire GitHub Wiki
Serverinfo
= map()
Returns the current map name (1 ops)
= hostname()
Returns the Name of the server (1 ops)
= hostip()
Returns the IP of the server (1 ops)
= isLan()
Returns 1 if lan mode is enabled (1 ops)
= gamemode()
Returns the name of the current gamemode (1 ops)
= serverUUID()
(1 ops)
= isSinglePlayer()
Returns 1 if singleplayer, 0 if multiplayer (1 ops)
= isDedicated()
Returns 1 if server is dedicated, 0 if listen (1 ops)
= numPlayers()
Returns the number of players currently in the server (1 ops)
= maxPlayers()
Returns the max number of players allowed in the server (1 ops)
= gravity()
Returns gravity (1 ops)
= propGravity()
(1 ops)
= airDensity()
Returns air density (affects how drag slows down props) (1 ops)
= maxFrictionMass()
Returns how much friction influences props throughout the server (1 ops)
= minFrictionMass()
Returns how much friction influences props throughout the server (1 ops)
= speedLimit()
Returns the speed limit (1 ops)
= angSpeedLimit()
Returns the angular speed limit (1 ops)
= tickInterval()
Returns the time (in seconds) between each server tick (1 ops)