📦 Pterodactyl Panel Setup – Full Guide

This guide walks you through setting up the Strange Bot on a Pterodactyl game hosting panel using the Node.js egg.

  1. Create a new server

    Use the Pterodactyl panel and click "Create Server". Use a Node.js compatible egg. Many hosts include this under "Software" or "Bots" category.

  2. Configure Startup and Environment
    • Startup command: node index.js
    • Install command: npm install
    • Node version: match LTS (e.g., 18.x)
  3. Upload Your Bot Files

    Use the built-in file manager or connect with SFTP to upload all files.

    If using SFTP:

    • Use your panel username and server IP
    • Default port is usually 2022 or 22
    • Upload all files (including .env, package.json, index.js)
  4. Set up .env and config

    In the file manager, rename .env.example to .env or create it manually. Include:

    • BOT_TOKEN=your_token_here
    • PREFIX=!
    • OWNER_IDS=your_discord_id
  5. Install Dependencies

    Click the "Reinstall" or "Run Install Command" button in the panel. This runs npm install.

  6. Start Your Server

    Hit the "Start" button on the Pterodactyl dashboard. If everything is set up, your bot will go online.

  7. Troubleshooting
    • Check the "Console" tab for error messages
    • Make sure you uploaded package.json and index.js
    • Confirm your token is valid and has not been reset
Need help? Join our Discord: https://discord.gg/8zUfpJTst6