This guide covers how to set up your DDRaceNetwork (DDNet) server on Legion Hosting, configure startup variables, edit the server config, and connect to your server. DDNet is an actively maintained cooperative Teeworlds modification with unique physics-based gameplay. For admin commands and server management, see DDRaceNetwork Admin Commands.
DDNet-Server and configuration uses Teeworlds-style syntax.
1. First Start
- Log in to GPanel and select your DDRaceNetwork server.
- Go to the Startup tab and review the configurable variables (see Section 2).
- Set your SERVER_NAME and SERVER_MAP as desired.
- Return to the Console tab and click Start.
- Wait for the console to show your server name, confirming successful startup.
2. GPanel Startup Variables
| Variable | Default | Description |
|---|---|---|
VERSION | latest | Game version. Use latest, nightly for beta, or a specific version like 17.0. |
SERVER_NAME | My DDNet server | The name displayed in the server browser. |
SERVER_PASSWORD | (empty) | Password to join the server. Leave empty for no password. |
SERVER_MAP | Tutorial | The map loaded on server start. |
SERVER_REGISTER | 0 | Register the server to the public server list. 0 = disabled, ipv4 = enabled. |
3. Server Configuration
The main configuration file is automatically generated from startup variables.
File Location
data/autoexec_server.cfg
This file uses Teeworlds config syntax: setting value or setting "value" (one per line).
Key Settings
| Setting | Description |
|---|---|
sv_port | Server port (managed by GPanel, do not change). |
sv_name | Server name in the browser. |
password | Join password. Empty string for public. |
sv_map | Starting map. |
sv_register | Register on master server list. |
sv_max_clients | Maximum connected players. |
sv_rcon_password | RCON password for remote admin. |
Custom Config
You can also create a custom config file at the server root:
myServerconfig.cfg
Add any overrides here. Settings in this file are applied after autoexec_server.cfg.
4. Maps
DDNet ships with hundreds of built-in maps. Popular starting maps include:
Tutorial-- Introductory map for new players.Kobra-- Classic DDRace map.Sunny Side Up-- Moderate difficulty cooperative run.
Custom maps (.map files) can be uploaded to the data/maps/ directory via SFTP.
5. How to Connect
Option A -- DDNet Client Browser
- Launch DDNet, go to Internet in the server browser.
- Search for your server by name (requires
SERVER_REGISTERset toipv4). - Select and connect.
Option B -- Direct Connect
- Open the DDNet client and press F1 to open the console.
- Type:
connect <your-server-ip>:<port>
Related Articles
Need Help?
If you run into issues with your DDNet server that are not covered here, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.