Safe RCon usage

When u have a rcon password in ur autoexec or any other cfg file and you should hit a rcon command binded key like the Pause function in another server the serverlog will save your rcon password and everyone with acces to that log can read and copy that rcon password .

To avoid this from happening you can use this method .

 

Make a cfg file named:
safe_rcon.cfg

 

Copy this into it :
zero rcon_password
sp_sc_flow_if T val #_sp_cl_info_server == val "94.23.144.236:28910"
"set rcon_password openhouse"

[edit the correct ip and password]

 

Then add this to autoexec :
set _sp_cl_on_connect "sp_sc_exec_file safe_rcon.cfg"

 

If u should have rcon passwords from different servers u just add another line to
safe_rcon.cfg with the correct IP and password :

sp_sc_flow_if T val #_sp_cl_info_server == val "94.23.144.236:28910"
"set rcon_password openhouse"

 

 

Now when u enter server 94.23.144.236:28910 your rcon password will be automaticly set as “openhouse”
In any other server u will show zero password when u accidently hit a rcon command binded key .