new feature: g_maxplayers (set to 0 to disable)
authorgreenmarine <greenmarine@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sun, 18 May 2008 09:43:40 +0000 (09:43 +0000)
committergreenmarine <greenmarine@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sun, 18 May 2008 09:43:40 +0000 (09:43 +0000)
commitbe1abb0f9220178ce9d5f1b8de02df8155072ea0
tree6ed90b9ae90247d5f4f2f92928f02598c9571772
parent5e19b9647c53af0befb041cdb76d43cef73b05d5
new feature: g_maxplayers (set to 0 to disable)
allows to define the number of players allowed to join the game. Has to be smaller or equal to "maxplayers".
New server-side command "nospectators" which players can vote for. Will kick all spectators after a defined number of seconds, unless these spectators manage to join the game in time.

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3631 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
data/default.cfg
data/qcsrc/server/cl_client.qc
data/qcsrc/server/clientcommands.qc
data/qcsrc/server/defs.qh
data/qcsrc/server/gamecommand.qc