This script enables your admins to run RCON commands, without giving them RCON!
The premise is that you can allow or disallow certain commands.
Using Safe Rcon is easy, simply say "<commandprefix><command>". (see setup for more info)
For example, if I was using the default prefix "/", and I wanted to change the gravity to 800, then I would say
Configuration is done in ./addons/eventscripts/srcon/settings.cfg (which is generated after the first load).
First, you'll need to decide whether you'd like to list what commands you'll allow, or what commands you'll block. This is set via the srcon_blockorallow variable. Set it to "block" or "allow". (default allow)
Second, you'll need to make a list of the commands you wish to block/allow, seperated by a ";". This is done via the variable srcon_commands. By default, the command list is as follows
Finally, you'll need to tell safe rcon who your admins are! This can be done via an auth service, by giving your admin access to "safe_rcon", but if you are not using an auth service, you can add admins through the config. Next to srcon_admins, simple list your admins steamids, seperated by a ";".
There is also a few optional extras you may like to tweak.
srcon_prefix allows you to change what you must say before each command. For example, if srcon_prefix was set to "!", I would say "!sv_gravity 800", not "/sv_gravity 800".
srcon_allowall allows for access to all commands, but restricts a few command types (see srcon_blockedprefixs for more info)
srcon_blockedprefixs allows you to block certain command types, or prefixes. By default it will block people from using the following commands via safe rcon
[*]ma_* (Mani Commands)
[*]sm_* (SourceMod Commands)
[*]xa* (xa commands)
[*]rcon (rcon cvars [rcon_password, etc])
[*]alias (as to avoid bypassing the filters)
[*]srcon* (as to avoid the settings of this addon being changed)
Should work for all source games.
[b]Enjoy and +w00t :D[/b]