Difference between revisions of "Game:Teeworlds/Admin"

From TuxFamilyFAQ
Jump to navigationJump to search
(We changed the OpenFNG git repo we use (the old was (more) dead), update to reflect this)
(→‎start / stop / status / logs: update for the loop script; and suggest screen instead of nohup)
 
Line 50: Line 50:
  
 
* Servers are started using ''cron'' upon reboot, so when adding/editing a server, you need to use <code>crontab -e</code> and then edit an entry or add an new ''@reboot'' entry.
 
* Servers are started using ''cron'' upon reboot, so when adding/editing a server, you need to use <code>crontab -e</code> and then edit an entry or add an new ''@reboot'' entry.
* Apart from reboot, currently servers are initially started using ''nohup'' (<code>nohup server -f config &</code>).
+
* Apart from reboot, currently servers are initially started with the script <code>~/loop.sh</code> inside a ''screen'' or using ''nohup'' (<code>nohup ./loop.sh server -f config &</code>).
 +
 
 +
As servers are automatically restarted when they quit (through the <code>~/loop.sh</code> 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=
 
=Names of admin for this game=

Latest revision as of 15:53, 4 May 2015



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: