|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
3
|
|
"meta": {
|
|
展开 156 行未改动
|
|
4
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/49/download/egg-empyrion-galactic-survival.json",
|
|
5
|
|
"version": "PTDL_v2"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2024-06-01T00:04:10+00:00",
|
|
8
|
|
"name": "Empyrion: Galactic Survival",
|
|
9
|
|
"author": "eggs@goover.dev",
|
|
10
|
|
"description": "Empyrion: Galactic Survival dedicated server",
|
|
11
|
|
"features": null,
|
|
12
|
|
"docker_images": {
|
|
13
|
|
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_staging": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_staging"
|
|
14
|
|
},
|
|
15
|
|
"file_denylist": [],
|
|
16
|
|
"startup": "cd empyrion; WINEDLLOVERRIDES=\"mscoree,mshtml=\" wine ./DedicatedServer/EmpyrionDedicated.exe -batchmode -log -logFile ./logs/current.log & echo -e \"Checking on telnet connection\" && until nc -z 127.0.0.1 ${TELNET_PORT}; do echo -e \"Waiting on telnet connection...\"; sleep 5; done && $( [[ -z ${TELNET_PWD} ]] && printf %s \"telnet -E 127.0.0.1 ${TELNET_PORT}\")",
|
|
17
|
|
"config": {
|
|
18
|
|
"files": "{\r\n \"empyrion/dedicated.yaml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"ServerConfig.Srv_Port\": \"{{server.build.default.port}}\",\r\n \"ServerConfig.Srv_Name\": \"{{env.SRV_NAME}}\",\r\n \"ServerConfig.Srv_Password\": \"{{env.SRV_PWD}}\",\r\n \"ServerConfig.Srv_MaxPlayers\": \"{{env.MAX_PLAYERS}}\",\r\n \"ServerConfig.Tel_Enabled\": \"{{env.TELNET_ENABLED}}\",\r\n \"ServerConfig.Tel_Port\": \"{{env.TELNET_PORT}}\",\r\n \"ServerConfig.Srv_Description\": \"{{env.SRV_DESC}}\",\r\n \"GameConfig.Seed\": \"{{env.SEED}}\"\r\n }\r\n }\r\n}",
|
|
19
|
|
"logs": "{}",
|
|
20
|
|
"startup": "{\r\n \"done\": \"Connected to 127.0.0.1.\"\r\n}",
|
|
21
|
|
"stop": "saveandexit 0"
|
|
22
|
|
},
|
|
23
|
|
"scripts": {
|
|
24
|
|
"installation": {
|
|
25
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
|
|
26
|
|
"entrypoint": "bash",
|
|
27
|
|
"script": "#!/bin/bash\r\n# Empyrion Installation Script\r\n#\r\n# Server Files: /mnt/server\r\n\r\napt update\r\napt -y install curl unzip\r\ncd /tmp\r\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\r\nmkdir -p /mnt/server/steam\r\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steam\r\n\r\nexport HOME=/mnt/server\r\n\r\nmkdir -p /mnt/server/empyrion\r\nmkdir -p /mnt/server/Logs\r\nmkdir -p /mnt/server/empyrion/logs\r\ntouch /mnt/server/empyrion/logs/current.log\r\n\r\ncd /mnt/server/steam\r\nchown -R root:root /mnt\r\n\r\nif [ \"${VERSION}\" == \"experimental\" ]; then\r\n ./steamcmd.sh +force_install_dir /mnt/server/empyrion +login anonymous +@sSteamCmdForcePlatformType windows +app_update 530870 -beta experimental validate +quit\r\nelse\r\n ./steamcmd.sh +force_install_dir /mnt/server/empyrion +login anonymous +@sSteamCmdForcePlatformType windows +app_update 530870 validate +quit\r\nfi\r\n\r\n## setup 32 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk32\r\ncp -v /mnt/server/steam/linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so\r\n\r\n## setup 64 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk64\r\ncp -v /mnt/server/steam/linux64/steamclient.so /mnt/server/.steam/sdk64/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
|
|
28
|
|
}
|
|
29
|
|
},
|
|
30
|
|
"variables": [
|
|
31
|
|
{
|
|
32
|
|
"name": "Server Name",
|
|
33
|
|
"description": "Name that will be shown in the Server Browser.",
|
|
34
|
|
"env_variable": "SRV_NAME",
|
|
35
|
|
"default_value": "My Server",
|
|
36
|
|
"user_viewable": true,
|
|
37
|
|
"user_editable": true,
|
|
38
|
|
"rules": "required|string|max:20",
|
|
39
|
|
"field_type": "text"
|
|
40
|
|
},
|
|
41
|
|
{
|
|
42
|
|
"name": "Server Password",
|
|
43
|
|
"description": "Password used to connect to the server - Optional, defaults to no password.",
|
|
44
|
|
"env_variable": "SRV_PWD",
|
|
45
|
|
"default_value": "",
|
|
46
|
|
"user_viewable": true,
|
|
47
|
|
"user_editable": true,
|
|
48
|
|
"rules": "nullable|string|max:20",
|
|
49
|
|
"field_type": "text"
|
|
50
|
|
},
|
|
51
|
|
{
|
|
52
|
|
"name": "Max Players",
|
|
53
|
|
"description": "Maximum number of player allowed to join simultaneously in the server. Defaults to 20.",
|
|
54
|
|
"env_variable": "MAX_PLAYERS",
|
|
55
|
|
"default_value": "20",
|
|
56
|
|
"user_viewable": true,
|
|
57
|
|
"user_editable": true,
|
|
58
|
|
"rules": "required|numeric",
|
|
59
|
|
"field_type": "text"
|
|
60
|
|
},
|
|
61
|
|
{
|
|
62
|
|
"name": "Enable Telnet",
|
|
63
|
|
"description": "Telnet access to control the server.",
|
|
64
|
|
"env_variable": "TELNET_ENABLED",
|
|
65
|
|
"default_value": "true",
|
|
66
|
|
"user_viewable": true,
|
|
67
|
|
"user_editable": true,
|
|
68
|
|
"rules": "required|string|regex:/^(?:true)?(?:false)?\\b/",
|
|
69
|
|
"field_type": "text"
|
|
70
|
|
},
|
|
71
|
|
{
|
|
72
|
|
"name": "Telnet Port",
|
|
73
|
|
"description": "Telnet Server Port DO NOT EXPOSE THIS TO THE INTERNET.",
|
|
74
|
|
"env_variable": "TELNET_PORT",
|
|
75
|
|
"default_value": "30004",
|
|
76
|
|
"user_viewable": true,
|
|
77
|
|
"user_editable": true,
|
|
78
|
|
"rules": "required|numeric",
|
|
79
|
|
"field_type": "text"
|
|
80
|
|
},
|
|
81
|
|
{
|
|
82
|
|
"name": "Game Seed",
|
|
83
|
|
"description": "World generation seed. Numeric between 1 and 7 characters.",
|
|
84
|
|
"env_variable": "SEED",
|
|
85
|
|
"default_value": "1011345",
|
|
86
|
|
"user_viewable": true,
|
|
87
|
|
"user_editable": true,
|
|
88
|
|
"rules": "required|numeric|min:1",
|
|
89
|
|
"field_type": "text"
|
|
90
|
|
},
|
|
91
|
|
{
|
|
92
|
|
"name": "Server Description",
|
|
93
|
|
"description": "Server info between the \" \", can contain [b]bold[/b] text or a [u][url=empyriongame.com]link[/url][/u] up to 127 chars.",
|
|
94
|
|
"env_variable": "SRV_DESC",
|
|
95
|
|
"default_value": "Empyrion Galactic Survival Dedicated Server running on Pterodactyl Panel",
|
|
96
|
|
"user_viewable": true,
|
|
97
|
|
"user_editable": true,
|
|
98
|
|
"rules": "nullable|string|max:127",
|
|
99
|
|
"field_type": "text"
|
|
100
|
|
},
|
|
101
|
|
{
|
|
102
|
|
"name": "Version",
|
|
103
|
|
"description": "Enable 'experimental'. Optional, defaults to public branch.",
|
|
104
|
|
"env_variable": "VERSION",
|
|
105
|
|
"default_value": "",
|
|
106
|
|
"user_viewable": true,
|
|
107
|
|
"user_editable": true,
|
|
108
|
|
"rules": "nullable|string|max:20",
|
|
109
|
|
"field_type": "text"
|
|
110
|
|
},
|
|
111
|
|
{
|
|
112
|
|
"name": "WINEARCH",
|
|
113
|
|
"description": "",
|
|
114
|
|
"env_variable": "WINEARCH",
|
|
115
|
|
"default_value": "win64",
|
|
116
|
|
"user_viewable": false,
|
|
117
|
|
"user_editable": false,
|
|
118
|
|
"rules": "required|string|max:20",
|
|
119
|
|
"field_type": "text"
|
|
120
|
|
},
|
|
121
|
|
{
|
|
122
|
|
"name": "WINEDEBUG",
|
|
123
|
|
"description": "",
|
|
124
|
|
"env_variable": "WINEDEBUG",
|
|
125
|
|
"default_value": "-all",
|
|
126
|
|
"user_viewable": false,
|
|
127
|
|
"user_editable": false,
|
|
128
|
|
"rules": "required|string|max:20",
|
|
129
|
|
"field_type": "text"
|
|
130
|
|
},
|
|
131
|
|
{
|
|
132
|
|
"name": "WINETRICKS_RUN",
|
|
133
|
|
"description": "",
|
|
134
|
|
"env_variable": "WINETRICKS_RUN",
|
|
135
|
|
"default_value": "vcrun2019 dotnet48",
|
|
136
|
|
"user_viewable": false,
|
|
137
|
|
"user_editable": false,
|
|
138
|
|
"rules": "required|string|max:20",
|
|
139
|
|
"field_type": "text"
|
|
140
|
|
},
|
|
141
|
|
{
|
|
142
|
|
"name": "Auto Update",
|
|
143
|
|
"description": "",
|
|
144
|
|
"env_variable": "AUTO_UPDATE",
|
|
145
|
|
"default_value": "0",
|
|
146
|
|
"user_viewable": false,
|
|
147
|
|
"user_editable": false,
|
|
148
|
|
"rules": "required|string|max:20",
|
|
149
|
|
"field_type": "text"
|
|
150
|
|
},
|
|
151
|
|
{
|
|
152
|
|
"name": "SRCDS_APPID",
|
|
153
|
|
"description": "",
|
|
154
|
|
"env_variable": "SRCDS_APPID",
|
|
155
|
|
"default_value": "530870",
|
|
156
|
|
"user_viewable": false,
|
|
157
|
|
"user_editable": false,
|
|
158
|
|
"rules": "required|string|max:20",
|
|
159
|
|
"field_type": "text"
|
|
160
|
|
}
|
|
161
|
|
]
|
|
162
|
|
}
|