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_usgnonlyCategories
Parameters
- usgn only (0/1): only allow U.S.G.N. users?
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!
Select if you want to allow U.S.G.N. users only. People which are not logged in will not be able to join your server if this setting is enabled.
Note: People without U.S.G.N. login will not be able to join your server if you enable this setting!
Note: It is recommended to enable this setting if you have problems with cheaters and hackers! Use it in conjunction with banusgn!
Attention: Enabling this setting will automatically enforce immediate on join U.S.G.N. account verification which may slow down (or in bad cases even break) the connection process (see sv_checkusgnlogin)
Attention: Never enable this setting if you are playing in a LAN! The U.S.G.N. account system does not work properly in LANs because it needs a working internet connection and internet IP addresses to verify the accounts.
Lua Hooks
Lua Commands
Categories
Parameters
- usgn only (0/1): only allow U.S.G.N. users?
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!
Select if you want to allow U.S.G.N. users only. People which are not logged in will not be able to join your server if this setting is enabled.
Note: People without U.S.G.N. login will not be able to join your server if you enable this setting!
Note: It is recommended to enable this setting if you have problems with cheaters and hackers! Use it in conjunction with banusgn!
Attention: Enabling this setting will automatically enforce immediate on join U.S.G.N. account verification which may slow down (or in bad cases even break) the connection process (see sv_checkusgnlogin)
Attention: Never enable this setting if you are playing in a LAN! The U.S.G.N. account system does not work properly in LANs because it needs a working internet connection and internet IP addresses to verify the accounts.