Commands/Lua
Reference for console commands, Lua hooks and Lua commands in CS2D.
- Console Commands are entered in console, executed with key-binds, cfg-files or with Lua parse
- Lua Hooks execute Lua when events occur - some have a return value which can change the game behavior
- Lua Commands are used to retrieve game data or to perform actions in Lua scripts
CS2D Console Commands
sv_maxplayersCategories
Parameters
- players (1-32): player limit
Info
Set the maximum of players allowed on your server. CS2D does not allow more than 32 players.
Don't set this limit too high. Servers with many players need a very good internet connection and they cause a lot of traffic!
Recommended limits:
Modem: 2
ISDN: 4
(A)DSL: 6-8
(V)DSL: 8-16
LAN (fast ethernet): 32
Lua Hooks
Lua Commands
Categories
Parameters
- players (1-32): player limit
Info
Set the maximum of players allowed on your server. CS2D does not allow more than 32 players.
Don't set this limit too high. Servers with many players need a very good internet connection and they cause a lot of traffic!
Recommended limits:
Modem: 2
ISDN: 4
(A)DSL: 6-8
(V)DSL: 8-16
LAN (fast ethernet): 32
Don't set this limit too high. Servers with many players need a very good internet connection and they cause a lot of traffic!
Recommended limits:
Modem: 2
ISDN: 4
(A)DSL: 6-8
(V)DSL: 8-16
LAN (fast ethernet): 32