Counter-Strike 2DGet it now!

Code Command Reference

You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!

Commands


Category: settings (148)

ah
autoscreen
autoswitch
bot_count
bot_jointeam
bot_prefix
bot_skill
bot_weapons
bullets
changelevel
changemap
clientport
connection
deathnoticeimg
debug
debugai
debuglog
debuglua
dmgindicator
drawradar
fowalpha
fowdetails
gore
grenademode
hud_fastswitch
hud_takesshots
itemshadows
lefthand
localport
map
mapshadows
mapsounds
markplayer
mp_antispeeder
mp_autogamemode
mp_autoteambalance
mp_building_health
mp_building_limit
mp_building_price
mp_buymenu
mp_buytime
mp_c4timer
mp_curtailedexplosions
mp_damagefactor
mp_deathdrop
mp_dispenser_health
mp_dispenser_money
mp_dmspawnmoney
mp_dropgrenades
mp_flashlight
mp_floodprot
mp_freezetime
mp_grenaderebuy
mp_hostagepenalty
mp_hud
mp_idleaction
mp_idlekick
mp_idletime
mp_infammo
mp_kevlar
mp_kickpercent
mp_killbuildingmoney
mp_killbuildings
mp_killinfo
mp_killteambuildings
mp_lagcompensation
mp_localrconoutput
mp_luamap
mp_luaserver
mp_mapgoalscore
mp_mapvoteratio
mp_maxclientsip
mp_maxrconfails
mp_natholepunching
mp_pinglimit
mp_postspawn
mp_radar
mp_randomspawn
mp_reservations
mp_respawndelay
mp_roundlimit
mp_roundtime
mp_shotweakening
mp_smokeblock
mp_startmoney
mp_supply_items
mp_teamkillpenalty
mp_teleportreload
mp_tempbantime
mp_timelimit
mp_tkpunish
mp_trace
mp_turretdamage
mp_unbuildable
mp_unbuyable
mp_vulnerablehostages
mp_weaponfadeout
mp_winlimit
mp_wpndmg
mp_wpndmg_z1
mp_wpndmg_z2
mp_zombiedmg
mp_zombiekillequip
mp_zombiekillscore
mp_zombierecover
mp_zombiespeedmod
name
nick
particles
playershadows
recoil
relativemovement
shadows
shadowshade_obstacle
shadowshade_wall
shadowz_obstacles
shadowz_wall
shadow_angle
shadow_frameskipping
sounddriver
soundmode
spraycolor
spraylogo
sv_checkusgnlogin
sv_fow
sv_friendlyfire
sv_gamemode
sv_gm
sv_hostport
sv_lan
sv_map
sv_maptransfer
sv_maxplayers
sv_name
sv_password
sv_rcon
sv_rconusers
sv_specmode
sv_spraytransfer
sv_usgnonly
tileanimations
transfer_speed
usgn_pw
usgn_user
visibleshots
volume
wiggle
win

sv_checkusgnlogin

Categories

settings, server

Parameters

  • check (0/1): Always check U.S.G.N. login ID?

Info

High Security Relevance
This setting is important for the security of your server!
Use it carefully! Wrong settings may make your server vulnerable!

Control if you want the U.S.G.N. masterserver to check U.S.G.N. login IDs before a player joins (1, default) or not (0).

Note: This setting does not matter if sv_usgnonly is set to 1. In this case a check will always be performed before a player joins.
Attention: IF DISABLED: Disabling this check can be a security risk. The check will be performed nevertheless (delayed), but the player can be on the server with a wrong U.S.G.N. ID for several seconds (depending on how fast the masterserver is able to check the login). This can be used to hijack servers if there are Lua scripts which only rely on the U.S.G.N. ID to give special permissions.
Attention: IF ENABLED: Enabling this check (default) can slow down the join process because each player with U.S.G.N. login must be checked by the U.S.G.N. masterserver before they can join the game.
Consider to disable this setting if you are not using Lua scripts or server settings which rely on the correctness of U.S.G.N. IDs.
Also some players reported that they are sometimes stuck in the U.S.G.N. account verification screen - those players should restart the game and try again later.

Lua Lua Reference

Lua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.