Author
|
|
Good Little Panda
|
Plugin ID:
|
3845
|
Plugin Version:
|
1.0.3
|
Plugin Category:
|
General Purpose
|
Plugin Game:
|
Any
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
A map configuration plugin and convar enforcement system.
|
|
|
08-20-2013
, 16:58
KvConfigs
|
#1
|
Description:- Provides two optional systems that can be used separately or together - another map configuration plugin and a ConVar enforcement system.
- Should work for just about every mod.
Map Configuration:- Map entries are defined within a single file: /sourcemod/configs/kvconfigs.maps.ini
- No partial/prefix support at this time. Map names must be precise.
- Unlimited cvar/cmd entries per map, however, only one convar/cmd should be used per each entry.
- The configuration file is only parsed on first load; use the command kv_reloadmaps to update after making changes or within server.cfg for per-map updating.
ConVar Enforcement:- CVar entries are defined within a single file: /sourcemod/configs/kvconfigs.cvars.ini
- Any Cvar defined within the file will be unable to have it's value changed through any external source. This includes silly admins with sm_cvar, CS:GO game modes, plugin configuration files, etc.
- Capable of enforcing strings/floats/integers (and bools if you don't mind 0/1 vs false/true).
- The configuration file is only parsed on first load; use the command kv_reloadcvars to update after making changes or within server.cfg for per-map updating.
- The kv_setprotected <convar> <value> command allows modification of any cvar currently being enforced, but will not modify the original configuration file and changes will be lost on kv_reloadcvars.
- The kv_remprotected <convar> command will stop any cvar from being enforced.
Important (Edit):- Only after posting this plugin did I consider how it could be used for nefarious purposes...
- I'll provide a version with a cvar blacklist sometime this week when time permits to write such, so admins won't be forcing sv_password / rcon_password.
- Until then, if you want to use it, you may want to change ADMFLAG_RCON to ADMFLAG_ROOT within the code and ensure bad admins don't have 'z' access. That should prevent anyone from doing something derpy like kv_setprotected rcon_password myrconnowbitch.
__________________
Last edited by thetwistedpanda; 08-20-2013 at 17:35.
Reason: Derp! Mis-information
|
|
|
|