Skip to main content
PteroStats Banner PteroStats is a Discord App/Bot by ZN Project Development that checks your Pterodactyl or Pelican panel stats and posts them to your Discord server. It keeps a stats message in a channel up to date, so your community can see panel and node status without opening the panel. PteroStats runs on your own server and reads your panel with a Client API key. Everything it posts is configured in config.yml.
PteroStats stats message in Discord
92d42b11-4897-46b5-bb1c-43349c9782d6

What you can do

Show panel and node stats

PteroStats refreshes the stats message on a set interval (10 seconds by default). It can show:
  • Panel status, uptime, and host.
  • Total servers and users on the panel.
  • Each node’s online or offline status and uptime.
  • Node details such as memory and disk usage, in bytes or as a percentage.
  • Server counts and node host per node.

Customize the message

  • Change the embed author, title, description, color, footer, thumbnail, and image for both the panel and nodes sections.
  • Add link buttons, such as a link to your panel or dashboard.
  • Set the bot’s presence text, activity type, and status.
  • Replace the online and offline labels with custom emoji.

Choose which nodes appear

Keep internal, test, or retired nodes out of the stats message with the node blacklist, and set a limit on how many nodes are displayed.

Get downtime alerts

Turn on the notifier to post an alert to a Discord webhook when your panel or a node goes down.

Getting started

Node.js 18 or newer is required.
  1. Create your Discord App/Bot.
  2. Invite your Discord App/Bot to your Discord server.
  3. Create a panel API key and find the channel ID where stats should be posted.
  4. Install PteroStats with one of the methods below.
  5. Start PteroStats and answer the setup questions in the console.

Egg (recommended)

Install on your Pterodactyl or Pelican panel.

Manual

Run with PM2 or the nodejs-generic egg.

Docker

Run with Docker Compose or Docker Run.
To change your panel URL, API key, bot token, or channel later, see Change your setup details.

Reporting a bug

  1. Set log_error to true in config.yml.
  2. Check the console for the error message.
  3. Report it in the support server and include the logs.txt file created by the bot.

Important notes

  • PteroStats can only read what the API key you provide has access to. Create the key from an account with administrator access to the panel.
  • Application API keys are deprecated for PteroStats. Use a Client API key.
  • Never share your API key, bot token, or webhook URL.
  • PteroStats is an independent project and is not affiliated with or endorsed by Pterodactyl or Pelican.
Please don’t ask about PteroStats in the Pterodactyl or Pelican Discord servers.
For help, visit the support server. Created by ZN Project Development.