-
Notifications
You must be signed in to change notification settings - Fork 130
Commands
Commands can be used in chat by prefixing them with a !
or /
or can be used in the developer console by prefixing them with c_
(ie. !noclip
, /noclip
, c_noclip
)
Parameters in <>
are required, while parameters in []
are optional.
Admin Flags can be given to players through addons/cs2fixes/configs/admins.cfg
, and commands with the LEADER
flag can be used by any currently active leader.
Command | Parameters | Required Admin Flag | Description |
---|---|---|---|
adminve |
ADMFLAG_CHANGEMAP |
Start a vote extend immediately. | |
ban |
<name> <minutes> |
ADMFLAG_BAN |
Ban a player |
beacon |
[name] [color] |
ADMFLAG_GENERIC , LEADER
|
Toggle beacon on a player |
beacons |
List all active player beacons | ||
bring |
<name> |
ADMFLAG_SLAY |
Bring a player |
bw |
ADMFLAG_GENERIC |
Toggle button watch display | |
cancelvote |
ADMFLAG_CHANGEMAP |
Cancels the ongoing vote. | |
cs2f_fullupdate |
FCVAR_LINKED_CONCOMMAND , FCVAR_SPONLY
|
Force a full update for all clients | |
defend |
[name/duration] [duration] |
ADMFLAG_GENERIC , LEADER
|
Place a defend marker on the target player |
disablepings |
<name> |
ADMFLAG_GENERIC , LEADER
|
Disable non-leaders pings |
disablertv |
ADMFLAG_CHANGEMAP |
Disable the ability for players to vote to end current map sooner | |
eban |
<name> |
ADMFLAG_BAN |
Ban a player from picking up items |
enablepings |
<name> |
ADMFLAG_GENERIC , LEADER
|
Enable non-leaders pings |
enablertv |
ADMFLAG_CHANGEMAP |
Restore the ability for players to vote to end current map sooner | |
endround |
ADMFLAG_RCON |
Immediately ends the round, client-side variant of endround | |
entfire |
<name> <input> [parameter] |
ADMFLAG_RCON |
Fire outputs at entities |
entfirecontroller |
<name> <input> [parameter] |
ADMFLAG_RCON |
Fire outputs at player controllers |
entfirepawn |
<name> <input> [parameter] |
ADMFLAG_RCON |
Fire outputs at player pawns |
etag |
Toggle EntWatch clantags on the scoreboard | ||
etransfer |
<owner/$itemname> <receiver> |
ADMFLAG_GENERIC |
Transfer an EntWatch item |
eunban |
<name> |
ADMFLAG_BAN |
Unban a player from picking up items |
ew_dump |
Prints the currently loaded config to console | ||
ew_reload |
ADMFLAG_CONFIG |
Reloads the current map's entwatch config | |
extend |
<minutes> |
ADMFLAG_CHANGEMAP |
Extend current map (negative value reduces map duration) |
extendsleft |
Display amount of extends left for the current map | ||
find |
<text> |
Search for specific commands and list them in console | |
gag |
<name> <minutes> |
ADMFLAG_CHAT |
Gag a player |
getpos |
Get your position and angles | ||
getpref |
<pref> |
ADMFLAG_ROOT |
Get a preference key for the player. |
glow |
[name] [color] |
ADMFLAG_GENERIC , LEADER
|
Toggle glow highlight on a player |
glows |
List all active player glows | ||
goto |
<name> |
ADMFLAG_SLAY |
Teleport to a player |
health |
<name> <health> |
ADMFLAG_CHEATS |
Set a player's health |
help |
Display list of commands in console | ||
hide |
<distance> |
Hide nearby players | |
hsay |
<message> |
ADMFLAG_CHAT |
Say something as a hud hint |
hud |
Toggle EntWatch HUD | ||
hudcolor |
<r> <g> <b> [a] |
Set color (and transparency) of the Entwatch hud | |
hudpos |
<x> <y> |
Sets the position of the EntWatch hud. | |
hudsize |
<size> |
Set font size of the EntWatch hud | |
infect |
<name> |
ADMFLAG_GENERIC |
Infect a player |
info |
<name> |
Get a player's information | |
kick |
<name> |
ADMFLAG_KICK |
Kick a player |
leader |
[name] [color] |
ADMFLAG_GENERIC , LEADER
|
Force leader status on a player |
leadercolor |
[color] |
List leader colors in chat or change your leader color | |
leaderhelp |
List leader commands in chat | ||
leaders |
List all current leaders | ||
listdc |
ADMFLAG_GENERIC |
List recently disconnected players and their Steam64 IDs | |
map |
<name/workshop id> |
ADMFLAG_CHANGEMAP |
Change map |
mapcooldowns |
List the maps currently in cooldown | ||
maplist |
List the maps in the server | ||
money |
<name> <amount> |
ADMFLAG_CHEATS |
Set a player's amount of money |
mute |
<name> <minutes> |
ADMFLAG_CHAT |
Mute a player |
nextmap |
Check the next map if it was forced | ||
noclip |
[name] |
ADMFLAG_CHEATS |
Toggle noclip on a player |
nominate |
[mapname] |
Nominate a map (empty to clear nomination or list all maps) | |
nomlist |
List the list of nominations | ||
noshake |
Toggle noshake | ||
pm |
<name> <message> |
ADMFLAG_GENERIC |
Private message a player. This will also show to all online admins |
pullprefs |
ADMFLAG_ROOT |
Pull preferences. | |
pushprefs |
ADMFLAG_ROOT |
Push preferences. | |
rcon |
<command> |
ADMFLAG_RCON |
Send a command to server console |
reload_admins |
FCVAR_SPONLY , FCVAR_LINKED_CONCOMMAND
|
Reload admin config | |
reload_discord_bots |
ADMFLAG_ROOT |
Reload discord bot config | |
reload_infractions |
FCVAR_SPONLY , FCVAR_LINKED_CONCOMMAND
|
Reload infractions file | |
reload_map_list |
ADMFLAG_ROOT |
Reload map list, also reloads current map on completion | |
removeleader |
[name] |
ADMFLAG_GENERIC |
Remove leader status from a player |
resign |
[name] |
Remove leader status from yourself | |
revive |
<name> |
ADMFLAG_GENERIC |
Revive a player |
revote |
Change your vote in the ongoing vote. | ||
rtv |
Vote to end the current map sooner | ||
setnextmap |
[name/workshop id] |
ADMFLAG_CHANGEMAP |
Force next map (empty to clear forced next map) |
setpos |
<x> <y> <z> |
ADMFLAG_CHEATS |
Set your origin |
setpref |
<pref> <value> |
ADMFLAG_ROOT |
Set a preference key for the player. |
setteam |
<name> <team (0-3)> |
ADMFLAG_SLAY |
Set a player's team |
showteam |
<name> |
Get a player's current team | |
slap |
<name> [damage] |
ADMFLAG_SLAY |
Slap a player |
slay |
<name> |
ADMFLAG_SLAY |
Slay a player |
spec |
[name] |
Spectate another player or join spectators | |
status |
[name] |
Checks a player's active punishments. Non-admins may only check their own punishments | |
stopsound |
Toggle weapon sounds | ||
timeleft |
Display time left to end of current map | ||
toggledecals |
Toggle world decals, if you're into having 10 fps in ZE | ||
tracer |
[name] [color] |
ADMFLAG_GENERIC , LEADER
|
Toggle projectile tracers on a player |
tracers |
List all active player tracers | ||
unban |
<steamid64> |
ADMFLAG_BAN |
Unban a player. Takes decimal STEAMID64 |
ungag |
<name> |
ADMFLAG_CHAT |
Ungag a player |
unmute |
<name> |
ADMFLAG_CHAT |
Unmute a player |
unrtv |
Remove your vote to end the current map sooner | ||
unve |
Remove your vote to extend current map | ||
ve |
Vote to extend current map | ||
vl |
<name> |
Vote for a player to become a leader | |
who |
ADMFLAG_GENERIC |
List the flags of all online players | |
zclass |
<teamname/class name/number> |
Find and select your Z:R classes | |
ztele |
Teleport to spawn |
Prefixing a name parameter with certain characters changes how the targeting for commands works.
Prefix: @
Inverted Prefix: @!
(targets everyone outside of the group)
The following groups are supported:
@me
, @all
, @t
, @ct
, @spec
, @random
, @randomt
, @randomct
, @randomspec
, @dead
, @alive
, @aim
, @bot
, @human
Example: !slap @me
, !slay @!me
, c_kick "@all"
Prefix: $
Example: !slay $76561198041538434
, c_slap "$76561198106955421"
Prefix: &
Example: !mute &Vauff
, c_slay "&Multi Word Name"
Prefix: #
UserIDs can be found through multiple methods, including using the info
command targeting a group of players (ie. c_info @all
)
Example: !mute #1234
, c_slay "#1267"