Admin

News

The last commits for conyar added support for internal versi (...)
New C++ framework for distributed systems (...)

GPL v3
Valid XHTML 1.1
Valid CSS!

Admin Modification for better Server-Management

Author: Markus Pargmann   Created: 19 November 2008   Last update: 19 November 2008   Revision: 1
This modofication helps to manage the teeworlds server. There are many options to protect the server against player who interrupt the normal game. The gameplay doesn't change.

Thanks to Rajh for his racemod

Download

Linux x86 binary
Linux x86_64 binary
Linux Patch-file
Windows x86 binary
Windows Patch-file

You can use the binaries the same way you are using the teeworlds_srv file. Don't forget to put the binary into the teeworlds directory.

To apply the patch-file, first download the sources from http://teeworlds.com, extract them and change to the extracted directory. Move the patch-file to this directory. Apply the patch on linux by typing "patch -p1 < improved_physics.patch". Then follow the help to compile the source on http://teeworlds.com.

Configuration

All options are disabled if you set them to 0.
Option Value range Recommended value Standard Description
sv_teamchanges 0-100 3 0 allowed teamchanges in 30 seconds
sv_time_blocked 1-10000 180 180 How long the player can't change team
sv_teamchangeskick 0-100 2 0 allowed teamchanges, after the user tried to change team more often, before the player will be kicked
sv_teamchangesban 0-100 5 0 How many minutes the player is banned after ther kick
sv_messagesnum 0-100 7 0 allowed messages in 30 seconds
sv_same_messages 0-100 2 0 how much exactly same messages in 30 seconds are allowed
sv_time_muted 1-1000 180 180 how much seconds the player is muted
sv_messageskick 0-100 2 0 allowed messages, after the user tried to send messages more often, before the player will be kicked
sv_messagesban 0-100 5 0 How many minutes the player is banned after ther kick
sv_startmessage max. 1000 characters Message that appears on joining the server, only visible for the one player
sv_endroundmessage max. 1000 characters message that appears at the end of a round
sv_reserved_slots 0-12 1 0 reserved slots on a server, which are secured with a password
sv_reserved_slots_pass max. 32 characters password for the reserved slots. For joining a reserved slot, type "password xxx" in F1-console
sv_allow_votes 0-1 1 0 Allows votes to kick players
sv_all_vote 0-1 1 0 At least half of the players have to vote positive for a positive result
sv_votetime 0-500 60 60 How much seconds the vote is active
sv_ban_time 0-1000 10 10 How long the player is banned through a kick-vote
sv_handle_mapvotes 0-1 1 0 Activates a response to mapvotings. Gives the player the feeling of a successfull vote. Only sensefull with StaTee version 0.2.0
sv_kick_teamkiller 0-100 3 0 How often a player is allowed to kill himself or teammates without a kill between(incl. teamchanges)
sv_ban_teamkiller 0-100 3 0 Soll der Spieler nach Überschreiten von sv_kick_teamkiller gebannt werden, für wie viele minuten
sv_name_blacklist 0-1 0 0 This option needs the file name_blacklist in the same directory with at least one name in it and no new line at the end of file. All players who try to connect with one of those names, will be banned for 30 minutes
sv_team_balance 0-100 1 0 The maximal allowed difference between the number of players in the teams. Is the difference above this, a random player changes the team.
sv_balance_warning 0-1000 30 0 If sv_team_balance is not set, this value defines the difference between the teams, when a warning will be sent. If sv_team_balance is set, this value defines the time of warnings before auto-balancing
sv_allow_next_map 0-1 1 0 Allows votes for changing map.
sv_allow_timelimit 0-1 1 0 Allows votes for changing the timelimit
sv_allow_scorelimit 0-1 1 0 Allows votes for changing the scorelimit
sv_vote_pause 0-1000 90 0 seconds a player have to wait between two started votes
sv_silent_mode 0-1 1 0 Hides every server-message that should receive every player

Commands

Admin (F2-console)

  • vote <time> <question> (starts a voting with the question)
  • ban <id> <time> (Bans the player with the specified id)
  • banlist (List of banned IPs)
  • unban <id> (Deletes the ban of an IP)
  • add_blacklist <name> (Adds the name to the name_blacklist)
  • cancel_vote (Cancels the current vote)
  • next_map (Switch to next map)

Player (Chat-commands)

  • .info (information about all commands)
  • /++ (positive map-voting)
  • /-- (negative map-voting)
  • /kick <name> (Starts a vote to kick the player)
  • /players (List of all players with their player-ids)
  • /kick_id <player-id> (Starts a vote to kick the player with that player-id)
  • /timelimit <new value> (Starts a vote to change the timelimit)
  • /scorelimit <new value> (Starts a vote to change the scorelimit)
  • /next_map (Starts a vote to go to the next map)
  • /currentvote (Shows the current voting)
  • /yes (positive to the current vote)
  • /no (negative to the current vote)
Statistics
Current visitors: 2
Visitors: 9794
Site views: 257
Website views: 14593