Introduction
PteroStats is a bot designed to check Pterodactyl Panel and Nodes status and post it to your discord server
Example
Installation
- Getting apikey from pterodactyl
- Creating Discord Bot
- Inviting Discord Bot
- Getting Channel ID
- Starting bot
Getting apikey from pterodactyl
-
Go to your
pterodactyl admin page
and go toApplication API
. -
Click on the
Create New
button -
Set all options permission to
read
and for description you can put whatever you want -
Copy the apikey.
-
Paste the panel apikey and panel url at the config
Creating Discord Bot
Please refer to this website
Paste the bot token at the config
Inviting Discord Bot
Please refer to this website
Getting Channel ID
-
Enable Developer Feature at your discord settings
-
Right Click text channel and select
Copy ID
-
Paste the channel id at the config
Starting bot
- Make sure you have done the things above
- Run
npm install
in the root directory of the bot files. - 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
-
type
\
in guild that has custom emoji you want -
Select custom emoji you want
-
Copy the text!
-
Paste the emoji id at the config
Blacklist Nodes
-
Select node from node list on admin page
-
Check the url and copy the node id
-
Paste the id to the blacklist on config
You can add more than one node in the blacklist
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