Skip to content

Server Setup

Frank H edited this page Feb 3, 2019 · 15 revisions

On this page


Installation

Download the latest release for your operation system: Domination Release Page

You can also compile your own binary. Please visit the official Teeworlds documentation for further instructions.

Server setup

Please visit the official Teeworlds documentation - Chapter: Server Setup for further instructions.

Server settings

In addition to the Teeworlds Server Settings, this mod includes few custom settings. Please note that the defaults are sane. Usually, only changing sv_gametype is required to pick another gametype. The other mod settings should only be changed if needed for your very unique map.

General settings

Gametype: Domination

  • sv_dom_cappoints
    Default: 5
    Min | Max: 0 | 100
    Description: Number of points player get for capturing a spot.

  • sv_dom_captime
    Default: 5
    Min | Max: 0 | 60
    Description: Sets the base captime for dynamic capturing.

  • sv_dom_use_spots
    Default: "1 1 1 1 1"
    Description: Enables (1) or disables (0) the corresponding Domination Spot. This is probably only needed for debugging.

  • sv_dom_respawn_delay
    Default: 3
    Min | Max: 0 | 60
    Description: How many seconds to wait before respawning. 3 is the default of the vanilla gametype TDM.

  • sv_dom_scorings
    Default: "2.0 1.0 0.7 0.5 0.4"
    Description: Score generation modificator (1 captured spot => 1 score every 2 seconds; 5 captured spots = 1 score every 0.4 seconds).

Gametype: Kill Domination

  • sv_dom_cappoints, sv_dom_captimes, sv_dom_use_spots and sv_dom_respawn_delay will work accordingly.

  • sv_kdom_capscore
    Default: 0
    Min | Max: 0 | 100
    Description: Score multiplicator when capturing a spot. For example when set to 5, capturing a spot will grant the team for each spot it owns: 1 spot = 5 score, 2 spots = 10 score ... . With the default value '0' capturing a spot won't give any score.

Gametype: Conquest

  • sv_dom_cappoints and sv_dom_use_spots will work accordingly.

  • sv_conq_captimes
    Default: 10
    Min | Max: 0 | 60
    Description: Sets the base captime for dynamic capturing.

  • sv_conq_respawn_delay
    Default: 10
    Min | Max: 0 | 60
    Description: How many seconds to wait before respawning.

  • sv_conq_wintime
    Default: 30
    Min | Max: 0 | 60
    Description: Seconds for the WinTimer, started after a team lost all spots.

Gametype: CS:DOM

  • sv_dom_use_spots will work accordingly.

  • sv_dom_cappoints will work for blue accordingly. For red, it will reward 1/3 of the overall cappoints (default: 2 points) for capturing the spot and 2/3 (default: 3 points) if it explodes.

  • sv_csdom_captime
    Default: 5
    Min | Max: 0 | 60
    Description: Sets the base captime for dynamic capturing.

  • sv_csdom_buy_timelimit
    Default: 10
    Min | Max: 0 | 60
    Description: Timelimit to pick a weapon in seconds (0 disables picking a weapon at all).

  • sv_csdom_drop_ammo
    Default: 4
    Min | Max: 0 | 10
    Description: Drop x remaining ammo on death (0 = no ammo drop).

  • sv_csdom_explode_time
    Default: 40
    Min | Max: 0 | 300
    Description: Duration before the captured spot explodes.

  • sv_csdom_halftime
    Default: 1
    Min | Max: 0 | 1
    Description: Swap teams after half of the match (0 = no swap during match).

  • sv_csdom_spawn_armor
    Default: 10
    Min | Max: 0 | 10
    Description: Amount of armor to spawn with.

  • sv_csdom_timelimit
    Default: 2
    Min | Max: 0 | 5
    Description: Time limit in minutes (0 disables).

  • sv_csdom_weapon_respawn
    Default: 1
    Min | Max: 0 | 1
    Description: Respawn weapons until buytime expires. If set to 0, each weapon can only be picked once, and picking another weapon will drop the current one.

Server commands

  • dom_spawns
    Parameter: Integer (required)
    Example usage: dom_spawns 2 will display all spawns for spot B.
    Description: This command will display all spawns for the given spot via parameter (1 = spot A, 5 = spot E). Red spawns are displayed as PICKUP_HEALTH, blue spawns as PICKUP_AMMO (Laser), and neutral spawns as PICKUP_ARMOR. This is useful to double check the spawns on the map.
    💡 Don't forget to restart or reload afterwards to remove the pickups.

Example configurations

ℹ️ The provided examples only set specific settings for the gametype. You may need additional settings for your setup, like sv_port etc. .

Gametype: Domination

sv_gametype        dom
# Set scorelimit and timelimit to your liking. You can even omit them.
sv_scorelimit      400
sv_timelimit       10
# You find this map and more in our wiki
sv_map             dom_bridge

# You probably want to change this
sv_name            Domination sample dom
sv_max_clients     32
sv_player_slots    10
sv_rcon_password   remember
sv_motd            Capture the domination spots to gain team score over time.\n\nType /info for more information.

# You may add some votes for changing maps, scorelimit, timelimit, playerslots ...

Gametype: Kill Domination

sv_gametype        kdom
# Set scorelimit and timelimit to your liking. You can even omit them.
sv_scorelimit      30
sv_timelimit       10
# You find this map and more in our wiki
sv_map             dom_bridge

# You probably want to change this
sv_name            Domination sample kdom
sv_max_clients     32
sv_player_slots    10
sv_rcon_password   remember
sv_motd            Capture the domination spots.\n\nGain team score per spot for each kill.\n\nType /info for more information.

# You may add some votes for changing maps, scorelimit, timelimit, playerslots ...

Gametype: Conquest

sv_gametype        conq
# Set timelimit to your liking. You can even omit it.
sv_timelimit       10
# You find this map and more in our wiki
sv_map             conq_ctf2

# You probably want to change this
sv_name            Domination sample conq
sv_max_clients     32
sv_player_slots    10
sv_rcon_password   remember
sv_motd            Capture all domination spots to win.\n\nType /info for more information.

# You may add some votes for changing maps, scorelimit, timelimit, playerslots ...

Gametype: CS:DOM

sv_gametype        csdom
# Set scorelimit to your liking. You can even omit it.
sv_scorelimit      8
# You find this map and more in our wiki
sv_map             csdom_dm2

# You probably want to change this
sv_name            Domination sample cs:dom
sv_max_clients     32
sv_player_slots    10
sv_rcon_password   remember
sv_motd            Weapons: Pick one within 10 seconds.\n\nRed: Take the flag and capture a spot.\n\nBlue: Defend the spots or neutralize them in time!\n\nAmmo: Pick up the blue ammo for any primary weapon.\n\nType /info for more information.

# You may add some votes for changing maps, scorelimit, timelimit, playerslots ...