|
JROB
|
 |
« on: April 08, 2008, 02:23:56 AM » |
|
Heres a list of server-side commands you can issue by either putting them in your "server.cfg" file thats executed at every server restart / map change or by issuing them through RCON.
Half-Life 1 Server Command List
rcon_password password - Replace password with the servers RCON password. changelevel map - Replace map with the map name you wish to change to. users - Lists all current users in game with their in-game ID / SteamID. kick name - Kicks the player you specify. kick number - Kicks the player you specify (uses the in-game ID, see users). banid time number - Ban a user with the time you specify (seconds). sv_password password - Password protects your Game Server with the password you specify. sv_restart time - Restarts the game with in the time you specify (max 10 seconds). sv_restartround time - Restarts the round with the time you specify (max 10 seconds). mp_friendlyfire 0/1 - Turns friendly fire on or off. mp_forcechasecam 0/1 - Forces chase cam on or off. mp_roundlimit number - Replace number with the amount of rounds before map change. mp_roundtime number - Replace number with the round time you want in minutes (3-15 allowed). mp_timelimit number - Replace number with the time before map change (0 is unlimited). say text - Sends a message from the server to every connected client. cm_say @@r/g/y - Sends a message to the center of the screen of every connected client. (r = red, g = green, y = yellow). quit - Restarts your Game Server. mp_startmoney amount - Changes the start money at the beginning of each round (800-16000). mp_logdetail 0/1/2/3 - Use this bitwise svar to control the depth of your logs. Be warned, these options can eat away hard drive space and CPU cycles. Use 0, the default, to log no attacks, 1 to log enemy attacks, 2 to log teammate attacks, and 3 to log both. mp_playerid 0/1/2 - This variable controls what players see when they put their crosshair over an enemy, a hostage, or a teammate. At 0 (the default), the player see's all popups with team colors. At 1, the player sees their teammates and hostages, with team colors. At 2, players see no popups. mp_fadetoblack 0/1 - When you die this will fade the screen to black to prevent ghosting (LAN, etc). mp_buytime time - Replace time with the time you want to allow people to buy new guns and equipment. ex: 1.25 would be one minute and fifteen seconds. mp_winlimit number - When a team reaches the specified number the team wins. 0 disables this. allow_spectators 0/1 - Allows you to allow spectators in-game or not. mp_autokick 0/1 - Kicks team-killers. mp_autoteambalance 0/1 - Toggles the forcing of clients to join teams to make it balanced. mp_c4timer time - Replace time with how long you want the C4 Timer to be (15-90 seconds). mp_flashlight 0/1 - Enables or disables the flashlight. mp_footsteps 0/1 - Enables or disables footsteps in-game. mp_freezetime time - This is the time before the round where you're stuck in spawn (0-6 minutes allowed for time). mp_hostagepenalty amount - Sets the amount of hostages a player is allowed to kill before being kicked. 0 disables this. mp_limitteams amount - Sets the maximum number of players that a team can have more than the other team. Use 0 to disable this. mp_logmessages 0/1 - Enables or disables the logging of chat messages in the log files. mp_mapvoteratio percent - Set the ratio of players required to vote on the same map before a map will change. 60% is the default (0.0 - 1.0 is allowed, or 0% to 100%). mp_kickpercent percent - The percent of people required to kick a player. Default is 66% (0.0 - 1.0 is allowed, or 0% to 100%). mp_tkpunish 0/1 - Forces a player to sit out a round if he's killed one of his own teammates.
Enjoy Administrating your Game Server! If you have any questions / additions please feel free to post them here.
|