mirror of
https://github.com/pelican-eggs/games-standalone.git
synced 2024-11-21 09:52:37 +01:00
66 lines
3.3 KiB
JSON
66 lines
3.3 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
"meta": {
|
|
"version": "PTDL_v2",
|
|
"update_url": null
|
|
},
|
|
"exported_at": "2024-09-10T16:25:49+00:00",
|
|
"name": "Spacestation 14",
|
|
"author": "josdekurk@gmail.com",
|
|
"uuid": "ef79fd90-64e9-4387-b862-af0042ed2d28",
|
|
"description": "Space Station 14 tells the story of an ordinary shift on a space station gone wrong. Immerse yourself into your role, tinker with detailed systems, and survive the chaos in this round-based multiplayer role playing game.",
|
|
"features": [],
|
|
"docker_images": {
|
|
"Dotnet 8": "ghcr.io\/parkervcp\/yolks:dotnet_8"
|
|
},
|
|
"file_denylist": [],
|
|
"startup": ".\/Robust.Server",
|
|
"config": {
|
|
"files": "{\r\n \"server_config.toml\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port = {{server.allocations.default.port}}\",\r\n \"hostname\": \"hostname = \\\"{{server.environment.SERVER_NAME}}\\\"\",\r\n \"tickrate\": \"tickrate = {{server.environment.SERVER_TICK}}\",\r\n \"max_connections\": \"max_connections = {{server.environment.SERVER_MAX_PLAYERS}}\"\r\n }\r\n }\r\n}",
|
|
"startup": "{\r\n \"done\": \"Server Version\"\r\n}",
|
|
"logs": "{}",
|
|
"stop": "^C"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n\r\nARCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"x64\" || echo \"arm64\")\r\nV=$(curl -sSL https:\/\/wizards.cdn.spacestation14.com\/fork\/wizards | grep \".Server_linux\" | grep -i ${ARCH} | head -1 | awk '{print $2}' | sed 's\/^href=\"\/\/;s\/\">Linux\/\/')\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\necho \"Running: curl -sSL -o server_linux.zip https:\/\/wizards.cdn.spacestation14.com${V}\"\r\ncurl -sSL -o server_linux.zip \"https:\/\/wizards.cdn.spacestation14.com${V}\"\r\nunzip -o server_linux.zip\r\nrm server_linux.zip\r\n\r\nchmod +x Robust.Server\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
|
|
"container": "ghcr.io\/parkervcp\/installers:debian",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"sort": 1,
|
|
"name": "Server name",
|
|
"description": "The server hostname",
|
|
"env_variable": "SERVER_NAME",
|
|
"default_value": "MyServer",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string|max:48",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"sort": 2,
|
|
"name": "Server tickrate",
|
|
"description": "The tickrate of the server. Default is 60",
|
|
"env_variable": "SERVER_TICK",
|
|
"default_value": "60",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|numeric|between:1,80",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"sort": 3,
|
|
"name": "Max players",
|
|
"description": "",
|
|
"env_variable": "SERVER_MAX_PLAYERS",
|
|
"default_value": "256",
|
|
"user_viewable": true,
|
|
"user_editable": false,
|
|
"rules": "required|numeric|between:1,256",
|
|
"field_type": "text"
|
|
}
|
|
]
|
|
} |