forked from pelican-eggs/eggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-k-s-p-d-m-p.json
92 lines (92 loc) · 4.19 KB
/
egg-k-s-p-d-m-p.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-09-22T19:54:35+02:00",
"name": "KSP DMP",
"author": "[email protected]",
"description": "Dark Multiplayer mod server for Kerbal Space Program",
"features": null,
"docker_images": {
"Mono": "ghcr.io\/parkervcp\/yolks:mono_latest"
},
"file_denylist": [],
"startup": "mono DMPServer.exe",
"config": {
"files": "{\r\n \"Config\/Settings.txt\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"modpackMode\": \"{{server.build.env.MODPACKMODE}}\",\r\n \"warpMode\": \"{{server.build.env.WARPMODE}}\",\r\n \"gameMode\": \"{{server.build.env.GAMEMODE}}\",\r\n \"gameDifficulty\": \"{{server.build.env.DIFFICULTY}}\",\r\n \"whitelisted\": \"{{server.build.env.WHITELIST}}\",\r\n \"serverName\": \"{{server.build.env.SERVERNAME}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Ready!\"\r\n}",
"logs": "{}",
"stop": "\/exit"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nV=$(curl -s https:\/\/d-mp.org\/downloads | grep \"DMP Server\" | awk -F 'href=\"' 'NR==2 {print $2}' | awk -F '\"' '{print $1}') # \/builds\/release\/v0.3.8.3\/DMPServer.zip\r\n\r\necho \"Download link: https:\/\/d-mp.org${V}\"\r\ncurl -sSL -o DMPServer.zip https:\/\/d-mp.org${V}\r\n\r\nunzip -o DMPServer.zip\r\nmv DMPServer\/* .\/\r\n\r\nrm -rf DMPServer\r\nrm DMPServer.zip\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Mod Pack Mode",
"description": "Specify the modpack type.",
"env_variable": "MODPACKMODE",
"default_value": "NONE",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:NONE,CKAN,GAMEDATA",
"field_type": "text"
},
{
"name": "Warp Mode",
"description": "Specify the warp type.",
"env_variable": "WARPMODE",
"default_value": "SUBSPACE",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:MCW_FORCE,MCW_VOTE,MCW_LOWEST,SUBSPACE_SIMPLE,SUBSPACE,NONE",
"field_type": "text"
},
{
"name": "Game Mode",
"description": "Specify the game type.",
"env_variable": "GAMEMODE",
"default_value": "SANDBOX",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:SANDBOX,CAREER,SCIENCE",
"field_type": "text"
},
{
"name": "Game Difficulty",
"description": "Specify the gameplay difficulty of the server.",
"env_variable": "DIFFICULTY",
"default_value": "NORMAL",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:EASY,NORMAL,MODERATE,HARD,CUSTOM",
"field_type": "text"
},
{
"name": "Whitelisted",
"description": "Enable white-listing.",
"env_variable": "WHITELIST",
"default_value": "False",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:True,False",
"field_type": "text"
},
{
"name": "Server Name",
"description": "Name of the server.",
"env_variable": "SERVERNAME",
"default_value": "DMP Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:48",
"field_type": "text"
}
]
}