Description
This plugin can check players' convars, to prevent players' use bad convar like "voice_inputfromfile".
Install
Upload all files to your server.
Edit "addons/sourcemod/configs/kento_ccc.cfg".
Code:
"net_graph" //Cvar name
{
"immunity" "a" // What admin flag have immunity? empty = disabled
"mode" "0" // 0 = not allow value, 1 = only allow value
"value" "1" // Value
"punishment" "1" // 1 = kick, 2 = ban
"bantime" "0" // If punishment is ban, how long should a player be banned? (0 = Permanent Ban)
}
Admin Commands
Spoiler
PHP Code:
sm_ccc_reload //Reload settings. (Need ADMFLAG_ROOT.) sm_ccc_test //Print your convar settings in console. (Need ADMFLAG_ROOT)
Cvars
Spoiler
PHP Code:
sm_ccc_timer "1.0" //Check cvar timer sm_ccc_warn "3" //Warn player x times before punishment?
Changelog
Spoiler
1.0
Released.
1.1
Added logging to "kento_ccc.log".
1.2
Added a system to warn both client and admin before punishment.
New cvar "sm_ccc_warn".
Removed "warn admin" from punishment in "kento_ccc.cfg", now punishment setting is start from 1.