- Supported Games
- CS: Source (v34)
This plugin blocks console commands. It provides a configuration file to list all the commands to be blocked. You can also block sm and meta commands. You can specify admin flags to exclude admins from block list. By default, root admin can execute blocked commands.
Requirements :
Configure commands to be blocked in configuration file addons/sourcemod/configs/block_console_commands.txt.
CVARs :
Requirements :
- Sourcemod v1.10 or Higher
- ConsoleHook
- Host Manager
- Download the plugin zip file by clicking on download link on top right corner of this post.
- Extract the contents of zip file and put it into your server's cstrike folder.
- Configure the commands to block in config files and cvars.
- Restart the server or change the map.
Configure commands to be blocked in configuration file addons/sourcemod/configs/block_console_commands.txt.
C++:
// Specify each console command to block in a separate line
// Do not add // in front of any command
sm
meta
status
ping
kill
C++:
// Specify admin flags who can still use blocked commands. (Example: abd)
// Leave blank to block all players.
// -
// Default: "z"
sm_bcc_admin_flags "z"
// Enable/disable plugin. (0 = Disabled, 1 = Enabled).
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_bcc_enable "1"