A 5-minute walkthrough from signup to your server going online in your dashboard. The Agent is a 835 KB C# mod that drops into your 7DTD Mods/ folder and dials this app over a secure WebSocket.
Use Steam (recommended — your in-game account) or Discord (if your community lives there).
You can pre-invite by their SteamID64 even if they haven't logged in yet — go to Tenant settings → Members, paste their 17-digit Steam ID, pick a role. They get added on their first login automatically.
Your tenant is your team / organization. Each tenant can have one or more servers. Each server gets its own AgentKey that the Agent uses to authenticate.
app.refugegaming.org/s/<your-slug>/shop.rb_ followed by 22 random characters. Copy it now. It's only shown once in cleartext.Anyone with it can impersonate your server. Don't post it in Discord, screenshots, or git. If it leaks, click Rotate AgentKey in the server settings — old key invalidated immediately.
You can sign up, create a tenant, and register one server without paying. The Agent will connect and in-game chat commands work. The web admin panel + player shop unlock when you upgrade to Starter ($5/mo) or Pro ($10/mo).
RefugeBot-Agent-v1.0.2.zip (835 KB).7DaysToDieServer.exe (Windows) or startserver.sh (Linux). The zip's Mods/ folder will merge with your existing one.
<your-7dtd-server-root>/
Mods/
zzzzzzzRefugeBot/ ← created by the zip
RefugeBot.dll
RefugeBot.Protocol.dll
Newtonsoft.Json.dll
ModInfo.xml
serverconfig.xml and confirm EnableMods is true — without this, 7DTD silently skips the Mods/ folder.Most providers expose a "File Manager" or SFTP. Upload the zip, then either extract via the file manager (look for "Unarchive" or "Extract here") or extract locally and SFTP the resulting Mods/ folder up.
Start your 7DTD server. On first boot the agent has no AgentKey yet, so it spins up a tiny one-page web UI and waits for you to configure it.
The agent picks its port automatically based on your server's WebDashboardPort (so multi-instance hosts each get a unique port). Watch the 7DTD console / log right after mod load — you'll see:
╔══════════════════════════════════════════════════════════════════╗ ║ RefugeBot Agent — first-boot setup ║ ║ Open this URL in a browser to configure: ║ ║ http://<this-server-ip>:8081/ ║ ║ (or http://localhost:8081/ if you're on the box) ║ ╚══════════════════════════════════════════════════════════════════╝
The port shown there is what to open. Common values: 8081 if your server uses the default WebDashboardPort=8080, or 8765 as a fallback if serverconfig.xml couldn't be located.
http://localhost:<port>.ssh -L 8081:localhost:8081 user@your-server, then open http://localhost:8081 on your laptop. (Substitute the actual port from your log.)wss://app.refugegaming.org/agent/wsrb_… string from step 2.<mod folder>/refugebot.json<server-root>/RefugeBotData/refugebot-agent.json (backup, survives mod-folder wipes)The agent reads serverconfig.xml (via the -configfile= launch arg first, then probe paths) and seeds the port hunt at WebDashboardPort + 1 — same logic as the legacy in-process RefugeBot. Every *Port property the game has reserved (TelnetPort, ServerPort±1±2, etc.) is skipped during the hunt so we never collide with 7DTD's own listeners. To pin a specific port instead of auto-seeding, set "setupPort": 9000 (or any value) in refugebot.json and restart 7DTD.
Once the agent is configured, the setup port closes itself — leaving it forwarded is harmless but pointless. To re-open it (e.g. to change the AgentKey), delete both config files above and restart 7DTD.
"RefugeBot Agent — first-boot setup" banner in your 7DTD console log; it prints the URL with the resolved port. If you don't see that banner at all, the mod isn't loading — usually EnableMods is off in serverconfig.xml, the Mods/zzzzzzzRefugeBot/ folder is in the wrong place, or one of the seven files in step 3 is missing."Could not bind any setup port starting at NNNN": every port in the hunt range was taken. Pin a specific free port via Mods/zzzzzzzRefugeBot/refugebot.json → {"setupPort": 9000} (any value above 1024) and restart 7DTD.WebDashboardPort + 1 — usually 8081 — or 8765 as fallback).rb_ prefix is required. Re-copy from the dashboard, paste again, restart 7DTD.Could not load type … RefugeBot.Protocol in the 7DTD log, RefugeBot.Protocol.dll is missing from the mod folder. Re-extract the zip — all four files must sit together.app.refugegaming.org on TCP 443.<7dtd-root>/Mods/zzzzzzzRefugeBot/refugebot.json<7dtd-root>/RefugeBotData/refugebot-agent.jsonTo rotate the key or move to a different tenant: edit either file (the agent self-heals on next start) or delete both to re-trigger setup mode.
Hop into our Discord and post in #self-host-help with the last 50 lines of your 7DTD log around the [RefugeBot] entries.