Skip to content

Teeworlds

services.teeworlds.enable

Whether to enable Teeworlds Server. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.extraOptions

Extra configuration lines for the {file}teeworlds.cfg. See Teeworlds Documentation.

Type: list of string

Default

[ ]

Example

["sv_map dm1""sv_gametype dm"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.enablePowerups

Whether to allow powerups such as the ninja.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.enableReadyMode

Whether to enable "ready mode"; where players can pause/unpause the game and start the game in warmup, using their ready state.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.enableTeamDamage

Whether to enable team damage; whether to allow team mates to inflict damage on one another.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.enableVoteKick

Whether to enable voting to kick players.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.gameType

The game type to use on the server.

The default gametypes are dm, tdm, ctf, lms, and lts.

Type: string

Default

"dm"

Example

"ctf"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.map

The map to use on the server.

Type: string

Default

"dm1"

Example

"ctf5"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.playerSlots

The amount of slots to reserve for players (as opposed to spectators).

Type: unsigned integer, meaning >=0

Default

8

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.restrictSpectators

Whether to restrict access to information such as health, ammo and armour in spectator mode.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.scoreLimit

The score limit needed to win a round.

Type: unsigned integer, meaning >=0

Default

20

Example

400

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.swapTeams

Whether to swap teams each round.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.timeLimit

Time limit of the game. In cases of equal points, there will be sudden death. Setting this to 0 disables a time limit.

Type: unsigned integer, meaning >=0

Default

0

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.tournamentMode

Whether to enable tournament mode. In tournament mode, players join as spectators. If this is set to restrictSpectators, tournament mode is enabled but spectator chat is restricted.

Type: one of "disable", "enable", "restrictSpectators"

Default

"disable"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.voteKickBanTime

The amount of minutes that a player is banned for if they get kicked by a vote.

Type: unsigned integer, meaning >=0

Default

5

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.game.voteKickMinimumPlayers

The minimum amount of players required to start a kick vote.

Type: unsigned integer, meaning >=0

Default

5

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.motd

The server's message of the day text.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.name

Name of the server.

Type: string

Default

"unnamed server"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.openPorts

Whether to open firewall ports for Teeworlds. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.package

The teeworlds-server package to use. Type: package

Default

pkgs.teeworlds-server

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.password

Password to connect to the server.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.port

Port the server will listen on.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8303

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.rconPassword

Password to access the remote console. If not set, a randomly generated one is displayed in the server log.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.register

Whether the server registers as a public server in the global server list. This is disabled by default for privacy reasons.

Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.bindAddr

The address the server will bind to.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.enableHighBandwidth

Whether to enable high bandwidth mode on LAN servers. This will double the amount of bandwidth required for running the server.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.enableSpamProtection

Whether to enable chat spam protection.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.hostName

Hostname for the server.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.inactivePenalty

Specify what to do when a client goes inactive (see ).

  • spectator: send the client into spectator mode

  • spectator/kick: send the client into a free spectator slot, otherwise kick the client

  • kick: kick the client

Type: one of "spectator", "spectator/kick", "kick"

Default

"spectator/kick"

Example

"spectator"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.inactiveTime

The amount of minutes a client has to idle before it is considered inactive.

Type: unsigned integer, meaning >=0

Default

3

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.kickInactiveSpectators

Whether to kick inactive spectators.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.maxClients

The maximum amount of clients that can be connected to the server at the same time.

Type: unsigned integer, meaning >=0

Default

12

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.maxClientsPerIP

The maximum amount of clients with the same IP address that can be connected to the server at the same time.

Type: unsigned integer, meaning >=0

Default

12

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix

services.teeworlds.server.skillLevel

The skill level shown in the server browser.

Type: one of "casual", "normal", "competitive"

Default

"normal"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/teeworlds.nix