riftbit/teeworlds

By riftbit

Updated over 1 year ago

Small, Fast and Fully Customizable server for Teeworlds Game

Image
5

100K+

riftbit/teeworlds repository overview

Teeworlds

Small, Fast and Fully Customizable server for Teeworlds Game

Docker Pulls Docker Stars

Exposed Ports:
  • 8303/udp for game
  • 8304 for econ
Volumes:
  • /teeworld/data - game data, maps, plugins etc

ENV Configs

Server Settings
Engine settings
  • TW_sv_name {default: DeathMatch by Riftbit [ErgoZ] Bitbase <github.com/riftbit>} - Name of the server

  • TW_bindaddr {default: *} - Address to bind

  • TW_sv_port {default: 8303} - Port the server will listen on

  • TW_sv_external_port {default: 0} - Port to report to the master servers (e.g. in case of a firewall rename)

  • TW_sv_max_clients {default: 12} - Number of clients that can be connected to the server at the same time

  • TW_sv_max_clients_per_ip {default: 12} - Number of clients with the same ip that can be connected to the server at the same time

  • TW_sv_high_bandwidth {default: 0} - Use high bandwidth mode, for LAN servers only

  • TW_sv_register {default: 1} - Register on the master servers

  • TW_sv_map {default: dm1} - Map to use

  • TW_sv_rcon_password {default:} - Password to access the remote console (if not set, rcon is disabled)

  • TW_password {default:} - Password to connect to the server

  • TW_console_output_level {default: 0} - Adjust the amount of messages in the console

  • TW_sv_rcon_max_tries {default: 3} - Maximum number of tries for remote console authetication

  • TW_sv_rcon_bantime {default: 5} - Time (in minutes) a client gets banned if remote console authentication fails (0 makes it just use kick)

  • TW_sv_auto_demo_record {default: 0} - Automatically record demos

  • TW_sv_auto_demo_max {default: 10} - Maximum number of automatically recorded demos (0 = no limit)

  • TW_ec_bindaddr {default: localhost} - Address to bind the external console to. Anything but 'localhost' is dangerous

  • TW_ec_port {default: 8304} - Port to use for the external console

  • TW_ec_password {default:} - External console password

  • TW_ec_bantime {default: 0} - The time a client gets banned if econ authentication fails. 0 just closes the connection

  • TW_ec_auth_timeout {default: 30} - Time in seconds before the the econ authentication times out

  • TW_ec_output_level {default: 1} - Adjusts the amount of information in the external console

Game settings
  • TW_sv_warmup {default: 0} - Warmup time between rounds

  • TW_sv_scorelimit {default: 20} - Score limit of the game (0 disables it)

  • TW_sv_timelimit {default: 0} - Time limit of the game (in case of equal points there will be sudden death)

  • TW_sv_gametype {default: dm} - Gametype (dm/ctf/tdm/lms/lts/mod) (This setting needs the map to be reloaded in order to take effect)

  • TW_sv_maprotation {default:} - The maps to be rotated

  • TW_sv_rounds_per_map {default: 1} - Number of rounds before changing to next map in rotation

  • TW_sv_motd {default: Teeworlds server by Riftbit [ErgoZ] Bitbase <github.com/riftbit>} - Message of the day, shown in server info and when joining a server

  • TW_sv_player_slots {default: 8} - Number of slots to reserve for players. Replaces "svspectatorslots"

  • TW_sv_teambalance_time {default: 1} - Time in minutes after the teams are uneven, to auto balance

  • TW_sv_spamprotection {default: 1} - Enable spam filter

  • TW_sv_tournament_mode {default: 0} - Players will automatically join as spectator

  • TW_sv_player_ready_mode {default: 0} - When enabled, players can pause/unpause the game and start the game on warmup via their ready state

  • TW_sv_strict_spectate_mode {default: 0} - Restricts information like health, ammo and armour in spectator mode

  • TW_sv_silent_spectator_mode {default: 1} - Mute join/leave message of spectator

  • TW_sv_skill_level {default: 1} - Skill level shown in serverbrowser (0 = casual, 1 = normal, 2 = competitive)

  • TW_sv_respawn_delay_tdm {default: 3} - Time needed to respawn after death in tdm gametype

  • TW_sv_teamdamage {default: 0} - Enable friendly fire

  • TW_sv_powerups {default: 1} - Enable powerups (katana)

  • TW_sv_respawn_delay_tdm {default: 1} - Enable powerups (katana)

  • TW_sv_vote_kick {default: 1} - Enable kick voting

  • TW_sv_vote_kick_bantime {default: 5} - Time in minutes to ban a player if kicked by voting (0 equals only kick)

  • TW_sv_vote_kick_min {default: 0} - Minimum number of players required to start a kick vote

  • TW_sv_inactivekick_time {default: 3} - Time in minutes after an inactive player will be taken care of

  • TW_sv_inactivekick {default: 1} - How to deal with inactive players (0 = move to spectator, 1 = move to free spectator slot/kick, 2 = kick)

  • TW_sv_vote_spectate {default: 1} - Allow voting to move players to spectators

  • TW_sv_vote_spectate_rejoindelay {default: 3} - How many minutes to wait before a player can rejoin after being moved to spectators by vote

Server Tuning

Tuning is a way to edit physics and weapon settings so that the server is more customizable. Tuning can only be used on non-pure gametypes. Set the gametype to mod using TW_sv_gametype mod and tune a variable

Physics Tuning
  • TW_ground_control_speed {default: 10.0} - Max speed the tee can get on ground
  • TW_ground_control_accel {default: 2.0} - Acceleration speed on the ground
  • TW_ground_friction {default: 0.5} - Friction on the ground
  • TW_ground_jump_impulse {default: 13.2} - Impulse when jumping on ground
  • TW_air_jump_impulse {default: 12.0} - Impulse when jumping in air
  • TW_air_control_speed {default: 5.0} - Max speed the tee can get in the air
  • TW_air_control_accel {default: 1.5} - Acceleration speed in air
  • TW_air_friction {default: 0.9} - Friction in the air
  • TW_hook_length {default: 380.0} - Length of the hook (pixels)
  • TW_hook_fire_speed {default: 80.0} - How fast the hook is fired
  • TW_hook_drag_accel {default: 3.0} - Acceleration when hook is stuck
  • TW_hook_drag_speed {default: 15.0} - Drag speed of the hook
  • TW_gravity {default: 0.5} - Gravity of the teeworld
  • TW_velramp_start {default: 550.0} - Velocity ramp start
  • TW_velramp_range {default: 2000.0} - Velocity ramp range
  • TW_velramp_curvature {default: 1.4} - Velocity ramp curvature
  • TW_player_collision {default: 1} - Enable player collisions
  • TW_player_hooking {default: 1} - Enable player vs player hooking
Weapon Tuning
  • TW_gun_curvature {default: 1.25} - Gun curvature
  • TW_gun_speed {default: 2200.0} - Gun speed (pixels / sec)
  • TW_gun_lifetime {default: 2.0} - Gun lifetime (sec)
  • TW_shotgun_curvature {default: 1.25} - Shotgun curvature
  • TW_shotgun_speed {default: 2750.0} - Shotgun speed (pixels / sec)
  • TW_shotgun_speeddiff {default: 0.8} - (UNUSED) Speed difference between shotgun bullets
  • TW_shotgun_lifetime {default: 0.20} - Shotgun lifetime (sec)
  • TW_grenade_curvature {default: 7.0} - Grenade curvature
  • TW_grenade_speed {default: 1000.0} - Grenade speed (pixels / sec)
  • TW_grenade_lifetime {default: 2.0} - Grenade lifetime (sec)
  • TW_laser_reach {default: 800.0} - How long the laser can reach (pixels)
  • TW_laser_bounce_delay {default: 150.0} - When bouncing, stop the laser this long (ms)
  • TW_laser_bounce_num {default: 1.0} - How many times the laser can bounce
  • TW_laser_bounce_cost {default: 0.0} - Remove this much from reach when laser is bouncing (pixels)
  • TW_laser_damage {default: 5.0} - Laser damage (damage)

Tag summary

Content type

Image

Digest

sha256:85a4e850b

Size

49.5 MB

Last updated

over 1 year ago

docker pull riftbit/teeworlds