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
Category: security (15)
mp_maxrconfailsCategories
Parameters
- max. fails (0-100): maximum fails (0=infinite fails allowed + reset fail-cache)
Info
High Security Relevance
This setting is important for the security of your server!
Use it carefully! Wrong settings may make your server vulnerable or limit its functionality or accessibility!
Limit for maximum rcon_password failures. Each failed attempt will be saved with IP address. CS2D ignores all rcon_password-attempts from this IP address as soon as the number exceeds the limit.
Set it to 0 to allow an infinite number of RCon login failures and to reset/delete the cache of failed logins.
Attention: It is highly recommended to use this setting with a low value higher than 0 in order to prevent RCon password bruteforcing. The default value is 5. You shouldn't set it higher unless it's really necessary.
Lua Hooks
Lua Commands
Categories
Parameters
- max. fails (0-100): maximum fails (0=infinite fails allowed + reset fail-cache)
Info
High Security Relevance
This setting is important for the security of your server!
Use it carefully! Wrong settings may make your server vulnerable or limit its functionality or accessibility!
This setting is important for the security of your server!
Use it carefully! Wrong settings may make your server vulnerable or limit its functionality or accessibility!
Limit for maximum rcon_password failures. Each failed attempt will be saved with IP address. CS2D ignores all rcon_password-attempts from this IP address as soon as the number exceeds the limit.
Set it to 0 to allow an infinite number of RCon login failures and to reset/delete the cache of failed logins.
Attention: It is highly recommended to use this setting with a low value higher than 0 in order to prevent RCon password bruteforcing. The default value is 5. You shouldn't set it higher unless it's really necessary.