server variables - odamex/odamex GitHub Wiki

When making a custom .cfg file to load, the format is set sv_****. When making a list of variables in Doomseeker, the format is +sv_****. Server variable values fall into the following categories:

  • [bool] means that the setting is a boolean, either 0/false for off or 1/true for on.
  • [byte] is a whole number (integer) from 0-255.
  • [short] is a whole number (integer) from 0-65535.
  • [number] is a whole number that falls into neither of the prior categories.
  • [float] is a number that can have one a decimal point.
  • [string] is a text string (e.g., "My website"), and likely should be enclosed in quotation marks (especially if there are spaces present in your desired string) If you want new lines/returns in your text strings, you use the \n escape character. E.g., "My website:\nhttps://odamex.net".

Client Variables

These are client variables set by clients (players), though some of them can be set and used by server administrators for their servers.

chase_dist [short]

    Short, Default: 90, Min: -32768, Max: 32768, No Enable/Disable, Saved on the client

    Chase camera distance

chase_height [short]

    Short, Default: -8, Min: -32768, Max: 32768, No Enable/Disable, Saved on the client

    Height of chase camera

cl_centerbobonfire [bool]

    Boolean, Default: False, Saved on the client

    Centers the weapon bobbing when firing a weapon

cl_deathcam [bool]

    Boolean, Default: True, Saved on the client

    Dead player's view follows the actor who killed them

cl_movebob [float]

    Float, Default: 1.000000, Min: 0.000000, Max: 1.000000, No Enable/Disable, Saved on the client

    Adjust weapon and movement bobbing

cl_predictpickup [bool]

    Boolean, Default: True, Saved on the client

    Predict weapon pickups

cl_predictsectors [byte]

    Byte, Default: 1, Min: 0, Max: 2, No Enable/Disable, Saved on the client

    Move floors and ceilings immediately instead of waiting for confirmation, values are:
    • 0 - Don't predict any sectors
    • 1 - Predict all sectors based only on actor movements
    • 2 - Predict only sectors activated by you

cl_waddownloaddir [string]

    String, No Enable/Disable, Saved on the client

    Set custom WAD download directory

language [string]

    String, Default: "auto", No Enable/Disable, Saved on the server, Saved on the client

    Language to use for ingame strings

lookspring [bool]

    Boolean, Default: True, Saved on the client

    Generate centerview when mlook encountered

r_softinvulneffect [bool]

    Boolean, Default: True, Saved on the client

    Change invuln to enable light googles and invert the pallete on the weapon sprite only.

waddirs [string]

    String, No Enable/Disable, Saved on the server, Saved on the client

    Allow custom WAD directories to be specified.

Core Server Settings

These are core settings like server name, passwords, website, MotD (Message of the Day), etc.

join_password [string]

    String, No Enable/Disable, Saved on the server

    Clients can connect if they have this password

log_fulltimestamps [bool]

    Boolean, Default: False, Saved on the server

    Extended timestamp info (dd/mm/yyyy hh:mm:ss)

log_packetdebug [bool]

    Boolean, Default: False, Saved on the server

    Print debugging messages for each packet sent

net_rcvbuf [number]

    Number, Default: 131072, Min: 1500, Max: 268435456, No Enable/Disable, Saved on the server, Saved on the client

    Net receive buffer size in bytes

net_sndbuf [number]

    Number, Default: 131072, Min: 1500, Max: 268435456, No Enable/Disable, Saved on the server, Saved on the client

    Net send buffer size in bytes

port [number]

    Number, Default: 0, Can't be set, No Enable/Disable

    Display currently used network port number

rcon_password [string]

    String, No Enable/Disable, Saved on the server

    Remote console password. The remote password is entered in the console when rcon access is desired.

sv_banfile [string]

    String, Default: "banlist.json", No Enable/Disable, Saved on the server

    Default file to save and load the banlist.

sv_banfile_reload [number]

    Number, Default: 0, Min: 0, Max: 86400, No Enable/Disable, Saved on the server

    Number of seconds to wait between automatically loading the banlist.

sv_downloadsites [string]

    String, Servers tell clients when changed, No Enable/Disable, Saved on the server

    A list of websites to download WAD files from, separated by spaces

sv_email [string]

    String, Default: "[email protected]", Servers tell clients when changed, No Enable/Disable, Saved on the server

    Administrator email address

sv_flooddelay [float]

    Float, Default: 1.500000, Min: 0.000000, Max: 10.000000, No Enable/Disable, Saved on the server

    Chat flood protection time (in seconds)

sv_hostname [string]

    String, Default: "Untitled Odamex Server", Servers tell clients when changed, No Enable/Disable, Saved on the server

    Server name to appear on masters, clients and launchers

sv_maxclients [byte]

    Byte, Default: 4, Min: 2, Max: 255, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Maximum clients that can connect to a server

sv_maxplayers [byte]

    Byte, Default: 4, Min: 2, Max: 255, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Maximum players that can join the game. The rest are spectators.

sv_maxplayersperteam [byte]

    Byte, Default: 3, Min: 0, Max: 255, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Maximum number of players that can be on a team (0 means unlimited)

sv_maxrate [number]

    Number, Default: 200, Min: 7, Max: 100000, No Enable/Disable, Saved on the server

    Forces clients to be on or below this rate

sv_maxunlagtime [float]

    Float, Default: 1.000000, Min: 0.000000, Max: 1.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Cap the maxiumum time allowed for player reconciliation (in seconds)

sv_motd [string]

    String, Default: "Welcome to Odamex", Servers tell clients when changed, No Enable/Disable, Saved on the server

    Message Of The Day to display to clients upon connecting

sv_natport [short]

    Short, Default: 0, Min: 0, Max: 65536, No Enable/Disable, Saved on the server

    NAT firewall workaround, this is a port number

sv_ticbuffer [bool]

    Boolean, Default: True, Servers tell clients when changed, Saved on the server

    Buffer controller input from players experiencing sudden latency spikes for smoother movement

sv_upnp [bool]

    Boolean, Default: True, Saved on the server

    Enable UPnP support

sv_upnp_description [string]

    String, No Enable/Disable, Saved on the server

    Router-side description of port mapping

sv_upnp_discovertimeout [number]

    Number, Default: 2000, Min: 500, Max: 10000, No Enable/Disable, Saved on the server

    UPnP Router discovery timeout

sv_upnp_externalip [string]

    String, Can't be set, No Enable/Disable

    Set to the router IP address

sv_upnp_internalip [string]

    String, Can't be set, No Enable/Disable

    Set to the local machine IP address

sv_usemasters [bool]

    Boolean, Default: True, Saved on the server

    Advertise on master servers

Maplist CVARs

For a detailed overview of all map-related commands, see The Maplist.

sv_emptyreset [bool]

    Boolean, Default: False, Saved on the server

    Reloads the current map when all players leave

sv_shufflemaplist [bool]

    Boolean, Default: False, Saved on the server

    Randomly shuffle the maplist

Compatibility Variables

These are settings to help support older WADs, or to emulate older or newer physics.

co_allowdropoff [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server, Saved on the client

    Allow monsters to get pushed or thrusted off of ledges

co_blockmapfix [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server, Saved on the client

    Fix the blockmap collision bug

co_boomphys [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Use a finer-grained, faster, and more accurate test for actors, sectors and lines

co_fineautoaim [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Increase precision of vertical auto-aim

co_fixweaponimpacts [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Corrected behavior for impact of projectiles and bullets on surfaces

co_globalsound [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Make pickup sounds global

co_nosilentspawns [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Turns off the west-facing silent spawns vanilla bug

co_novileghosts [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server, Saved on the client

    Disables vanilla's ghost monster quirk that lets Arch-viles resurrect crushed monsters as unshootable ghosts

co_realactorheight [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server, Saved on the client

    If false, actors have infinite height (like in Vanilla id Tech 1). If true, actors use their set height properties.

co_removesoullimit [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Allows pain elementals to still spawn lost souls if more than 20 are present

co_zdoomphys [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Enable/disable ZDoom-based gravity and physics interactions

co_zdoomsound [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server, Saved on the client

    Enable sound attenuation curve + attenuation of switch sounds with distance

CTF Variables

Server-set variables specific to the CTF gametype.

ctf_flagathometoscore [bool]

    Boolean, Default: True, Servers tell clients when changed, Saved on the server

    Team flag must be at home pedestal for any captures of an enemy flag returned to said pedestal to count as a point

ctf_flagtimeout [byte]

    Byte, Default: 10, Min: 0, Max: 255, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Time for a dropped flag to be returned automatically to its home base

ctf_manualreturn [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Flags dropped must be returned manually

g_ctf_notouchreturn [bool]

    Boolean, Default: False, Latched, Saved on the server

    Prevents touch-return of the flag, forcing the player to wait for it to timeout

Gameplay Variables

These variables control various gameplay settings and playstyle tweaks.

g_thingfilter [byte]

    Byte, Default: 0, Min: 0, Max: 3, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Removes cooperative things of the map. Values are:
    • 0 - All Coop things are retained (default).
    • 1 - Only Coop weapons are removed.
    • 2 - All Coop things are removed.
    • 3 - All pickupable things are removed.

g_gametypename [string]

    String, Servers tell clients when changed, No Enable/Disable, Saved on the server

    A custom name for the gametype. If blank, a default name is used based on currently set cvars.

g_horde_goalhp [float]

    Float, Default: 8.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Goal health multiplier for a given round

g_horde_maxtotalhp [float]

    Float, Default: 10.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Multiplier for maximum spawned health at a time

g_horde_mintotalhp [float]

    Float, Default: 4.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Multiplier for minimum spawned health at a time

g_horde_spawnempty_max [number]

    Number, Default: 3, Min: 1, Max: 60, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Maximum number of seconds it takes to spawn a monster in an empty horde map

g_horde_spawnempty_min [number]

    Number, Default: 1, Min: 1, Max: 60, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Minimum number of seconds it takes to spawn a monster in an empty horde map

g_horde_spawnfull_max [number]

    Number, Default: 6, Min: 1, Max: 60, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Maximum number of seconds it takes to spawn a monster in a full horde map

g_horde_spawnfull_min [number]

    Number, Default: 2, Min: 1, Max: 60, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Minimum number of seconds it takes to spawn a monster in a full horde map

g_horde_waves [number]

    Number, Default: 5, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Number of horde waves per map

g_lives [number]

    Number, Default: 0, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Number of lives a player has before they can no longer respawn - this can result in a game loss depending on the gametype

g_lives_jointimer [number]

    Number, Default: 0, Servers tell clients when changed, No Enable/Disable, Saved on the server

    When players have limited lives, this is the number of seconds after the round or game started that new players can join - if set to zero, players need to queue and wait until the next round to join

g_postroundtime [number]

    Number, Default: 3, No Enable/Disable, Saved on the server

    Amount of time after a round before the next round/endgame

g_preroundreset [number]

    Number, Default: 0, Min: 0, Max: 1, Saved on the server

    After preround is over, reset the map one last time.

g_preroundtime [number]

    Number, Default: 5, No Enable/Disable, Saved on the server

    Amount of time before a round where you can't shoot

g_resetinvonexit [bool]

    Boolean, Default: False, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Always reset players to their starting inventory on level exit

g_roundlimit [number]

    Number, Default: 0, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Number of total rounds the game can go on for before the game ends

g_rounds [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    Turns on rounds - if enabled, reaching the gametype's win condition only wins a single round, and a player or team must win a certain number of rounds to win the game

g_sides [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    Turns on offensive vs defensive sides for team-based game modes - teams on offense don't have to defend any team objective, teams on defense win if time expires, and if rounds are enabled the team on defense changes every round

g_spawninv [string]

    String, Default: "default", Servers tell clients when changed, No Enable/Disable, Saved on the server

    The default inventory a player should spawn with. See the "spawninv" console command. For example, "default invul:6 berserk" grants all players 6 seconds of invincibility and a Berserk at spawn.

g_winlimit [number]

    Number, Default: 0, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Number of times a round must be won before a player or team wins the game

g_winnerstays [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    After a match winners stay in the game, losers get spectated.

Server Variables

These variables control core gameplay mechanics.

sv_aircontrol [float]

    Float, Default: 0.00390625, Min: 0.000000, Max: 32768.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server, Saved on the client

    How much control the player has in the air

sv_allowcheats [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Allow usage of cheats in all game modes. This include original cheats like `idfa`, as well as the chasecam.

sv_allowexit [bool]

    Boolean, Default: True, Servers tell clients when changed, Saved on the server

    Allow use of Exit switch/teleports in all game modes

sv_allowjump [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Allows players to jump when set in all game modes

sv_allowmovebob [bool]

    Boolean, Default: True, Servers tell clients when changed, Saved on the server

    Allow weapon & view bob changing

sv_allowpwo [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Allow clients to set their preferences for automatic weapon switching

sv_allowredscreen [bool]

    Boolean, Default: True, Servers tell clients when changed, Saved on the server

    Allow clients to adjust amount of red pain screen intensity

sv_allowshowspawns [bool]

    Boolean, Default: True, Servers tell clients when changed, Latched, Saved on the server

    Allow clients to see spawn points as particle fountains

sv_allowtargetnames [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    When set, names of players appear in the FOV

sv_allowwidescreen [bool]

    Boolean, Default: True, Servers tell clients when changed, Latched, Saved on the server

    Allow clients to use true widescreen

sv_countdown [byte]

    Byte, Default: 5, Min: 0, Max: 60, Latched, No Enable/Disable, Saved on the server

    Number of seconds to wait before starting the game from warmup or restarting the game.

sv_dmfarspawn [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    EXPERIMENTAL: When enabled in DM, players will spawn at the farthest point from each other.

sv_doubleammo [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Give double ammo regardless of difficulty

sv_download_test [bool]

    Boolean, Default: False, Saved on the server

    Experimental download optimization testing

sv_emptyfreeze [bool]

    Boolean, Default: False, Saved on the server

    Freezes the game state when there are no players

sv_endmapscript [string]

    String, No Enable/Disable, Saved on the server

    Script to run at end of each map (e.g. to choose next map)

sv_fastmonsters [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Monsters are at nightmare speed

sv_forcerespawn [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Force a player to respawn

sv_forcerespawntime [short]

    Short, Default: 30, Min: 0, Max: 32768, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Force a player to respawn after a set amount of time (in seconds)

sv_forcewater [bool]

    Boolean, Default: False, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Makes water more realistic (boom maps at the moment)

sv_fragexitswitch [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    When enabled, pressing the exit switch or crossing the exit line in a level will instantly kill you. Useful if you're playing deathmatch on co-op or Vanilla levels and don't want players to be able to leave.

sv_fraglimit [short]

    Short, Default: 0, Min: 0, Max: 65536, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Sets the amount of frags a player can accumulate before the game ends. If it's set to 0, the match will be endless (unless sv_timelimit is set to a non-0 number).

sv_freelook [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Allow Looking up and down

sv_friendlyfire [bool]

    Boolean, Default: True, Servers tell clients when changed, Saved on the server

    When set, players can injure others on the same team, it is ignored in deathmatch

sv_gametype [byte]

    Byte, Default: 0, Min: 0, Max: 4, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Sets the game mode. Values larger than 4 will set it to the highest value in the list (Horde). Values are:
    • 0 = Cooperative
    • 1 = Deathmatch
    • 2 = Team Deathmatch
    • 3 = Capture The Flag (CTF)
    • 4 = Horde

    There are additional game modes that can't be set directly here.
    • Last Marine Standing (LMS, Odamex's equivalent to Zandronum's Last Man Standing)
      • Like Deathmatch, but players are slowly eliminated as they run out of lives until only one player, the winner, remains. To set this gametype, you must first set the gametype to Deathmatch (1). Then set g_lives to a number larger than 0.
    • Team Last Marine Standing
      • A combination of Team Deathmatch and LMS. The last team with a player or players remaining wins. To set this gametype, you must first set the gametype to Team Deathmatch (2). Then set g_lives to a number larger than 0.
    • Attack & Defend CTF
      • A variant of CTF. To set this gametype, you must first set the gametype to CTF (3), then enable g_sides.

sv_globalspectatorchat [bool]

    Boolean, Default: True, Saved on the server

    Players can see spectator chat

sv_gravity [short]

    Short, Default: 800, Min: 0, Max: 32768, Servers tell clients when changed, No Enable/Disable, Saved on the server, Saved on the client

    Gravity of the environment

sv_infiniteammo [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Infinite ammo for all players

sv_intermissionlimit [short]

    Short, Default: 10, Min: 0, Max: 60, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Sets the time limit for the intermission to end (in seconds).

sv_itemrespawntime [short]

    Short, Default: 30, Min: 0, Max: 500, Servers tell clients when changed, No Enable/Disable, Saved on the server

    If sv_itemsrespawn is set, items will respawn after this time (in seconds)

sv_itemsrespawn [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    Items will respawn after a fixed period, see sv_itemrespawntime

sv_keepkeys [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Keep keys on death

sv_loopepisode [bool]

    Boolean, Default: False, Saved on the server

    Determines whether Doom 1 episodes carry over

sv_maxcorpses [short]

    Short, Default: 200, Min: 0, Max: 65536, No Enable/Disable, Saved on the server

    Maximum corpses to appear on map

sv_monsterdamage [float]

    Float, Default: 1.000000, Min: 0.000000, Max: 100.000000, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Amount to multiply monster weapon damage by

sv_monstershealth [float]

    Float, Default: 1.000000, Min: 0.000000, Max: 100.000000, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Amount to multiply monster health by

sv_monstersrespawn [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    If true, monsters will respawn after being killed regardless of the skill set, much like they do on skill 5.

sv_nomonsters [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    No monsters will be present

sv_playerbeacons [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    When enabled, print player beacons in WDL events.This will take effect on map change.

sv_respawnsuper [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    Allows Invisibility/Invulnerability spheres from respawning (need sv_itemsrespawn set to 1)

sv_scorelimit [byte]

    Byte, Default: 5, Min: 0, Max: 255, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Game ends when team score is reached in Teamplay/CTF

sv_sharekeys [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Share keys found to every player.

sv_skill [byte]

    Byte, Default: 3, Min: 0, Max: 7, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Sets the skill level, values are:
    • 0 - No things mode
    • 1 - I'm Too Young To Die
    • 2 - Hey, Not Too Rough
    • 3 - Hurt Me Plenty
    • 4 - Ultra-Violence
    • 5 - Nightmare!

sv_spawndelaytime [float]

    Float, Default: 0.000000, Min: 0.000000, Max: 32768.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server

    Force a player to wait a period (in seconds) before respawning

sv_splashfactor [float]

    Float, Default: 1.000000, Min: 0.010000, Max: 100.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server, Saved on the client

    Rocket explosion thrust effect?

sv_startmapscript [string]

    String, No Enable/Disable, Saved on the server

    Script to run at start of each map (e.g. to override cvars)

sv_teamsinplay [byte]

    Byte, Default: 2, Min: 2, Max: 3, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Teams that are enabled

sv_teamspawns [bool]

    Boolean, Default: True, Servers tell clients when changed, Latched, Saved on the server

    When disabled, treat team spawns like normal deathmatch spawns in Teamplay/CTF

sv_timelimit [float]

    Float, Default: 0.000000, Min: 0.000000, Max: 1440.000000, Servers tell clients when changed, No Enable/Disable, Saved on the server

    The number of minutes it takes for the game mode to end, if no other win condition has been hit. If 0, the match will never end (unless sv_fraglimit is set to a non-0 number).

sv_unblockplayers [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    Allows players to walk through other players, and player projectiles to pass through teammates.

sv_warmup [bool]

    Boolean, Default: False, Servers tell clients when changed, Latched, Saved on the server

    Enable a 'warmup mode' before the match starts.

sv_warmup_autostart [float]

    Float, Default: 1.000000, Min: 0.000000, Max: 1.000000, Latched, No Enable/Disable, Saved on the server

    Ratio of players needed for warmup to automatically start the game.

sv_weapondamage [float]

    Float, Default: 1.000000, Min: 0.000000, Max: 100.000000, Servers tell clients when changed, Latched, No Enable/Disable, Saved on the server

    Amount to multiply player weapon damage by

sv_weapondrop [bool]

    Boolean, Default: False, Servers tell clients when changed, Saved on the server

    Enable/disable weapon drop.

sv_weaponstay [bool]

    Boolean, Default: True, Servers tell clients when changed, Latched, Saved on the server

    Weapons stay after pickup

Voting

These change what kinds of votes players are able to cast.

sv_callvote_coinflip [bool]

    Boolean, Default: False, Saved on the server

    Clients can flip a coin.

sv_callvote_forcespec [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to force a player to spectate.

sv_callvote_forcestart [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to force the match to start.

sv_callvote_fraglimit [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote a new fraglimit.

sv_callvote_kick [bool]

    Boolean, Default: False, Saved on the server

    Clients can votekick other players.

sv_callvote_map [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to switch to a specific map from the server's maplist.

sv_callvote_nextmap [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote on progressing to the next map. Note that for these votes to work, the server needs to have a maplist.

sv_callvote_randcaps [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to force the server to pick two players from the pool of ingame players and force-spectate everyone else.

sv_callvote_randmap [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to switch to a random map from the server's maplist. Note that for these votes to work, the server needs to have a maplist.

sv_callvote_randpickup [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to force the server to pick a certian number of players from the pool of ingame players and force-spectate everyone else.

sv_callvote_restart [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote to reload the current map.

sv_callvote_scorelimit [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote a new scorelimit.

sv_callvote_timelimit [bool]

    Boolean, Default: False, Saved on the server

    Clients can vote a new timelimit.

sv_vote_countabs [bool]

    Boolean, Default: True, Saved on the server

    Count absent voters as 'no' if the vote timer runs out.

sv_vote_majority [float]

    Float, Default: 0.500000, Min: 0.000000, Max: 1.000000, No Enable/Disable, Saved on the server

    Ratio of yes votes needed for vote to pass.

sv_vote_speccall [bool]

    Boolean, Default: True, Saved on the server

    Spectators are allowed to callvote.

sv_vote_specvote [bool]

    Boolean, Default: True, Saved on the server

    Spectators are allowed to vote.

sv_vote_timelimit [number]

    Number, Default: 30, Min: 0, Max: 120, No Enable/Disable, Saved on the server

    Amount of time a vote takes in seconds.

sv_vote_timeout [number]

    Number, Default: 60, Min: 0, Max: 600, No Enable/Disable, Saved on the server

    Timeout between votes in seconds.

Miscellaneous Variables

configver [string]

    String, Default: "010040", No Enable/Disable, Saved on the server, Saved on the client

debug_disconnect [bool]

    Boolean, Default: False, Saved on the client

    Show source file:line where a disconnect happens

developer [bool]

    Boolean, Default: False

    Debugging mode

sv_clientcount [byte]

    Byte, Default: 0, Can't be set, No Enable/Disable

    Set to the number of connected players (for scripting)

sv_curmap [string]

    String, Can't be set, No Enable/Disable

    Set to the last played map

sv_nextmap [string]

    String, Can't be set, No Enable/Disable

    Set to the next map to be played

Default Odamex Server Configuration

The following is what Odamex uses if a server is started with no configuration file or customization provided.

set sv_motd "Welcome to Odamex"
set sv_email [email protected]
set sv_waddownload 0
set ctf_manualreturn 0
set ctf_flagathometoscore 1
set ctf_flagtimeout 10
set sv_ticbuffer 1

set sv_dmfarspawn 0

set sv_weapondrop 0
set sv_splashfactor 1

set sv_aircontrol 0.00390625

set sv_gravity 800
set co_globalsound 0
set co_fineautoaim 0

set co_zdoomsound 0
set co_zdoomphys 0
set co_removesoullimit 0
set co_novileghosts 0
set co_allowdropoff 0
set co_boomphys 0
set co_blockmapfix 0
set co_fixweaponimpacts 0
set co_nosilentspawns 0
set co_realactorheight 0

set sv_warmup 0
set g_horde_spawnfull_max 6
set g_horde_spawnfull_min 2
set g_horde_spawnempty_max 3
set g_horde_spawnempty_min 1
set g_horde_goalhp 8
set g_horde_maxtotalhp 10
set g_horde_mintotalhp 4

set g_horde_waves 5
set g_resetinvonexit 0
set g_coopthingfilter 0

set g_winnerstays 0

set g_winlimit 0
set g_lives_jointimer 0
set g_lives 0
set g_roundlimit 0
set g_sides 0
set g_rounds 0

set g_spawninv default
set g_gametypename
set sv_downloadsites
set sv_hostname "Untitled Odamex Server"
set sv_unblockplayers 0
set sv_spawndelaytime 0
set sv_forcerespawntime 30
set sv_forcerespawn 0
set sv_allowshowspawns 1
set sv_allowwidescreen 1
set sv_allowpwo 0
set sv_allowredscreen 1
set sv_allowmovebob 1
set sv_maxunlagtime 1
set sv_sharekeys 0
set sv_keepkeys 0

set sv_weaponstay 1
set sv_intermissionlimit 10
set sv_timelimit 0
set sv_skill 3
set sv_monstershealth 1

set sv_nomonsters 0
set sv_monstersrespawn 0
set sv_itemrespawntime 30
set sv_respawnsuper 0
set sv_itemsrespawn 0
set sv_infiniteammo 0
set sv_fragexitswitch 0
set sv_monsterdamage 1
set sv_fastmonsters 0
set sv_fraglimit 0
set sv_allowtargetnames 0
set sv_freelook 0

set sv_forcewater 0
set sv_weapondamage 1

set sv_doubleammo 0
set sv_allowjump 0
set sv_allowexit 1
set sv_allowcheats 0
set sv_playerbeacons 0

set sv_teamspawns 1

set sv_scorelimit 5
set sv_friendlyfire 1
set sv_gametype 0
set sv_teamsinplay 2
set sv_maxplayersperteam 3

set sv_maxplayers 4

set sv_maxclients 4

Deprecated Variables

These variables no longer exist in Odamex. Do not use them in your configurations.

co_level8soundfeature

co_zdoomspawndelay

spectate_password

sv_antiwallhack

sv_networkcompression

sv_speedhackfix

sv_unlag

sv_warmup_countdown

sv_website

sv_waddownload

sv_waddownloadcap

⚠️ **GitHub.com Fallback** ⚠️