This guide covers setting up and configuring your Teeworlds dedicated server on Legion Hosting. Teeworlds is a free online multiplayer game featuring retro-style 2D combat for up to 16 players. For admin commands and server management, see our Teeworlds Admin Commands guide.
What is Teeworlds?
Teeworlds is a free, open-source, online multiplayer game with retro-style 2D graphics. Players battle with up to 16 players in a variety of game modes including Team Deathmatch, Capture The Flag, and Deathmatch. The game also supports custom maps.
First Start
- Log in to GPanel at gpanel.legionhosting.net
- Select your Teeworlds server from the server list
- Go to the Startup tab and set your server name and MOTD
- Click Start to launch the server
- The server is online when the console displays
as master, sending heartbeats
GPanel Startup Variables
| Variable | Description | Default |
|---|---|---|
SERVER_NAME |
Display name for the server in the browser | A Pterodactyl Hosted Teeworlds Server |
SERVER_MOTD |
Message of the Day displayed to players on join | A Pterodactyl Hosted Teeworlds Server |
Configuration File
The main configuration file is:
autoexec.cfg
This file is automatically populated with your startup variable values. You can add additional settings directly to this file. Key settings include:
| Setting | Description | Default |
|---|---|---|
sv_port |
Server port (managed automatically) | Assigned by GPanel |
sv_name |
Server name in the browser | Set via startup variable |
sv_motd |
Message of the Day | Set via startup variable |
sv_max_clients |
Maximum number of connected players | 16 |
sv_max_clients_per_ip |
Max connections from a single IP | 4 |
password |
Server password (empty = no password) | (empty) |
sv_rcon_password |
RCON password for admin commands | (empty) |
sv_map |
Starting map | dm1 |
sv_gametype |
Game mode: dm, tdm, ctf, lms, lts |
dm |
Game Modes
| Mode | Value | Description |
|---|---|---|
| Deathmatch | dm |
Free-for-all combat |
| Team Deathmatch | tdm |
Team-based combat |
| Capture The Flag | ctf |
Capture the enemy flag |
| Last Man Standing | lms |
Survive to the end |
| Last Team Standing | lts |
Team-based survival |
How to Connect
Via Server Browser
- Launch Teeworlds
- Go to the Internet tab in the server browser
- Search for your server by name
- Select it and click Connect
Via Direct Connect
- Launch Teeworlds
- Enter your server's IP and port in the direct connect field
File Structure
autoexec.cfg <-- Main server configuration
storage.cfg <-- Storage paths configuration
maps/ <-- Custom map files (.map)
Related Articles
Need Help?
If you are experiencing issues with your Teeworlds server, our support team is here to help. Submit a support ticket and we will get back to you as soon as possible.