mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-02-03 19:42:41 +00:00
ab32f2da1594a1eedecb28b626fc7e31bb0b7131
PteroStats (1.0)
Introduction
PteroStats is a bot designed to check Panel, Nodes, and Databases status and post it to discord server
- Written in Javascript, CloudServer is faster and more stable.
- PteroControl can be used with any server on Pterodactyl, irregardless of whether it's on shared hosting or your own hosted panel
PteroStats is still under development and we welcome contributions.
Links
Installation
Create server at your pterodactyl panel and copy the server idPaste the server id at nodelist arrayJump to the filefill in the required informations in the config.json fileRun npm install in the root directory of the bot filesRun node index.js and you are doneTo add more nodes go to this linkLINK
Config
{
"token": "BOT TOKEN", //Your Discord Bot Token
"panelurl": "HOST PANEL LINK", //Your Hosting Panel Url/Link
"clientapikey": "CLIENT APIKEY", //Your Hosting Client Apikey
"adminapikey": "ADMIN APIKEY", //Your Hosting Admin/Application Apikey
"channel": "CHANNEL ID", //Your Discord Channel Id For The Embed
"hostname": "HOSTING NAME", //Your Hosting Name
"embedcolor": "E5BE11", //Embed Color
"monline": ":green_circle: Online", //Status Online Message
"moffline": ":red_circle: Offline", //Status Offline Message
"mcheck": ":orange_circle: Checking", //Status Checking Message
"time": "60" //How Much Seconds The Embed Will Be Refreshes
}
Adding more nodes
Add more items like bellow to nodelist array at ready.js line 2
{
id: "Server ID",
name: "**Example Server**",
nameid: "Node1"
},
if you needing help contact me on discord Hirzi#8701 or join our discord here
Screenshot
Languages
JavaScript
99.8%
Dockerfile
0.2%

