HL1 : Rcon Guide


The base administration for a HL1 engine server can be done using rcon, or remote console.

To login as an admin simply type:

rcon_password <mypassword>

After you are logged in, you can execute multiple commands. Here is a listing of the most popular and useful commands used with rcon:

rcon say <stuff> - Sends an "admin" say message to all the players
example: rcon say "stop camping the hostages"

rcon hostname <newhostname> - change the name of your server
example: rcon hostname "my awesome server"

rcon changelevel <mapname> - change level
example: rcon changelevel de_dust

rcon kick <player> - kicks a player off the server without a ban
example: rcon kick "hacker"

rcon banid <minutes> <id> - ban a user by specifying his wonid. use 0 for minutes if you wish to make a permanent ban. To find out a player's id, type status or rcon users in the console.

rcon stat - find out players' ip information which you can use to ban by ip.

rcon banid <minutes> <id> kick - bans the user and also kicks him at the same time.

rcon addip <minutes> <ipaddress> then rcon writeip - bans a particular ip for specified minutes. Use 0 for minutes if you wish to make a permanent ban.

rcon listip - list bans by ip
rcon listid - list bans by id
rcon removeid <id> then rcon writeid remove ban for specified id
rcon removeip <id> then rcon writeip remove ban for specified ip

rcon mp_friendlyfire 1 enable friendly fire
rcon mp_friendlyfire 0 disable friendly fire
rcon mp_timelimit <minutes> change round length
rcon sv_password <password> put or change a private server password on your server.
rcon sv_gravity <gravity> change gravity on your server

This command list has the most frequently used list of commands. If you wish to get more available commands/variables you can change, please visit:

http://server.counter-strike.net/server ... d=commands
http://server.counter-strike.net/server.php?cmd=cmdall
http://server.counter-strike.net/server.php?cmd=cmdcs
http://server.counter-strike.net/server.php?cmd=cmdam