This guide covers how to set up and configure your DDNet (DDraceNetwork) dedicated server hosted with Legion Hosting. DDNet is a cooperative 2D platformer where players work together to complete challenging maps. For admin commands and server management, see DDNet Server Admin Guide.
1. Accessing Your Server
- Log in to GPanel.
- Select your DDNet server from the server list.
- Your server IP and port are displayed on the Console tab. See How to Find Your Server IP and Port for details.
2. Startup Variables
Configure these settings from the Startup tab in GPanel:
| Variable | Env Name | Default | Description |
|---|---|---|---|
| Auto Update | AUTO_UPDATE |
1 | Update the server on startup. 1 = on, 0 = off. |
| Server Name | SERVER_NAME |
A Pterodactyl DDNet Server | Server name in the browser (max 64 characters). |
| Server Password | SERVER_PASS |
(empty) | Password to join the server. Leave blank for public access. |
| Server Map | SERVER_MAP |
Sunny Side Up | Map loaded on startup. See DDNet map list. |
| Public Server | PUBLIC_SERVER |
0 | Register on the DDNet server list. 1 = public, 0 = private. |
| Max Players | MAX_PLAYERS |
64 | Maximum number of clients (1-64). |
3. Configuration File
The main configuration file is ddnet/data/autoexec_server.cfg. The panel automatically manages the port, server name, map, public status, and max clients in this file.
sv_port 8303
sv_name "My DDNet Server"
sv_map "Sunny Side Up"
sv_register 0
sv_max_clients 64
sv_port, sv_name, sv_map, sv_register, sv_max_clients) are overwritten on startup. Add custom settings on new lines in the file.
Additional settings you can add:
| Setting | Description |
|---|---|
sv_rcon_password "pass" |
RCON password for remote admin access. |
sv_rcon_mod_password "pass" |
Moderator RCON password (fewer permissions than admin). |
password "pass" |
Server join password. |
sv_max_clients_per_ip 4 |
Max connections per IP address. |
sv_motd "message" |
Message of the day. |
4. Connecting to Your Server
- Download DDNet from ddnet.org (free).
- Launch DDNet.
- If your server is public (
PUBLIC_SERVER=1), find it in the server browser. - To connect directly, press F1 to open the console and type:
connect [IP]:[PORT] - Enter the password if one is set.
5. Maps
DDNet includes thousands of community maps. The default map Sunny Side Up is a good starting point. You can change the map via:
- The
SERVER_MAPstartup variable (sets the map loaded on boot). - The in-game RCON command
sv_map "Map Name"to change maps on the fly. - Uploading custom maps to the
ddnet/data/maps/directory via SFTP.
6. First-Time Setup Checklist
- Set a
SERVER_NAMEin the Startup tab. - Choose your starting
SERVER_MAP. - Set an RCON password in
autoexec_server.cfgfor admin access. - Decide if you want the server public or private (
PUBLIC_SERVER). - Start the server and verify it appears in the browser (if public).
Related Articles
Need Help?
If you run into issues with your DDNet server, open a support ticket and include your server IP, a description of the problem, and any error messages from the GPanel console.