RaffiDevYT / PteroStats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PteroStats Banner

Language / Bahasa

[English] | [Indonesia]

Introduction

PteroStats is a bot designed to check Pterodactyl Panel and Nodes status and post it to your discord server

Example

  • Test Panel

    Example

Installation

  1. Getting apikey from pterodactyl
  2. Creating Discord Bot
  3. Inviting Discord Bot
  4. Getting Channel ID
  5. Starting bot

Getting apikey from pterodactyl

  1. Go to your pterodactyl admin page and go to Application API.

    Admin Panel
  2. Click on the Create New button

    Application API Page
  3. Set all options permission to read and for description you can put whatever you want

    Create Application API
  4. Copy the apikey.

    Application API List
  5. Paste the panel apikey and panel url at the config

    Panel Config

Creating Discord Bot

Please refer to this website

Paste the bot token at the config

Bot Config

Inviting Discord Bot

Please refer to this website

Getting Channel ID

  1. Enable Developer Feature at your discord settings

    Discord User Settings
  2. Right Click text channel and select Copy ID

    Right Click Channel
  3. Paste the channel id at the config

    Channel Config

Starting bot

  1. Make sure you have done the things above
  2. Run npm install in the root directory of the bot files.
  3. Run node index and you are done.

if you need help contact me on discord Hirzi#8701 or join our discord support server

Using Custom Emoji

  1. type \ in guild that has custom emoji you want

    Type \ on the chat
  2. Select custom emoji you want

    Select Custom Emoji
  3. Copy the text!

    Copy Emoji ID
  4. Paste the emoji id at the config

    Status Config

Blacklist Nodes

  1. Select node from node list on admin page

    Nodes List
  2. Check the url and copy the node id

    Node Id
  3. Paste the id to the blacklist on config

    Blacklist Config

You can add more than one node in the blacklist

Blacklist Config

The node is online but the embed is read as offline

If you having this issue, you can enable log_error on the config file and report it to our discord server at Support Server

Links

About

License:MIT License


Languages

Language:JavaScript 100.0%