Skip to content
/SLASHPLAY

Sven Co-op console commands

The 93 settings and 49 commands server owners use, with defaults and examples to copy.

142 commands

  1. changelevel

    Switches the server to another map and keeps everyone connected.

    Command

    Maps and map cycle

  2. mp_survival_mode

    Default Survival Mode state on maps that support it. Set 0 to start those maps with Survival off. Default 1.

    Default 1

    Survival and Classic Mode

  3. sv_cheats

    Allows cheat commands: 0 nobody, 1 everyone, 2 admins only, 255 also engine diagnostics.

    Default 0 (Nobody can use cheats)

    Cheats

  4. mp_respawndelay

    Seconds a dead player waits before they can respawn.

    Default 5

    Game rules

  5. mp_timelimit

    Minutes a map runs before the server moves on, if nobody finishes it first. 0 means no limit.

    Default Not listed

    Maps and map cycle

  6. kick

    Removes a player from the server. They can rejoin right away.

    Command

    Admins and bans

  7. banid

    Bans a Steam ID for a number of minutes, or for good with 0, and can kick the player at once.

    Command

    Admins and bans

  8. skill

    Sets the server's default skill level. Maps can choose their own in their config.

    Default 1 (Easy: enemies easy to kill, players hard to kill)

    Game rules

  9. votemap

    Starts a vote to change to a map.

    Command

    Voting

  10. mp_voteallow

    Turns the built-in voting system on or off. Default 1.

    Default 1

    Voting

  11. adminsfile

    Names the file listing server admins by Steam ID, one per line.

    Default admins.txt

    Admins and bans

  12. toggle_survival_mode

    Turns Survival Mode on or off on maps that support it.

    Command

    Survival and Classic Mode

  13. giveall

    Gives you every weapon with some ammo, except the minigun and shock rifle. Same as impulse 101.

    Command

    Cheats

  14. mp_classic_mode

    Classic Mode on maps that support it: -1 players can vote, 0 off, 1 on.

    Default -1 (Players can vote it on or off)

    Survival and Classic Mode

  15. addvotemap

    Adds a map to the list players can vote for.

    Command

    Maps and map cycle

  16. clearvotemaplist

    Empties the list of maps players can vote for.

    Command

    Maps and map cycle

  17. map

    Loads a map from scratch, like a fresh server start.

    Command

    Maps and map cycle

  18. mapcyclefile

    Names the file with the list of maps the server plays in order.

    Default mapcycle.txt

    Maps and map cycle

  19. mapvotecfgfile

    Names the file listing the maps players can vote for.

    Default mapvote.cfg

    Maps and map cycle

  20. mp_nextmap_cycle

    Sets which map the server goes to next, ahead of the map cycle.

    Default (empty)

    Maps and map cycle

  21. mp_notimelimit

    Turns off the map's time limit so it can run for as long as players stay. Default 0.

    Default 0

    Maps and map cycle

  22. mp_timelimit_empty

    Ends the map after this many minutes with nobody on the server, whatever its time limit. 0 turns it off.

    Default 10

    Maps and map cycle

  23. removevotemap

    Takes a map off the list players can vote for.

    Command

    Maps and map cycle

  24. restart

    Reloads the current map.

    Command

    Maps and map cycle

  25. addip

    Bans an IP address for a number of minutes, or for good with 0.

    Command

    Admins and bans

  26. admin_ban

    Admin chat command that bans a player, with an optional ban time in minutes.

    Command

    Admins and bans

  27. admin_kick

    Admin chat command that kicks a player, with an optional ban time in minutes.

    Command

    Admins and bans

  28. admin_setarmor

    Admin chat command that sets a player's HEV armor.

    Command

    Admins and bans

  29. admin_sethealth

    Admin chat command that sets a player's health.

    Command

    Admins and bans

  30. admin_slap

    Admin chat command that slaps a player, with optional damage and a number of slaps.

    Command

    Admins and bans

  31. admin_slay

    Admin chat command that kills a player.

    Command

    Admins and bans

  32. admin_teleport

    Admin chat command that moves a player to you, or to the x y z coordinates you give.

    Command

    Admins and bans

  33. admin_teleportto

    Admin chat command that moves one player to another player.

    Command

    Admins and bans

  34. kicksteamid

    Kicks a player by their Steam ID. The Steam ID must be in quotes.

    Command

    Admins and bans

  35. listid

    Lists the Steam IDs that are banned.

    Command

    Admins and bans

  36. listip

    Lists the IP addresses that are banned.

    Command

    Admins and bans

  37. reloadadminlist

    Reloads the admin list from admins.txt while the server runs.

    Command

    Admins and bans

  38. removeid

    Lifts a Steam ID ban.

    Command

    Admins and bans

  39. removeip

    Lifts an IP address ban.

    Command

    Admins and bans

  40. say

    Sends a chat message from the server to every player.

    Command

    Admins and bans

  41. status

    Lists the map and every player with their userid, Steam ID, ping and address.

    Command

    Admins and bans

  42. writeid

    Saves permanent Steam ID bans to banned.cfg.

    Command

    Admins and bans

  43. writeip

    Saves permanent IP bans to listip.cfg.

    Command

    Admins and bans

  44. mp_allowmonsterinfo

    Sets what players see when they aim at a monster: its name, health and whether it is an ally. Default 1.

    Default 1 (No information about neutral or enemy monsters)

    Game rules

  45. mp_allowplayerinfo

    Sets what players see when they aim at another player: 0 nothing, 1 the info, 2 only for allies.

    Default 1 (Information is shown)

    Game rules

  46. mp_barnacle_paralyze

    Stops players from using weapons while a barnacle holds them. Default 1.

    Default 1

    Game rules

  47. mp_disable_autoclimb

    Turns off auto-climb, which lets players hold Jump to climb onto ledges and other players. Default 0.

    Default 0

    Game rules

  48. mp_disable_medkit_points

    Stops players from earning points for healing and reviving with the medkit. Default 0.

    Default 0

    Game rules

  49. mp_disable_pcbalancing

    Turns off damage balancing by player count. With 1 players always do normal damage. Default 0.

    Default 0

    Game rules

  50. mp_disable_player_rappel

    Stops players from using the barnacle grapple on each other. Default 0.

    Default 0

    Game rules

  51. mp_falldamage

    Sets fall damage: 1 realistic, 0 at most 10 damage per fall, -1 none.

    Default 1 (Realistic: faster falls hurt more)

    Game rules

  52. mp_flashlight

    Lets players use their flashlight. Default 1.

    Default 1

    Game rules

  53. mp_forcerespawn

    Respawns dead players automatically when the delay ends. Default 0: players respawn when they choose.

    Default 0

    Game rules

  54. mp_grapple_mode

    Sets how the barnacle grapple works. 0: only headcrab-sized monsters are pulled in. 1: pulls the player to bigger monsters, as in Opposing Force.

    Default 0 (Only headcrab-sized monsters are pulled to the player)

    Game rules

  55. mp_hevsuit_voice

    Turns the HEV suit's voice feedback on or off. Default 0.

    Default 0

    Game rules

  56. mp_modelselection

    Lets players change their player model. Default 1.

    Default 1

    Game rules

  57. mp_multiplespawn

    Uses all of a map's spawn points. Set 0 only for a map with a single spawn point. Default 1.

    Default 1

    Game rules

  58. mp_noblastgibs

    Stops monsters from being blown apart by explosions. Default 0.

    Default 0

    Game rules

  59. mp_npckill

    Sets what can hurt friendly NPCs: 0 nothing, 1 anything, 2 anything but players.

    Default 1 (Anything can damage them)

    Game rules

  60. mp_observer_cyclic

    With observer mode on: 0 players observe until a spawn point is free, 1 until the map lets them respawn.

    Default 0 (Observe until a respawn point is available)

    Game rules

  61. mp_observer_mode

    Puts dead and connecting players in observer mode. Default 0.

    Default 0

    Game rules

  62. mp_pcbalancing_factorlist

    Damage multipliers for 1, 2, 3 and more players, separated by semicolons. Empty uses 1.0;1.8;1.4;1.2;1.1;1.0.

    Default (empty)

    Game rules

  63. mp_suitpower

    Turns HEV suit power (armor) on. With 0 armor is off and hidden from the HUD. Default 1.

    Default 1

    Game rules

  64. mp_telefrag

    Kills a player who is in the way when someone teleports onto them. Default 1.

    Default 1

    Game rules

  65. npc_dropweapons

    Makes NPCs drop their weapon when they die. Default 0.

    Default 0

    Game rules

  66. sv_ai_enemy_detection_mode

    Lets NPCs look for enemies and fight even with no player nearby. Default 0, as in Half-Life.

    Default 0

    Game rules

  67. mp_ammo_droprules

    What ammo a player drops on death: 0 none, 1 for the weapon in hand, 2 all.

    Default 1 (Ammo for the current weapon)

    Weapons and items

  68. mp_ammo_respawndelay

    Respawn time for ammo on the map: -2 game default, -1 never, 0 at once, or seconds.

    Default -2 (Game default delay)

    Weapons and items

  69. mp_banana

    Lets players throw banana bombs. Default 1.

    Default 1

    Weapons and items

  70. mp_disablegaussjump

    Stops the gauss gun's charged shot from launching players into the air. Default 0.

    Default 0

    Weapons and items

  71. mp_dropweapons

    Lets players drop weapons and ammo. Default 1.

    Default 1

    Weapons and items

  72. mp_item_respawndelay

    Respawn time for items such as the long jump module on the map: -2 game default, -1 never, 0 at once, or seconds.

    Default -2 (Game default delay)

    Weapons and items

  73. mp_no_akimbo_uzis

    Stops players from picking up a second Uzi to use two at once. Default 0.

    Default 0

    Weapons and items

  74. mp_weapon_droprules

    What a player drops on death: 0 nothing, 1 the weapon in hand, 2 all weapons in a box.

    Default 1 (Drop the current weapon)

    Weapons and items

  75. mp_weapon_respawndelay

    Respawn time for weapons on the map: -2 game default, -1 never, 0 at once, or seconds.

    Default -2 (Game default delay)

    Weapons and items

  76. mp_weaponfadedelay

    Seconds a dropped weapon stays before it disappears. 0 removes it once it stops moving.

    Default 60

    Weapons and items

  77. mp_weaponstay

    Leaves picked-up weapons in place so every player can take one. Default 1.

    Default 1

    Weapons and items

  78. mp_survival_minplayers

    Number of players needed before Survival Mode starts.

    Default 1

    Survival and Classic Mode

  79. mp_survival_nextmap

    Names the next Survival map in a series, so Survival settings carry across the level change.

    Default (empty)

    Survival and Classic Mode

  80. mp_survival_retries

    Number of map restarts after a full wipe before the next map vote starts. -1 retries forever.

    Default 3

    Survival and Classic Mode

  81. mp_survival_startdelay

    Seconds after the map starts before Survival Mode begins.

    Default 30

    Survival and Classic Mode

  82. mp_survival_starton

    Starts Survival Mode automatically after the map loads. Default 1.

    Default 1

    Survival and Classic Mode

  83. mp_survival_supported

    Tells the game the map supports Survival Mode, which enables Survival voting and toggling. Default 0.

    Default 0

    Survival and Classic Mode

  84. mp_survival_voteallow

    Lets players vote to turn Survival Mode on or off. mp_voteallow is checked first. Default 1.

    Default 1

    Survival and Classic Mode

  85. toggle_classic_mode

    Turns Classic Mode on or off. The map restarts after a countdown, or the change waits for the next map.

    Command

    Survival and Classic Mode

  86. mp_playervotedelay

    Seconds a player must wait before starting another vote of their own.

    Default 120

    Voting

  87. mp_votebanrequired

    Percent of yes votes needed for a ban vote to pass. -1 turns this vote off.

    Default -1

    Voting

  88. mp_voteclassicmoderequired

    Percent of yes votes needed for a Classic Mode vote to pass. -1 turns this vote off.

    Default 51

    Voting

  89. mp_votekickrequired

    Percent of yes votes needed for a kick vote to pass. -1 turns this vote off.

    Default 80

    Voting

  90. mp_votekill_respawndelay

    Seconds a player waits to respawn after a successful kill vote.

    Default 15

    Voting

  91. mp_votekillrequired

    Percent of yes votes needed for a kill vote to pass. -1 turns this vote off.

    Default 51

    Voting

  92. mp_votemaprequired

    Percent of yes votes needed for a map change vote to pass. -1 turns this vote off.

    Default 67

    Voting

  93. mp_votesurvivalmoderequired

    Percent of yes votes needed for a Survival Mode vote to pass. -1 turns this vote off.

    Default 51

    Voting

  94. mp_votetimebetween

    Seconds before a different player can start a new vote.

    Default 40

    Voting

  95. mp_votetimecheck

    Seconds players have to cast a vote. Players who don't answer don't count.

    Default 16

    Voting

  96. voteban

    Starts a vote to ban a player.

    Command

    Voting

  97. votekick

    Starts a vote to kick a player.

    Command

    Voting

  98. votekill

    Starts a vote to kill a player.

    Command

    Voting

  99. chargeme

    Fully charges your HEV suit battery (armor).

    Command

    Cheats

  100. cl_noclip

    Turns noclip on or off: fly and pass through walls.

    Command

    Cheats

  101. cl_nonsolid

    Turns non-solid mode on or off: players, NPCs and moving parts pass through you.

    Command

    Cheats

  102. cl_notarget

    Turns notarget on or off: NPCs can't see you.

    Command

    Cheats

  103. give

    Gives you a weapon, ammo or item by its entity name.

    Command

    Cheats

  104. givepoints

    Adds points to your score. A negative number takes points away.

    Command

    Cheats

  105. godmode

    Turns god mode on or off: no damage to health. Armor still takes damage.

    Command

    Cheats

  106. healme

    Restores your health to full.

    Command

    Cheats

  107. reviveme

    Revives you if you are dead, with half health.

    Command

    Cheats

  108. teleport

    Teleports you to x y z coordinates.

    Command

    Cheats

  109. trigger

    Triggers a map entity by its target name, with you as the activator.

    Command

    Cheats

  110. as_reloadplugins

    Reloads all AngelScript plugins from the plugin list file.

    Command

    Server and network

  111. decalfrequency

    Seconds a player must wait between sprays. 0 removes the wait.

    Default 30

    Server and network

  112. exec

    Runs every command in a config file.

    Command

    Server and network

  113. hostname

    The server's name in the server browser and on the scoreboard.

    Default Sven Co-op

    Server and network

  114. hpk_maxsize

    Size limit in megabytes of the file that stores uploaded sprays. The oldest sprays go first.

    Default 4

    Server and network

  115. log

    Turns server logging on or off.

    Command

    Server and network

  116. maxplayers

    Sets the player limit at launch with +maxplayers. Sven Co-op allows 2 to 32; without it the limit is 12.

    Command

    Server and network

  117. motdfile

    Names the file with the welcome message players see when they join.

    Default motd.txt

    Server and network

  118. pausable

    Lets anyone pause the game. Never recommended on public servers.

    Default 1

    Server and network

  119. plugin_list_file

    Names the file listing the AngelScript plugins the server loads.

    Default default_plugins.txt

    Server and network

  120. rcon_password

    Password for remote console (RCON) access. Empty turns RCON off.

    Default (empty)

    Server and network

  121. servercfgfile

    Names the config file a dedicated server runs.

    Default server.cfg

    Server and network

  122. sv_allowdownload

    Lets players download custom content from the server. Default 1.

    Default 1

    Server and network

  123. sv_allowupload

    Lets players upload their custom sprays to the server. Default 1.

    Default 1

    Server and network

  124. sv_downloadurl

    Web address where players download your custom maps and content fast, instead of the slow in-game transfer.

    Default (empty)

    Server and network

  125. sv_lan

    Makes it a LAN-only server: players authenticate by IP and must be on the same subnet. Default 0.

    Default 0

    Server and network

  126. sv_maxrate

    Highest rate in bytes per second a player can use on an Internet server.

    Default 0

    Server and network

  127. sv_maxupdaterate

    Most updates per second the server sends each player.

    Default 30

    Server and network

  128. sv_minrate

    Lowest rate in bytes per second a player can use on an Internet server.

    Default 0

    Server and network

  129. sv_minupdaterate

    Fewest updates per second the server sends each player.

    Default 10

    Server and network

  130. sv_password

    Password players must enter to join. Empty means anyone with the address can join.

    Default (empty)

    Server and network

  131. sv_region

    The region the server browser lists the server under. 255 is the world, -1 hides it from the list.

    Default Not listed

    Server and network

  132. sv_timeout

    Seconds without hearing from a player before the server drops them.

    Default 60

    Server and network

  133. sv_visiblemaxplayers

    Slots shown in the server browser. -1 shows the real number. It can't show more than the real limit.

    Default -1

    Server and network

  134. sv_voiceenable

    Lets players use voice chat. Default 1.

    Default 1

    Server and network

  135. sys_ticrate

    Most frames per second the server simulates.

    Default 100

    Server and network

  136. sv_accelerate

    How fast players speed up on the ground.

    Default 10

    Physics

  137. sv_airaccelerate

    How fast players can change speed and direction in the air.

    Default 10

    Physics

  138. sv_friction

    Ground friction. Lower values make the ground slippery.

    Default 4

    Physics

  139. sv_gravity

    World gravity. Lower values mean higher jumps and slower falls.

    Default 800

    Physics

  140. sv_maxspeed

    Highest speed players can run on the ground.

    Default 270

    Physics

  141. sv_maxvelocity

    Highest speed anything can push a player, such as explosions or push triggers.

    Default 4096

    Physics

  142. sv_wateraccelerate

    How fast players speed up underwater.

    Default 10

    Physics

Questions

How do I run Sven Co-op commands on my server?

Type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to svencoop/server.cfg in the Files tab: Sven Co-op runs it at every map change.

How do I keep a setting after a restart?

Settings typed in the console last until the server restarts. Put them in svencoop/server.cfg, one per line, and they apply every time the server starts.

Where does this list come from?

SLASHPLAY wrote it from the Sven Co-op manual's server and mapping guides, and the server.cfg, server_example.cfg and default_map_settings.cfg the dedicated server ships with: the settings and commands server owners use, with the game's own defaults.

Try them on
your own server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.