Difference between revisions of "Game:Teeworlds/Admin"
From TuxFamilyFAQ
Jump to navigationJump to search (→start / stop / status / logs: update for the loop script; and suggest screen instead of nohup) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
*[https://www.teeworlds.com/?page=docs documentation] - [https://www.teeworlds.com/?page=docs&wiki=FAQ FAQ] | *[https://www.teeworlds.com/?page=docs documentation] - [https://www.teeworlds.com/?page=docs&wiki=FAQ FAQ] | ||
*[https://www.teeworlds.com/forum/viewtopic.php?id=7868 OpenFNG mod] | *[https://www.teeworlds.com/forum/viewtopic.php?id=7868 OpenFNG mod] | ||
+ | *[http://ddrace.info DDRace mod] | ||
+ | *[http://iddrace.ipod-clan.com/ iDDRace mod] | ||
=Installation= | =Installation= | ||
Line 15: | Line 17: | ||
==OpenFNG mod== | ==OpenFNG mod== | ||
− | #Clone the [https://github.com/ | + | #Clone the [https://github.com/fstd/teeworlds Git repository] |
− | #Checkout the appropriate branch (currently '' | + | #Checkout the appropriate branch (currently ''openfng'') |
#Use the package manager to install the dependencies: ''bam'', ''libsdl1.2-dev'' and ''libfreetype2-dev''. | #Use the package manager to install the dependencies: ''bam'', ''libsdl1.2-dev'' and ''libfreetype2-dev''. | ||
− | #Build the sources using bam ( | + | #Build the sources using bam (<code>bam</code> and voila) |
+ | |||
+ | OpenFNG is currently checked out and built in ''~/build/teeworlds-openfng''. | ||
+ | |||
+ | ==DDRace mod== | ||
+ | |||
+ | Actually it's [http://iddrace.ipod-clan.com/ iDDRace] because stock [http://ddrace.info DDRace] doesn't support ''/r'' (nor dummies). | ||
+ | |||
+ | #Clone the [https://github.com/Shahan/teeworlds.git Git repository] | ||
+ | #Checkout the ''iddrace'' branch | ||
+ | #Use the package manager to install the dependencies: ''bam'', ''libsdl1.2-dev'' and ''libfreetype2-dev''. | ||
+ | #Build the sources using bam (<code>bam</code> and voila) | ||
+ | |||
+ | DDrace is currently checked out and built in ''~/build/teeworlds-iddrace''. | ||
=Configuration= | =Configuration= | ||
Line 27: | Line 42: | ||
*servers configurations are in $HOME/*.cfg | *servers configurations are in $HOME/*.cfg | ||
− | *default port is UDP 8303 for unmodified Teeworlds | + | *default port is UDP 8303 for unmodified Teeworlds, UDP 8339 for OpenFNG and UDP 8340 for iDDRace. |
*server is: games.tuxfamily.net | *server is: games.tuxfamily.net | ||
Line 33: | Line 48: | ||
FIXME: detail the method and improve it | FIXME: detail the method and improve it | ||
+ | |||
+ | * 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 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
This page is incomplete ! Feel free to finish it. |
Contents
Description
Installation
Official version
- Use the package manager to install teeworlds-server
OpenFNG mod
- Clone the Git repository
- Checkout the appropriate branch (currently openfng)
- Use the package manager to install the dependencies: bam, libsdl1.2-dev and libfreetype2-dev.
- 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).
- Clone the Git repository
- Checkout the iddrace branch
- Use the package manager to install the dependencies: bam, libsdl1.2-dev and libfreetype2-dev.
- 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: