NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to move your DDNet server to PlayNHost

DDNet (DDraceNetwork)Updated Oct 23, 20264 min read

Upload your maps on the Maps page, copy your own settings and votes into myServerconfig.cfg, and set the name, password and passwords on Game Settings. To keep your records, upload your old records file with the server stopped.

1. Collect your files

From your old server or your PC, keep:

WhatWhere it usually is on a DDNet server
Your mapsdata/maps, files ending in .map
Your settings and votesautoexec_server.cfg, myServerconfig.cfg, reset.cfg
Records (finish times and ranks)ddnet-server.sqlite, in the DDNet user folder

2. Upload your maps

  1. Open your server in the panel and click Maps in the left menu.
  2. Click Upload a map and choose a .map file. Repeat for each map.
The Maps on the server list with Upload a map

For many maps at once, upload them to data/maps under Files or with SFTP. See How to connect to your server files with SFTP. Then choose the start map: How to choose the start map of your DDNet server.

3. Set the main settings in the panel

On the Settings tab, under Game Settings, set Server name, Server password, the RCON Password and the staff passwords. The panel writes these at every start, so lines for them in your old files would be overwritten or would fight the panel. See How to set up your DDNet server: key settings.

4. Bring your own settings and votes

  1. Click the Files tab and open myServerconfig.cfg in the main folder.
  2. Paste the lines you changed in your old config: your votes (add_vote), welcome text, vote rules and the like. Leave out sv_name, password, sv_map, sv_register, sv_max_clients, sv_port, the RCON passwords and sv_test_cmds.
  3. If you had a reset.cfg, create one next to myServerconfig.cfg with the same lines.
  4. Save, and restart the server. Check the Console for lines DDNet could not use.

See How to add your own settings to your DDNet server.

5. Bring your records

  1. Stop the server.
  2. Under Files, open .local/share/ddnet.
  3. Delete the ddnet-server.sqlite-wal and ddnet-server.sqlite-shm files there, if there are any. They belong to the records file the server made, and would spoil yours.
  4. Upload your ddnet-server.sqlite there, in place of the one the server made. If your old folder also has ddnet-server.sqlite-wal and ddnet-server.sqlite-shm files, upload them too, or start the old server once more and stop it cleanly first, so everything is in the main file.
  5. Start the server.

Take a backup before you replace the records file: How to back up and restore your DDNet server.

Good to know

Already hosting it somewhere else? Move your server to us

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS