Blocked ConCommands

From Garry's Mod
Jump to: navigation, search

This is a list of all concommands and convars blacklisted from being ran or changed with RunConsoleCommand and Player:ConCommand. Clients can still run the commands normally from console. These have been disabled for a variety of reasons, usually to prevent harm or annoyance to players, such as unbinding all their keys using 'unbindall'.

When you attempt to run one of these commands, this error will be thrown in console: "RunConsoleCommand: Command is blocked!"

NOTE

This list was ripped from server.dylib and thus may not be comprehensive.

Name Reason
sensitivity Could change the client's mouse sensitivity without their knowledge.
mat_setvideomode
hud_fastswitch
cl_downloadfilter
lookspring
lookstrafe
m_customaccel_exponent
m_mousespeed
m_mouseaccel1
m_mouseaccel2
m_customaccel
cl_software_cursor
snd_mixahead
snd_pitchquality
cl_allowdownload
cl_allowupload
cl_logofile
mat_color_projection
exec Could allow the client to execute malicious scripts
bind Could be used to rebind keys without the client's consent
bindtoggle Could be used to rebind keys without the client's consent
unbind Could stop the client from being able to press anything
unbindall Could stop the client from being able to press anything
alias Could alias commands without the client's consent
ent_fire Could let clients manipulate entities more than expected
ent_setname
m_yaw
m_customaccel_scale
m_forward
m_side
suitvolume
snd_ducktovolume
voice_scale
r_aspect
quit Could exit the client's game entirely
quti Now-removed command that in the past could exit the client's game entirely
exit Could exit the client's game entirely
lua_open
lua_cookieclear
lua_showerrors_cl
lua_showerrors_sv
lua_openscript_cl Could allow the client to open malicious scripts
lua_redownload
gamemode_reload
mp_flashlight Could be used to enable or disable the flashlight for an entire server
gamemode_reload_cl
clear Could clear the console without the client's consent
crosshair Could enable or disable the crosshair without the client's consent
echo Could be used to print fake console messages
cl_chatfilters
con_enable Could enable or disable the console
hideconsole Could hide the console when the client didn't request to
test_randomchance
test_startscript
toggle Could toggle convars without the client requesting to
gameui_hide Could hide the game UI when the client didn't request to
gameui_preventescapetoshow Could stop the client from opening the game UI
host_writeconfig Could save the current config settings to the registry (which could cause changes to be saved without the client wanting them)
mat_savechanges Could save the current video config to the registry (which could cause changes to be saved without the client wanting them)
mat_texture_limit Could limit the amount of texture memory available
mat_viewportscale Could scale down a client's viewport
mat_viewportupscale Could scale up a client's viewport
mat_crosshair_explorer Could be used to open Explorer without the client wanting to, which could exit out of the game
toggleconsole Could stop the client from opening the console or open it when they didn't want to
plugin_load
sv_logsdir
log Could enable or disable logging without the client's consent
incrementvar Could change convar values (by increment them)
multvar Could change convar values (by multiplying them)
askconnect_accept Could accept a redirect request without the client wanting to be redirected
cl_mouseenable Could enable or disable the mouse without the client wanting to
lightprobe Could be used to save two files without the client knowing (a cubemap file and a file indicating the local lighting)
buildcubemaps Could rebuild the cubemaps on a server, which can cause errors
gameui_show_dialog
voice_enable Could enable or disable voice chat without the client wanting to
voice_avggain Could modify voice chat settings without the client wanting to
voice_fadeouttime Could modify voice chat settings without the client wanting to
voice_forcemicrecord Could modify voice chat settings without the client wanting to
voice_inputfromfile Could modify voice chat settings without the client wanting to
voice_loopback Could modify voice chat settings without the client wanting to
voice_maxgain Could modify voice chat settings without the client wanting to
voice_modenable Could modify voice chat settings without the client wanting to
snd_gain Could change the sound gain without the client's consent
snd_gain_max Could change the maximum sound gain without the client's consent
snd_gain_min Could change the minimum sound gain without the client's consent
menu_reload Could force a reload of the Lua base menu (which causes the game to crash with a Lua panic error in my test)
debug_dump
voice_overdrive
volume
_restart Causes the client to crash
Personal tools
Navigation