A Discord bot built with Python and disnake for my friends and me. It helps manage your self-hosted game server using the Pterodactyl API.
- 📊 Dashboards: Create live control panels with real-time display of CPU, RAM, disk, and network usage and power buttons (Start, Stop, Restart, Kill).
- 🛡️ Permissions System: Configure permissions (e.g., who can start/stop a specific server) for individual users or Discord roles.
1. Using Pterodactyl (Recommended)
- Create a new Nest in your Pterodactyl Panel settings.
- Download the egg-minecraft-bot.json file.
- Import the downloaded file into Pterodactyl and assign it to the Nest you just created.
- Create a new server using this Egg.
- After the server installing create a copy of the
.env.examplefile in the root directory, rename it to.env, then fill in the required variables. - Start the server.
git clone https://github.com/Skrriply/pteero-bot.git
cd pteero-botIt's recommended to use uv.
python -m pip install uv
python -m uv sync --no-devCreate a copy of the .env.example file in the root directory and rename it to .env, then fill in the required variables.
python -m uv run ./src/bot/main.py| Command | Description |
|---|---|
/dashboard [server_id] |
📊 Spawns a live control panel for the specified server identifier |
/permissions grant [user/role] [server_id] |
🛡️ Grants specific server access permissions (start, stop, etc.) to a user or Discord role. |
Distributed under the GPL-3.0 License.