This repository has been archived by the owner on Mar 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
egg-discord-pterodactyl-bot.json
68 lines (68 loc) · 3.13 KB
/
egg-discord-pterodactyl-bot.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": "https:\/\/raw.githubusercontent.com\/Linux123123\/Pterodactyl-Discord-Bot\/master\/egg-discord-pterodactyl-bot.json"
},
"exported_at": "2021-06-04T19:25:22+03:00",
"name": "Discord Pterodactyl Bot",
"author": "[email protected]",
"description": "A Pterodactyl Discord Bot egg.",
"features": null,
"images": [
"linux123123\/pterodactyl-images:buster-nodejs-lts"
],
"file_denylist": [],
"startup": "yarn pterodactyl",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"ready to serve\"\r\n}",
"logs": "{}",
"stop": "^z"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n# Pterodactyl Discord Bot Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt-get update && apt-get -y install git\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\necho \"Pulling the Pterodactyl Discord Bot from github\"\r\n\r\ngit clone --single-branch --branch master https:\/\/github.com\/Linux123123\/Pterodactyl-Discord-Bot.git .\r\n\r\necho \"Installing dependencies!\"\r\n\r\nyarn install --production\r\n\r\necho \"Compiling\/Building\"\r\n\r\nyarn build\r\n\r\necho \"Install complete. If you watched this. Congrats.\"",
"container": "node:lts-buster",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Discord Token",
"description": "Your discord api token. Available on https:\/\/discord.com\/developers\/applications\/me",
"env_variable": "TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:59|max:59"
},
{
"name": "Pterodactyl Token",
"description": "Your pterodactyl API token. It can be created in the Application API section of admin settings. Check all the boxes for both read and write.",
"env_variable": "PTERO_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:48|max:48"
},
{
"name": "Pterodactyl URL",
"description": "Your pterodactyl host domain\/IP. Must include http\/https. Example: \"https:\/\/panel.linux123123.cf\"",
"env_variable": "PTERO_HOST",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string"
},
{
"name": "Pterodactyl Client Token",
"description": "Your pterodactyl client API token. It can be created in the admin account API section. It needs to be an admin account to have all the permissions to start and stop servers.",
"env_variable": "PTERO_CLIENT_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:48|max:48"
}
]
}