6.3 KiB
runescape-dragonwilds
Overview
Dedicated server for RuneScape: DragonWilds. Runs on a Linux Docker host and accepts players from PC, PS5, Xbox Series X|S and Switch 2 (crossplay, game 1.0+). Server files are downloaded/updated on start and saves persist to a host volume.
Project Details
- Project Repository: indifferentbroccoli/runescape-dragonwilds-server-docker
- Container Image: Docker Hub
- Compose Example: Compose
- Documentation: Dedicated Servers - A How-To Guide
- Reverse Proxy Port: none — game traffic is UDP
7777(game) and8888(beacon), not proxied through NPM
Getting Started
Consoles can't run the server, so you need a separate always-on machine (home server, VPS). These steps assume a Linux x86_64 (amd64) host — the image has no ARM build — with at least 8 GB RAM, and that you only own the Xbox version of the game.
1. Get your Player ID (on the Xbox)
- On the Xbox, open RuneScape: DragonWilds → Settings and scroll to the bottom
- Note the Player ID — 32 letters and numbers. There's no clipboard from Xbox to the server, so copy it out carefully (a photo of the screen helps). One wrong character and the server won't recognise you as owner.
2. Install Docker on the server
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER # log out and back in afterwards
docker network create proxy # once per host, required by every stack in this repo
3. Open the ports
Players connect straight to the server over UDP, so both ports have to be reachable from the internet.
Host firewall (if ufw is active):
sudo ufw allow 7777/udp
sudo ufw allow 8888/udp
Router: forward UDP 7777 and UDP 8888 to the server's LAN IP (give the server a static IP / DHCP reservation first). On a VPS, open the same two UDP ports in the provider's firewall / security group instead.
If you are behind CGNAT (your router's WAN IP is not your public IP — check with curl -4 ifconfig.me), port forwarding won't work; use a VPS or ask your ISP for a public IP.
4. Configure and start
git clone <this-repo> && cd <this-repo>/runescape-dragonwilds
cp sample.env .env
nano .env # set RSDW_OWNER_ID, RSDW_ADMIN_PASSWORD, RSDW_WORLD_NAME
docker compose up -d
docker compose logs -f # first start downloads several GB of server files
.env must have RSDW_OWNER_ID set or the container exits with OWNER_ID is not set.
5. Join from the Xbox
- Xbox Settings → Account → Privacy & online safety: allow playing with people outside Xbox (crossplay is blocked at the console level otherwise). An Xbox Game Pass Core/Ultimate subscription is needed for online play.
- In game: Play → Worlds → Public tab, search for the exact
RSDW_WORLD_NAME(case sensitive), wait a few seconds, then join. - Enter
RSDW_WORLD_PASSWORDif you set one. UseRSDW_ADMIN_PASSWORDunder Server Management to change world settings.
If the world shows up in search but you can't join, the ports aren't reachable — recheck step 3.
Environment Variable Notes
RSDW_OWNER_ID – REQUIRED. Your Player ID (bottom of the in-game Settings menu, see Getting Started)
RSDW_ADMIN_PASSWORD – REQUIRED. Server Management password, default: ChangeThisPassword
RSDW_WORLD_PASSWORD – optional join password; empty = public
RSDW_SERVER_NAME – server display name, default: DragonWildsServer
RSDW_WORLD_NAME – world created on first start; this is what players search for, default: MyWorld
RSDW_MAX_PLAYERS – default: 6
RSDW_PORT – game UDP port, default: 7777 (also sets DEFAULT_PORT in the container)
RSDW_BEACON_PORT – world settings beacon UDP port, default: 8888 (also sets BEACON_PORT)
RSDW_UPDATE_ON_START – set false to skip the server download/validation on start
RSDW_PUID / RSDW_PGID – owner of the server files, default: 1000
Volume Notes
/home/steam/server-files – host path /data/runescape-dragonwilds/server-files (server binaries, saves, config)
Back up the saves inside this directory; the server binaries can be re-downloaded.
Network Notes
Requires proxy network (declared for convention only — players connect directly over UDP, not through NPM).
Docker Run
docker run -d \
--name runescape-dragonwilds \
--restart unless-stopped \
--stop-timeout 30 \
-p 7777:7777/udp \
-p 8888:8888/udp \
-e OWNER_ID=YourPlayerId \
-e ADMIN_PASSWORD=ChangeThisPassword \
-v /data/runescape-dragonwilds/server-files:/home/steam/server-files \
indifferentbroccoli/runescape-dragonwilds-server-docker:latest
See compose.yaml for the full set of environment variables.
Additional Notes / Gotchas
- Host and container ports must match — mismatched ports cause join failures. The compose file uses the same var for both sides; don't remap one without the other.
- The beacon port (8888) is required for creating/editing worlds.
- The server won't show up without working port forwarding and a valid
OWNER_ID/ADMIN_PASSWORD. - Joining players never need the Owner ID — only the host does.
- RAM: about 2 GB + 1 GB per player (8 GB for a full 6-player server).
stop_grace_period: 30sgives the server time to save on shutdown.- Crossplay (PC, PS5, Xbox Series X|S, Switch 2) is supported since 1.0. The image doesn't set
PlatformPolicyinDedicatedServer.ini, so the game default (Crossplay) applies. It rewrites that file on every start, so a manualPlatformPolicy=edit to lock the server to one platform won't survive a restart. - Clients must be on the same game version as the server — keep
RSDW_UPDATE_ON_START=trueand restart after game patches. There is no cross-save: character progress doesn't carry between platforms.
Dockhand Stack, Deploy from Git
Cookbooks Repository stackname: runescape-dragonwilds Compose file path: runescape-dragonwilds/compose.yaml Additional env file (optional): runescape-dragonwilds/sample.env
Then "Load" runescape-dragonwilds/sample.env into the Environmental variables in dockhand
Create the Stack