Repository navigation
Home
arielaram edited this page Nov 17, 2026
·
3 revisions
Nationdex 2026 (PND26) is a Discord bot where players catch, trade, gift and auction nations. This wiki shows how to run it yourself.
| 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 |
- Create a Discord application at the Discord Developer Portal and copy its bot token.
- Download the binary for your system from the Releases page.
- Check it against
SHA256SUMS.txt. - Put the files from Configuration next to it and start it.
- In your home server, run
/access claimonce to become the owner.
| 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
./databasefolder at a time. Starting a second copy against the same folder can crash it.