Files
rp-bot/PTERODACTYLL/egg-oc-bot.json
2026-06-17 12:54:35 -05:00

97 lines
3.0 KiB
JSON

{
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2026-06-17T00:00:00+00:00",
"name": "OC Bot",
"author": "Ball Studios",
"description": "An Original Character management Discord bot with prefix-based commands",
"features": [
"eula"
],
"docker_images": {
"ghcr.io/pterodactyl/games:python3.13": "ghcr.io/pterodactyl/games:python3.13"
},
"file_denylist": [],
"startup": "{{STARTUP_CMD}}",
"config": {
"files": "{}",
"startup": "{\n \"done\": \"started\"\n}",
"log": {
"custom": false,
"location": "logs/latest.log"
},
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\nset -e\n\necho \"OC Bot - Installation Starting\"\necho \"Installing Python dependencies...\"\n\npip install --upgrade pip\npip install -r requirements.txt\n\necho \"Installation Complete!\"\necho \"Make sure to configure your .env file with:\"\necho \" - DISCORD_TOKEN\"\necho \" - DB_HOST\"\necho \" - DB_USER\"\necho \" - DB_PASSWORD\"\necho \" - DB_NAME\"\n",
"container": "ghcr.io/pterodactyl/games:python3.13",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Discord Bot Token",
"description": "Your Discord bot token from the Developer Portal (https://discord.com/developers/applications)",
"env_variable": "DISCORD_TOKEN",
"default_value": "",
"user_viewable": false,
"user_editable": true,
"rules": "required|string|max:255",
"field_type": "text"
},
{
"name": "Database Host",
"description": "MariaDB/MySQL database hostname (default: localhost)",
"env_variable": "DB_HOST",
"default_value": "localhost",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:255",
"field_type": "text"
},
{
"name": "Database User",
"description": "MariaDB/MySQL database username",
"env_variable": "DB_USER",
"default_value": "root",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:255",
"field_type": "text"
},
{
"name": "Database Password",
"description": "MariaDB/MySQL database password",
"env_variable": "DB_PASSWORD",
"default_value": "",
"user_viewable": false,
"user_editable": true,
"rules": "string|max:255",
"field_type": "text"
},
{
"name": "Database Name",
"description": "MariaDB/MySQL database name",
"env_variable": "DB_NAME",
"default_value": "rp_bot",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:255",
"field_type": "text"
},
{
"name": "Startup Command",
"description": "Command to start the bot",
"env_variable": "STARTUP_CMD",
"default_value": "python bot.py",
"user_viewable": true,
"user_editable": false,
"rules": "required|string",
"field_type": "text"
}
]
}