# Pterodactyl Egg Files This folder contains the Pterodactyl Panel egg configuration for the OC Bot. ## Files - **egg-oc-bot.json** - The main egg file (compatible with Panel v1.13.0+ and Wings v1.12.3+) - **PTERODACTYL_DEPLOYMENT.md** - Full deployment guide ## Quick Setup ### In Pterodactyl Admin Panel: 1. Navigate to **Admin** → **Nests & Eggs** 2. Click **Import Egg** 3. Copy the entire contents of `egg-oc-bot.json` 4. Paste and click **Import** ### When Creating a Server: 1. Select the imported **OC Bot** egg 2. Configure these variables: - **Discord Bot Token** - From [Discord Developer Portal](https://discord.com/developers/applications) - **Database Host** - Your MariaDB server (usually `localhost` or database container name) - **Database User** - Database username - **Database Password** - Database password - **Database Name** - Database name ### Database Setup: Before starting the bot, ensure your MariaDB database exists: ```sql CREATE DATABASE rp_bot; ``` ## Troubleshooting ### 500 Server Error on Import - Ensure you have the latest Panel and Wings versions - This egg is compatible with Panel v1.13.0+ and Wings v1.12.3+ - Check your panel logs for detailed error messages ### Bot Won't Start - Verify Discord token is correct and active - Check database connection settings - Ensure Message Content Intent is enabled in Discord Developer Portal - Review server console logs ### Database Connection Failed - Ensure database server is running - Verify credentials are correct - Check that the database exists: `SHOW DATABASES;` - If using Docker, use the container service name instead of localhost --- **Coded by Ball Studios 🎨**