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
mp_localrconoutputCategories
Parameters
- output (0/1): Display output of remotely executed commands?
Info
You always see all console output of commands executed remotely (RCon) in the console/logs of your server when this setting is enabled (1, default).
Disable it (0) if you don't want to see this output on your server. Of course the client which performs the commands will receive all output anyway.
Attention: Disabling the local RCon output can be a security risk because it is hard to trace any remote control of your server without it!
Lua Hooks
Lua Commands
Categories
Parameters
- output (0/1): Display output of remotely executed commands?
Info
You always see all console output of commands executed remotely (RCon) in the console/logs of your server when this setting is enabled (1, default).
Disable it (0) if you don't want to see this output on your server. Of course the client which performs the commands will receive all output anyway.
Disable it (0) if you don't want to see this output on your server. Of course the client which performs the commands will receive all output anyway.
Attention: Disabling the local RCon output can be a security risk because it is hard to trace any remote control of your server without it!