Manager System Documentation

Secure Bot Hosting & Management

1. Introduction

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.

2. System Requirements

IMPORTANT: THIS IS AN INSTALLATION TUTORIAL, IF YOU WANT TO EDIT THE FILES OPEN THEM EVERYWHERE THERE ARE COMMENTS EXPLAINING HOW TO EDIT AND WHERE.

3. File Structure

The Manager System includes the following files:

3.1 Adjusting Whitelists

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.

3.2 Setting Bot Limits

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).

4. Encryption

4.1 Encrypting Files

To protect files:

  1. Install SHC on your server or computer if you don't have it use the Termux option on android:
  2. # Ubuntu/Linux
    sudo apt update
    sudo apt install shc
    
    # Termux
    pkg install shc
                
  3. Encrypt each file, If it is on the Ubuntu server, upload the files and after installation use the shc command to encrypt the files as shown below:
  4. 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
                

5. GitHub Integration

4.2 Preparing GitHub Repositories

Once the files are encrypted, host them in GitHub for easy integration with Pterodactyl.

Steps to Create Repositories:

  1. Create repositories for 3, 6, and 10 bots.
  2. 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

  3. Upload encrypted files for each limit.
  4. Copy repository links for integration.

6. Pterodactyl Integration

  1. Import the Node.js Egg.
  2. Duplicate for bot limits.
  3. Set repository links in variables.

7. Billing System Integration

Supported Billing Systems and more

8. Videos

Whitelist Blocking External Servers

Deleting a Bot Session

Installing a Pre-Configured Bot

9. Support

Contact Mauro Gashfix via Discord: