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
rcon_pwCategories
Parameters
- password (text): server rcon password
Info
Specifies the RCON (remote control) password of the server you are currently connected to in order to unlock remote control options (e.g.: rcon command).
After using this command you will see a console output which tells you if the password was right.
Note: Same as rcon_password!
Note: This command only has to be used ONE TIME after joining a server in order to log-in.
Note: Specifying the correct RCON password will also unlock the kick and bans menu which is accessible via the in-game menu (ESC key).
Attention: Using a wrong password (one or multiple times, depending on mp_maxrconfails) can block further login attemps
Lua Hooks
Lua Commands
Categories
Parameters
- password (text): server rcon password
Info
Specifies the RCON (remote control) password of the server you are currently connected to in order to unlock remote control options (e.g.: rcon command).
After using this command you will see a console output which tells you if the password was right.
After using this command you will see a console output which tells you if the password was right.
Note: Same as rcon_password!
Note: This command only has to be used ONE TIME after joining a server in order to log-in.
Note: Specifying the correct RCON password will also unlock the kick and bans menu which is accessible via the in-game menu (ESC key).
Attention: Using a wrong password (one or multiple times, depending on mp_maxrconfails) can block further login attemps