Game:Teeworlds/Admin

From TuxFamilyFAQ
Revision as of 15:53, 4 May 2015 by Ban (talk | contribs) (→‎start / stop / status / logs: update for the loop script; and suggest screen instead of nohup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



Admin Game:Teeworlds/En


Description

Installation

Official version

  • Use the package manager to install teeworlds-server

OpenFNG mod

  1. Clone the Git repository
  2. Checkout the appropriate branch (currently openfng)
  3. Use the package manager to install the dependencies: bam, libsdl1.2-dev and libfreetype2-dev.
  4. Build the sources using bam (bam and voila)

OpenFNG is currently checked out and built in ~/build/teeworlds-openfng.

DDRace mod

Actually it's iDDRace because stock DDRace doesn't support /r (nor dummies).

  1. Clone the Git repository
  2. Checkout the iddrace branch
  3. Use the package manager to install the dependencies: bam, libsdl1.2-dev and libfreetype2-dev.
  4. Build the sources using bam (bam and voila)

DDrace is currently checked out and built in ~/build/teeworlds-iddrace.

Configuration

FIXME: details

Current setup :

  • servers configurations are in $HOME/*.cfg
  • default port is UDP 8303 for unmodified Teeworlds, UDP 8339 for OpenFNG and UDP 8340 for iDDRace.
  • server is: games.tuxfamily.net

start / stop / status / logs

FIXME: detail the method and improve it

  • Servers are started using cron upon reboot, so when adding/editing a server, you need to use crontab -e and then edit an entry or add an new @reboot entry.
  • Apart from reboot, currently servers are initially started with the script ~/loop.sh inside a screen or using nohup (nohup ./loop.sh server -f config &).

As servers are automatically restarted when they quit (through the ~/loop.sh script), you generally do not need to run them manually. If you want to restart a server, just kill it (the server itself, not the script) and the loop script will restart it right away.

Names of admin for this game

contact:

  • Ban @ irc.tuxfamily.org #tuxfamily
  • johndescs @ irc.tuxfamily.org #tuxfamily

Documentations / links

Current configuration

FIXME: