Giter Site home page Giter Site logo

gamenhaadee / pterostats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hirzidevs/pterostats

0.0 0.0 0.0 393 KB

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

Home Page: https://pterostats.hirzidevs.xyz

License: MIT License

JavaScript 100.00%

pterostats's Introduction

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

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

Apikey permission

If you having issue with 403 error try to enable read & write on all options

Application API Permission

Links

pterostats's People

Contributors

hirzidevs avatar tlkh40 avatar mrxbox98 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.