Skip to content

Commit 4e903a8

Browse files
add pterodactyl egg for easy deployment
1 parent f6b81f9 commit 4e903a8

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

meapi-pterodactyl-egg.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"_comment": "Pterodactyl egg for MeAPI",
3+
"meta": {
4+
"version": "PTDL_v2",
5+
"update_url": null
6+
},
7+
"exported_at": "2023-06-08T16:19:41+02:00",
8+
"name": "MeAPI",
9+
"author": "youhavetrouble@youhavetrouble.me",
10+
"description": "Pterodactyl egg for MeAPI",
11+
"features": null,
12+
"docker_images": {
13+
"Java 17": "ghcr.io\/pterodactyl\/yolks:java_17"
14+
},
15+
"file_denylist": [],
16+
"startup": "java -Xms128M -Xmx512M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}} port={{SERVER_PORT}}",
17+
"config": {
18+
"files": "{}",
19+
"startup": "{\r\n \"done\": \"Started web server on port\"\r\n}",
20+
"logs": "{}",
21+
"stop": "^C"
22+
},
23+
"scripts": {
24+
"installation": {
25+
"script": null,
26+
"container": "alpine:3.4",
27+
"entrypoint": "ash"
28+
}
29+
},
30+
"variables": [
31+
{
32+
"name": "Discord bot key",
33+
"description": "Key for discord bot that will be used for updating online information",
34+
"env_variable": "DISCORD_BOT_KEY",
35+
"default_value": "",
36+
"user_viewable": true,
37+
"user_editable": true,
38+
"rules": "string|max:128",
39+
"field_type": "text"
40+
},
41+
{
42+
"name": "Discord user ID",
43+
"description": "User for which to check online status. This should be discord snowflake id.\r\nYou can get it by enabling developer mode in discord and right clicking on a user.",
44+
"env_variable": "DISCORD_USER_ID",
45+
"default_value": "",
46+
"user_viewable": true,
47+
"user_editable": true,
48+
"rules": "string|max:18",
49+
"field_type": "text"
50+
},
51+
{
52+
"name": "Steam name",
53+
"description": "Steam name to be used to check current game and online status",
54+
"env_variable": "STEAM_NAME",
55+
"default_value": "",
56+
"user_viewable": true,
57+
"user_editable": true,
58+
"rules": "string|max:128",
59+
"field_type": "text"
60+
},
61+
{
62+
"name": "FFXIV character ID",
63+
"description": "To get this id, search your character on lodestone https:\/\/na.finalfantasyxiv.com\/lodestone\/character\/ .\r\nAfter clicking on your character, the last part of the url is your character id.",
64+
"env_variable": "FFXIV_CHARACTER_ID",
65+
"default_value": "",
66+
"user_viewable": true,
67+
"user_editable": true,
68+
"rules": "int",
69+
"field_type": "text"
70+
}
71+
]
72+
}

0 commit comments

Comments
 (0)