Secure Bot Hosting & Management
The Manager System allows secure and efficient management of multiple bots within the Pterodactyl Panel. It ensures security through encryption, supports multi-language environments, and validates IPs and hostnames to restrict unauthorized usage.
This guide also includes a step-by-step explanation of how to integrate the system with GitHub to streamline bot hosting.
The Manager System includes the following files:
manager.sh
: Main script for environment validation and delegation.manager_pt.sh
, manager_es.sh
, manager_en.sh
: Scripts for Portuguese, Spanish, and English support.Update IPs and hostnames in each language script MUST BE YOUR NODE HOSTNAMES and IPs so that when someone tries to steal your script for other servers they won't be able to use it:
WHITELISTED_IPS=("172.18.0.27" "34.46.165.63") WHITELISTED_HOSTNAMES=("vortexuscloud.com.br" "app.vexufy.com")
Why: Ensures that the system works only on authorized servers by verifying the server's IP or hostname.
control how many bots can run, edit the following variables in each script:
For eg manager_pt.sh (Lines 183-185):
NUM_AMBIENTES=3
Update other scripts similarly (e.g., 6 or 10 environments).
To protect files:
# Ubuntu/Linux sudo apt update sudo apt install shc # Termux pkg install shc
shc -f manager.sh -o manager shc -f manager_pt.sh -o manager_pt shc -f manager_es.sh -o manager_es shc -f manager_en.sh -o manager_en
Once the files are encrypted, host them in GitHub for easy integration with Pterodactyl.
Steps to Create Repositories:
1. Log in to GitHub Go to GitHub and log in.
2. Create Separate Repositories For each bot limit (e.g., 3, 6, and 10 bots), create a new repository:
Repository Names (Examples): manager-3-bots, manager-6-bots and manager-10-bots
Contact Mauro Gashfix via Discord:
maurogashfix