Topic: [Tutorial] Raspberry Pi Raspian Teeworlds Server in Five Steps
I would recommend using screen ("apt-get install screen"). If you don't know what it is, go through these steps before you run any of the following steps. After you're done with this guide, look up screen tutorials and be amazed. Optional steps:
0.a. Run "apt-get install screen"
0.b. Run "screen"
The steps to compile the server from source
1. Check to make sure you have a) python3 and b) bam (apt-get install python3 bam)
2. Get the source of the TW (for example TW+ zip file is here -- "wget https://github.com/Teetime/teeworlds/archive/v0.7.5.zip")
3. Unpack/unzip everything (for example "unzip v0.7.5.zip")
4. Go to your unpacked directory and run "bam server_release"
5. Now, you have a binary file (for example tw+_srv) so you can run the command "./tw+_srv -f YOUR_CONFIG_FILE.cfg"
I'm not sure how the performances are, but on Pi 2, the server uses less than 5% CPU and 1% RAM (you can check this by using "top") so with ~20 kbps network traffic per player, make sure you tune your sv_max_clients accordingly. You also might be glad to know that previous versions of Pi have very good uptime (450 days of uptime so far).
There is one funny bug I noticed. I use an umlaut in my name (Päthos) and on the Pi server, my name shows up as Qäthos but without umlaut, it would just be Pathos. UTF8 is disallowed in the latest versions, so I'm assuming it has to do with that.
Well, Pi is popular and it's only $35 + SD card + power source, so I thought people might be interested in this instead of buying online services.
Credit goes to whitewolf