-
-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2024-01-13T08:56:25-05:00", | ||
"exported_at": "2024-01-14T14:44:45-05:00", | ||
"name": "Discord Tickets Bot", | ||
"author": "[email protected]", | ||
"description": "An egg for the discord-tickets bot service.", | ||
|
@@ -18,8 +18,7 @@ | |
"files": "{\r\n \".env\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"HTTP_PORT\": \"{{server.build.default.port}}\",\r\n \"HTTP_HOST\": \"0.0.0.0\",\r\n \"DB_PROVIDER\": \"{{env.DB_PROV}}\",\r\n \"DB_CONNECTION_URL\": \"{{env.DBHOST}}\",\r\n \"DISCORD_SECRET\": \"{{env.DISCORDSECRET}}\",\r\n \"DISCORD_TOKEN\": \"{{env.DISCORDTOKEN}}\",\r\n \"HTTP_EXTERNAL\": \"{{env.EXTERNAL}}\",\r\n \"SUPER\": \"{{env.SUPERIDS}}\"\r\n }\r\n }\r\n}", | ||
"startup": "{\r\n \"done\": \"SUCCESS\"\r\n}", | ||
"logs": "{}", | ||
"stop": "exit", | ||
"prestop": null | ||
"stop": "exit" | ||
}, | ||
"scripts": { | ||
"installation": { | ||
|
@@ -31,142 +30,73 @@ | |
"variables": [ | ||
{ | ||
"name": "Database Provider", | ||
"description": "The database type you want to use, it is not recommended to use SQLite in production.", | ||
"description": "The database type you want to use, it is not recommended to use SQLite in production. - PostgreSQL \/ MySQL \/ SQLite", | ||
"env_variable": "DB_PROV", | ||
"prefix": "", | ||
"input_type": "dropdown", | ||
"input_options": [ | ||
{ | ||
"value": "mysql", | ||
"name": "MariaDB\/MySQL" | ||
}, | ||
{ | ||
"value": "postgresql", | ||
"name": "PostgreSQL" | ||
}, | ||
{ | ||
"value": "sqlite", | ||
"name": "SQLite" | ||
} | ||
], | ||
"default_value": "sqlite", | ||
"default_enabled": true, | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"user_toggleable": false, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "required|string|max:30", | ||
"order": 0, | ||
"rules": "required|string|max:20", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Database URL", | ||
"description": "It is recommended you do not use SQLite in production.\r\nhttps:\/\/discordtickets.app\/self-hosting\/configuration\/#db_connection_url", | ||
"env_variable": "DBHOST", | ||
"prefix": "", | ||
"input_type": "text", | ||
"input_options": [], | ||
"default_value": "file:\/\/home\/container\/user\/database.db?socket_timeout=120000&busy_timeout=10000\"", | ||
"default_enabled": true, | ||
"default_value": "file:\/\/home\/container\/user\/database.db?socket_timeout=120000&busy_timeout=10000", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"user_toggleable": true, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "nullable|string|max:200", | ||
"order": 0, | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Discord 0Auth Secret", | ||
"description": "", | ||
"env_variable": "DISCORDSECRET", | ||
"prefix": "", | ||
"input_type": "text", | ||
"input_options": [], | ||
"default_value": "", | ||
"default_enabled": false, | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"user_toggleable": false, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "nullable|string|max:75", | ||
"order": 0, | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Discord Bot Token", | ||
"description": "", | ||
"env_variable": "DISCORDTOKEN", | ||
"prefix": "", | ||
"input_type": "text", | ||
"input_options": [], | ||
"default_value": "", | ||
"default_enabled": true, | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"user_toggleable": false, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "nullable|string|max:100", | ||
"order": 0, | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "External URL", | ||
"description": "The externally accessible url of the bot, in most cases this will be the server IP and Port assigned to you.", | ||
"env_variable": "EXTERNAL", | ||
"prefix": "", | ||
"input_type": "text", | ||
"input_options": [], | ||
"default_value": "http:\/\/ip:port", | ||
"default_enabled": true, | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"user_toggleable": false, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "required|string|max:150", | ||
"order": 0, | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Owner IDs", | ||
"description": "Comma separated list of discord owner IDs, the default is that of the bot developer and is recommended to leave in if you wan them to be able to debug issues for you.", | ||
"env_variable": "SUPERIDS", | ||
"prefix": "", | ||
"input_type": "text", | ||
"input_options": [], | ||
"default_value": "319467558166069248", | ||
"default_enabled": true, | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"user_toggleable": false, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "nullable|string|max:200", | ||
"order": 0, | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "PTERODACTYL", | ||
"description": "Internal variable to denote to the bot that it is in a pterodactyl container, required for functionality", | ||
"env_variable": "PTERODACTYL", | ||
"prefix": "true", | ||
"input_type": "none", | ||
"input_options": [], | ||
"default_value": "", | ||
"default_enabled": true, | ||
"user_viewable": false, | ||
"user_editable": false, | ||
"user_toggleable": false, | ||
"copy_previous": false, | ||
"add_quotes": false, | ||
"rules": "nullable|string|max:20", | ||
"order": 0, | ||
"rules": "required|string|max:20", | ||
"field_type": "text" | ||
} | ||
] | ||
} | ||
} |