Skip to content
arielaram edited this page Nov 17, 2026 · 3 revisions

Nationdex 2026 Wiki

Nationdex 2026 (PND26) is a Discord bot where players catch, trade, gift and auction nations. This wiki shows how to run it yourself.

Start here

If you want to... Read
Run it on a PC, server or Raspberry Pi Install: Binaries
Run it on an Android phone (Termux + Proot-Distro; plain Termux does not work) Install: Termux and Proot-Distro
Fill in .env, get the token, first start Configuration
Keep it online 24/7 (systemd, backups, updates) Hosting
Put the admin panel on your domain with HTTPS Nginx Guide
Expose the panel without opening ports Ngrok Guide
Run from source instead of a binary Running From Source
Use the admin panel Admin Panel
Something broke Troubleshooting

The short version

  1. Create a Discord application at the Discord Developer Portal and copy its bot token.
  2. Download the binary for your system from the Releases page.
  3. Check it against SHA256SUMS.txt.
  4. Put the files from Configuration next to it and start it.
  5. In your home server, run /access claim once to become the owner.

What runs where

Part Port Notes
Discord bot none Connects out to Discord. Needs internet, no open port
Internal API 2222 (API_PORT) Read and write routes, see the README. Keep it on this machine or behind a proxy
Admin panel 3000 (PANEL_PORT) Built into the bot. Optional Nginx or Ngrok in front
Database none Embedded PGlite in ./database. No Docker, no separate database server

Only one bot process may use the ./database folder at a time. Starting a second copy against the same folder can crash it.

Pages

Clone this wiki locally