Outils pour utilisateurs

Outils du site


en:suckerserv:variables

Variables

Game Control Variables

Name and Parameters Description
allow_quad = 0 or 1 Disable quad item for games modes that support quad
allow_healthboost = 0 or 1 Disable healthboost item for games modes that support quad
botlimit = between 0 and 32 Set the maximum number of bots
botbalance = 0 or 1 Choose whether bots are used to balance the teams.

Game State Variables

Name and Parameters Description
map
gamemode
timeleft Value in minutes.
gamemillis Milliseconds elapsed since the game started.
gamelimit Length of the game set in milliseconds. Warning: this value can change if the game time is changed with changetime().
playercount
speccount
botcount
next_mode Set next game mode (usually set from “setnextgame” event handler)
next_map Set next map name (usually set from “setnextgame” event handler)
reassignteams = 0 or 1 Reshuffle teams at the beginning of each game

Server State Variables

Name and Parameters Description
servername Name as seen in the description column in the client's server browser.
serverip Writable at initialization, read only when and after “started” event is dispatched.
serverport Writable at initialization, read only when and after “started” event is dispatched.
uptime Value in milliseconds
masterserver Hostname of the master server
updatemaster = 0 or 1 Useful for preventing server from being registered and appearing on the public server list
maxplayers
admin_password Password required for player to gain admin status
server_password Password required for player to gain entry to server
allow_mm_veto = 0 or 1 Permit master players to switch to veto mode
allow_mm_locked = 0 or 1 Permit master players to switch to locked mode
allow_mm_private = 0 or 1 Permit master players to switch to private mode
mastermode
en/suckerserv/variables.txt · Dernière modification : 2014/05/31 00:27 de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki