• email Email to a friend
  • print Print version
  • Plain text Plain text
Rate this article
0
Newsletter
Email:
Poll: CPU
My CPU is Intel or AMD
Home | Gaming | Counter Strike Source

Counter Strike Source

Font size: Decrease font Enlarge font
Counter Strike Logo
 

Admin Commands: Rcon Commands, Mani Admin, and Server Cvars

 
Using the console to execute Rcon commands, change server variables (Cvars)
and use Mani’s Admin Plugin is an essential function of any server admin.

 
Tips for running a server that players will return to frequently:
  1. Be sure to warn players if they are breaking rules. A player that is punished but does not know what he/she did wrong is more likely to break a rule in the future.
  2. If a player is compliant and offers to stop breaking the rule hold off on punishment until a repeat offense is made.
  3. If a player is not compliant, issue an appropriate punishment and explain why you issued that punishment.
  4. For repeat offenders, multiple punishments or more harsh punishments may be necessary to stop the offenses.
  5. Players that continually break multiple rules should be kicked from the server. If they rejoin, ban them for a small period of time such as 5mins.
  6. Permanent bans should only be used for players known to continually break the rules, use cheats or hacks, or cause server damage.
  7. Stay cool! Although it may be tempting to simply ban a player that is really getting on your nerves, remember that if you ban everyone that breaks a rule, you will have nobody on your server.
Notes:
  1. Any string placed in brackets “< >” should not be placed in brackets when entered in the console.
  2. Rcon commands need rcon or ma_rcon placed before the commands.
  3. Mani Mod commands run from chat need @ before the command with no space between the @ and the command.
  4. Server and bot commands need to be run through rcon.
  5. The value shown in the example is the maximum value that can be entered unless otherwise noted.
  6. For times , a time of 0 results in either no limit or disabled depending on the variable, or a permanent ban in the case of ban time
  7. For on/off variables that use a number <1/0>, 1 indicates the parameter/option is enabled and 0 indicates it is disabled.
  8. For player names spaces cannot be used and partial names can be entered.
  9. The following wildcards can be used in place of player names: #all, #ct, #t, #dead, #bot.
Rcon Commands Game Parameters Command Example Description
Change level changelevel changelevel de_dust Changes the server map to the map entered
Restart game mp_restartgame mp_restartgame 10 Restarts the game in the number of seconds entered
Enable Friendly fire mp_friendlyfire <1/0> mp_friendlyfire 1 Enables or disables friendly fire (not available in ZM)
Limit rounds mp_roundlimit mp_roundlimit 10 Sets the number of rounds before the server changes map
Set round time mp_roundtime mp_roundtime 15 Sets the amount of time in minutes each round lasts
Limit map time mp_timelimit mp_timelimit 0 Sets the amount of time before the server changes map
Set starting money mp_startmoney mp_startmoney 16000 Sets the amount of money players start out with
Set buy time mp_buytime mp_buytime 3.0 Sets the time to buy guns in seconds (FP value)
Set bomb timer mp_c4timer mp_c4timer 90 Sets the time on the bomb timer in seconds
Set freeze time mp_freezetime mp_freezetime  15 Sets the time players are frozen to buy guns
Enable Flashlights mp_flashlight <1/0> mp_flashlight 1 Enables or disables the use of flashlights
Enable hostage-killer penalties mp_hostagepenalty mp_hostagepenalty 4 Autokicks players that kill the number of hostages specified
Enable team-killer penalties mp_tkpunish <1/0> mp_tkpunish 1 Enables the forcing of a team killer to sit out a round
Rcon Commands Player Management Command Example Description
List players status status Lists all the players including bots currently in game
Kick a player (name) kick kick Kicks a player with the specified name from the server
Kick a player (steam ID) kickid Reason kickid STEAM_0:0:00000000 You have been kicked for spawn killing Kicks a Steam ID with an optional reason
Ban a player (steam ID) banid banid 60 STEAM_0:0:00000000 Bans a Steam ID for a specified time in minutes
Send message from admin say Message say Hello world Send a message to all players from the server admin
Mani Mod Game Parameters Command Example Description
Change level ma_map ma_map de_dust Changes the server map to the map entered
List maps ma_maplist ma_maplist Lists all the maps the plug-in sees in the maplist.txt file
Balance teams ma_balance ma_balance Balances the teams according to mp_limitteams
Run Rcon command ma_rcon ma_rcon kickid Runs Rcon commands without the Rcon password
Show game type ma_game ma_game Shows the current game with a description
Restrict to knives only ma_knives ma_knives Restricts weapons so no guns can be purchased
Restrict to pistols only ma_pistols ma_pistols Restricts weapons so only pistols can be purchased
Restrict to shotguns only ma_shotguns ma_shotguns Restricts weapons so only shotguns can be purchased
Restrict snipers ma_nosnipers ma_nosnipers Restricts weapons so no snipers can be purchased
Restrict weapon ma_restrict ma_restrict awp 6 Restricts specified weapon to specified number per team
Unrestrict a weapon ma_unrestrict ma_unrestrict awp Unrestricts the specified weapon so it can be purchased
Unrestrict all weapons ma_unrestrictall ma_unrestrictall Unrestricts all weapons so all restrictions are lifted
Create a map vote ma_vote ma_vote end zm_roy_the_ship zm_roy_highway zm_roy_zombieranch_night Creates a map vote for players to vote on (also extend map)
Create a question vote ma_votequestion “” ma_votequestion “Change maps?” Yes No Creates a question vote for players to vote on
Create an rcon vote ma_votercon <”question”> ma_votequestion “Kick unnamed?” kick unnamed Creates an rcon vote for players to vote on
Enable war mode ma_war <1/0> ma_war 1 Enables or disables war mode (toggles if no value is supplied)
Mani Mod Player Management Command Example Description
List players ma_users ma_users Lists all the players currently in the game (doesn’t list bots)
List admins ma_admins ma_admins Lists all the admins and their restrictions currently in the game
Send message from admin ma_say Message ma_say Hello world Send a message to all players from admin to appear in chat
Send message from admin ma_csay Message ma_csay Hello world Send a message to all players to appear at the screen center
Send message from admin ma_msay Message ma_msay 0 #all Hello world Send a message to the specified player for the specified time
Send message from admin to player ma_psay Message ma_psay unnamed Hello Sends a message to the specified player to appear in chat
Send message to other admins ma_chat Message ma_chat Hello Sends a message to all admins to appear in chat
Show your current position ma_position ma_position Shows your current position on the map in x,y,z coordinates
Save your current position ma_saveloc ma_savloc Saves your current position for use with teleport
Kick a player ma_kick ma_kick STEAM_0:0:00000000 Kicks the specified name or Steam ID from the server
Ban a player ma_ban ma_ban STEAM_0:0:00000000 60 Bans the specified name or Steam ID from the server
Unban a player ma_unban “” ma_unban “STEAM_0:0:00000000" Unbans the specified Steam ID from the server
Slay a player ma_slay ma_slay unnamed Slays the specified player (not available in ZM)
Slap a player ma_slap ma_slap unnamed 99 Slaps the specified player with the specified damage
Blind a player ma_blind ma_blind unnamed 255 Blinds the specified player with an amount from 0 - 255
Freeze a player ma_freeze ma_freeze unnamed Freezes the specified player so they cannot move or shoot
Drug a player ma_drug <1/0> ma_drug unnamed 1 Drugs the specified player so their z axis changes every 1.5 sec
Teleport a player ma_teleport ma_teleport unnamed Teleports the specified player to the input coordinates
Burn a player ma_burn ma_burn unnamed Burns the specified player for 30 seconds (no way to unburn)
Turn a player into a time bomb ma_timebomb ma_timebomb unnamed Slays the specified player and nearby players after 10 sec
Turn a player into a fire bomb ma_firebomb ma_firebomb unnamed Burns the specified player and nearby players after 10 sec
Turn a player into a freeze bomb ma_freezebomb ma_freezebomb unnamed Freezes the specified player and nearby players after 10 sec
Turn a player into a beacon ma_beacon ma_beacon unnamed Turns the specified player into an audiovisual beacon
Put player in godmode ma_noclip ma_noclip unnamed Allows the specified player to fly and not take any damage
Give a player weapons ma_give weapon_ ma_give unnamed weapon_m4a1 Gives the specified player the specified weapon/equipment
Give a player cash ma_givecash ma_give unnamed 16000 Gives the specified player the specified amount of cash
Set a player’s health ma_sethealth ma_sethealth unnamed 999999 Sets the specified player’s health to the specified number
Set a player’s color ma_color ma_color unnamed 255 255 255 255 Sets the specified player’s color to the specified parameters
Mute a player’s chat ma_mute ma_mute unnamed Mutes the specified player so they can’t talk in chat
Mute/gimp a player ma_gimp ma_gimp STEAM_0:0:00000000 Mutes both chat and voice from the specified player
Run a client execute command ma_cexec “” ma_cexec unnamed “say hello world” Runs the command through the specified client’s console
Swap a player to the opposite team ma_swapteam ma_swapteam unnamed Swaps the specified player to the other team (not in ZM)
Swap a player to the spectators ma_spec ma_spec unnamed Swaps the specified player to the spectators
Server Commands Server Parameters Command Example Description
Set a password for your server sv_password sv_password password Sets a password that needs to be entered for players to join
Enable everyone to hear voice sv_alltalk <0/1> sv_alltalk 1 Toggles whether all players or just team players can hear mics
Enable file consistency checks sv_consistency <0/1> sv_consistency 1 Toggles whether the server checks critical files for consistency
Enable server cheats sv_cheats <0/1> sv_cheats 1 Enables all players to change certain parameters thru rcon
Set gravity sv_gravity sv_gravity 800 Sets the gravity for objects and people Default = 800
Set bounce sv_bounce sv_bounce 30 Sets the amount of bounce on impact with vertical objects
Set friction sv_friction sv_friction 4 Sets the friction for objects and people Default = 4
Set the max velocity of objects sv_maxvelocity sv_maxvelocity 3500 Sets the max velocity for moving objects Default = 3500
Set the max speed of players sv_maxspeed sv_maxspeed 320 Sets the max speed players can walk/run at
Set prop push-away force sv_pushaway_force sv_pushaway_force 99999999999999 Sets how hard it is for players to push props in the map
Set the maximum prop push-away force sv_pushaway_max_force sv_pushaway_max_force 9999999999999999999 Sets the maximum force a player can apply to a prop
Enable voice sv_voiceenable <0/1> sv_voiceenable 1 Toggles the use of in-game voice with microphones
Set the server voice codec sv_voicecodec sv_voicecodec speedex Selects the codec (DLL) that the server uses for voice
Server Commands Bot parameters Command Example Description
Add a bot bot_add bot_add Adds a bot to the game to join the next round
Add a bot to a specific team bot_add bot_add ct Adds a bot to the specified team to join the next round
Kick a bot bot_kick bot_kick Tom Kicks the specified bot, or all bots if none is specified
Kick a bot when a player joins bot_auto_vacate <1/0> bot_auto_vacate 1 Configures the bots so one leaves when a human player joins
Set difficulty bot_difficulty bot_difficulty 3 Sets the bots’ difficulty levels from 0 to 3
Set radio use bot_chatter bot_chatter normal Sets the allowed usage of the radio by bots
Allow bots to perform human tasks bot­_defer_to_human <1/0> bot_defer_to_human 1 Allows bots to perform human tasks with humans alive
Force bots to wait for human players bot_join_after_player <1/0> bot_join_after_player 1 Forces bots to wait for human players (0 is not recommended)
Kill a bot bot_kill Bot_kill Tom Kills the specified bot, or all bots if none is specified
Set the bots’ prefix bot_prefix bot_prefix [BOT] Puts the specified prefix in front of all bot names
Set the bot quota bot_quota bot_quota 8 Sets the number of bots allowed on the server
Set the bot quota mode bot_quota_mode bot_quota_mode normal Sets the mode; if set to “full”, bots leave as humans join
Allow bots to follow humans bot_auto_follow <1/0> bot_auto_follow 1 Allows bots with high  co-op to follow human players
Allow bots to go rouge bot_allow_rouges <1/0> bot_allow_rouges 1 Allows bots to go rouge, ignoring mission objectives
Force bots to be inactive bot_zombie <1/0> bot_zombie 1 Forces bots to stand still and not attack (sv_cheats 1)
Force bots to freeze bot_freeze <1/0> bot_freeze 1 Forces bots to stand frozen
Allow bots to use all weapons bot_all_weapons   Allows bots to purchase and use all weapons available
Force bots to use pistols bot_pistols_only bot_pistols_only Forces bots to purchase only pistols
Force bots to use knives bot_knives_only bot_knives_only Forces bots to not buy any weapons and not use their pistols
Force bots to use snipers bot_snipers_only bot_snipers_only Forces bots to purchase only sniper rifles
Allow bots to use grenades bot_allow_grenades <1/0> bot_allow_grenades 1 Allows/disallows bots to buy and use grenades
Allow bots to use pistols bot_allow_pistols <1/0> bot_allow_pistols 1 Allows/disallows bots to buy and use pistols
Allow bots to use submachine guns bot_allow_sub_machine_guns <1/0> bot_allow_sub_machine_guns 1 Allows/disallows bots to buy and use submachine guns
Allow bots to use machine guns bot_allow_machine_guns <1/0> bot_allow_machine_guns 1 Allows/disallows bots to buy and use machine guns
Allow bots to use rifles bot_allow_rifles <1/0> bot_allow_rifles 1 Allows/disallows bots to buy and use rifles
Css Logo
Researched and compiled by TheMatt of the techsupportforum.com

© 2008 TheMatt & www.techsupportforum.com
CSS Logo