TeeWorlds is a free and open-source online multiplayer shooter game. In this tutorial, I’m going to explain how to create a TeeWorlds server. These steps were written for Debian (Ubuntu), but will most likely work on other Linux distros too.
Setting Up TeeWorlds
Download the TeeWorlds package to your server. You may check for newer releases on the official site.
If you are using x86_64:
wget https://downloads.teeworlds.com/teeworlds-0.6.3-linux_x86_64.tar.gz
If you are using x86:
wget https://downloads.teeworlds.com/teeworlds-0.6.2-linux_x86.tar.gz
Extract the server software.
tar xfv <package-name>.tar.gz
cd <extract folder>
chmod +x teeworlds_srv
Create a configuration file for your TeeWorlds server.
nano ./config.cfg
Here is a template that you can use:
sv_nameMyTeeWorldsServer
sv_port8303
sv_max_clients16
sv_mapctf2
sv_rcon_passwordMyPass
sv_scorelimit500
sv_timelimit60
sv_gametypectf
sv_motdMOTDhere.
- You can find more about the configuration on the TeeWorlds Docs.
Next, install the screen utility. You must use the screen to keep your TeeWorlds server running after disconnecting from your AKLWEB HOST VPS.
apt-get install screen
Finally, start your server.
screen ./teeworlds_srv -f config.cfg
Conclusion
Now you have installed TeeWorlds on your VPS. You will be able to connect to it on port 8303 using the TeeWorlds game client. Enjoy!