Addon Details

Watch - Add Favorite

Safe Rcon (Python) ScreenShot

Does this version work for you?

Safe Rcon (Python) - Version 2.0.1

posted on 2008-04-21 20:11:13
by DanielB


This script enables your admins to run RCON commands, without giving them RCON! The premise is that you can allow or disallow certain commands. [b]Usage[/b] 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 /sv_gravity 800 [b]Configuration[/b] 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 [color="blue"] sv_gravity;mp_restartgame;sv_alltalk;mp_footsteps;mp_flashlight;sv_airaccelerate;sv_maxspeed;mp_freezetime;exec;es_load;es_unload [/color] 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 [list] [*]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]


extract contents to into cstrike/ add "es_load srcon" to cfg/autoexec.cfg

Version Notes For 2.0.1

Updated on: 2009-08-29 05:51:59 EST by DanielB (View Zip Contents)
Added srcon* variables as blocked

( Previous Versions )