fixed egg
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"version": "PTDL_v1",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2026-06-17T00:00:00+00:00",
|
||||
@@ -11,13 +11,15 @@
|
||||
"eula"
|
||||
],
|
||||
"docker_images": {
|
||||
"ghcr.io/pterodactyl/games:python3.13": "ghcr.io/pterodactyl/games:python3.13"
|
||||
"python:3.11": "python:3.11"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "{{STARTUP_CMD}}",
|
||||
"startup": "python bot.py",
|
||||
"config": {
|
||||
"files": "{}",
|
||||
"startup": "{\n \"done\": \"started\"\n}",
|
||||
"files": {},
|
||||
"startup": {
|
||||
"done": "started"
|
||||
},
|
||||
"log": {
|
||||
"custom": false,
|
||||
"location": "logs/latest.log"
|
||||
@@ -26,50 +28,50 @@
|
||||
},
|
||||
"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",
|
||||
"script": "#!/bin/bash\nset -e\necho 'OC Bot - Installation Starting'\necho 'Installing system packages...'\napt-get update\napt-get install -y git\necho 'Installing Python dependencies...'\npip install --no-cache-dir --upgrade pip\npip install --no-cache-dir -r requirements.txt\necho 'Installation Complete!'\n",
|
||||
"container": "python:3.11",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Discord Bot Token",
|
||||
"description": "Your Discord bot token from the Developer Portal (https://discord.com/developers/applications)",
|
||||
"description": "Your Discord bot token from the Developer Portal",
|
||||
"env_variable": "DISCORD_TOKEN",
|
||||
"default_value": "",
|
||||
"user_viewable": false,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:255",
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Database Host",
|
||||
"description": "MariaDB/MySQL database hostname (default: localhost)",
|
||||
"description": "MariaDB/MySQL hostname",
|
||||
"env_variable": "DB_HOST",
|
||||
"default_value": "localhost",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:255",
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Database User",
|
||||
"description": "MariaDB/MySQL database username",
|
||||
"description": "MariaDB/MySQL username",
|
||||
"env_variable": "DB_USER",
|
||||
"default_value": "root",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:255",
|
||||
"rules": "required|string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Database Password",
|
||||
"description": "MariaDB/MySQL database password",
|
||||
"description": "MariaDB/MySQL password",
|
||||
"env_variable": "DB_PASSWORD",
|
||||
"default_value": "",
|
||||
"user_viewable": false,
|
||||
"user_editable": true,
|
||||
"rules": "string|max:255",
|
||||
"rules": "string",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
@@ -79,16 +81,6 @@
|
||||
"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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user