2021-03-12 07:00:11 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
2022-11-05 13:39:27 +08:00
|
|
|
"version": "PTDL_v2",
|
2021-03-12 07:00:11 +08:00
|
|
|
"update_url": null
|
|
|
|
},
|
2022-11-27 00:48:40 +08:00
|
|
|
"exported_at": "2022-11-26T17:47:55+01:00",
|
2021-03-12 07:00:11 +08:00
|
|
|
"name": "Space Engineers",
|
2022-11-15 23:28:52 +08:00
|
|
|
"author": "info@goover.de",
|
2021-03-12 07:00:11 +08:00
|
|
|
"description": "Space Engineers is a voxel-based sandbox game set in space and on planets.",
|
2022-01-21 02:09:13 +08:00
|
|
|
"features": [
|
|
|
|
"steam_disk_space"
|
|
|
|
],
|
2022-11-05 13:39:27 +08:00
|
|
|
"docker_images": {
|
|
|
|
"ghcr.io\/parkervcp\/yolks:wine_staging": "ghcr.io\/parkervcp\/yolks:wine_staging"
|
|
|
|
},
|
2021-03-12 07:00:11 +08:00
|
|
|
"file_denylist": [],
|
2022-11-05 22:53:17 +08:00
|
|
|
"startup": "winetricks sound=disabled; export WINEARCH=\"win64\"; export WINEDLLOVERRIDES=\"mscoree=n,b;mshtml=n,b\"; wine \/home\/container\/DedicatedServer64\/SpaceEngineersDedicated.exe -path Z:\\\\home\\\\container\\\\config -noconsole -ignorelastsession",
|
2021-03-12 07:00:11 +08:00
|
|
|
"config": {
|
2022-11-15 23:28:52 +08:00
|
|
|
"files": "{\r\n \"config\/SpaceEngineers-Dedicated.cfg\": {\r\n \"parser\": \"xml\",\r\n \"find\": {\r\n \"MyConfigDedicated.SessionSettings.GameMode\": \"{{server.build.env.SERVER_MODE}}\",\r\n \"MyConfigDedicated.SessionSettings.MaxPlayers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n \"MyConfigDedicated.SessionSettings.AutoSaveInMinutes\": \"{{server.build.env.SAVE_INTERVAL}}\",\r\n \"MyConfigDedicated.SessionSettings.EnableSaving\": \"{{server.build.env.SAVE_ENABLED}}\",\r\n \"MyConfigDedicated.LoadWorld\": \"Z:\\\\home\\\\container\\\\config\\\\Saves\\\\{{server.build.env.WORLD_NAME}}\\\\Sandbox.sbc\",\r\n \"MyConfigDedicated.ServerPort\": \"{{server.build.default.port}}\",\r\n \"MyConfigDedicated.SteamPort\": \"{{server.build.env.STEAM_PORT}}\",\r\n \"MyConfigDedicated.ServerName\": \"{{server.build.env.SERVER_NAME}}\",\r\n \"MyConfigDedicated.WorldName\": \"{{server.build.env.WORLD_NAME}}\",\r\n \"MyConfigDedicated.ServerDescription\": \"{{server.build.env.SERVER_DESC}}\",\r\n \"MyConfigDedicated.RemoteApiEnabled\": \"{{server.build.env.REMOTEAPI_ENABLE}}\",\r\n \"MyConfigDedicated.RemoteApiPort\": \"{{server.build.env.REMOTEAPI_PORT}}\"\r\n }\r\n\t},\r\n\t\"config\/Saves\/World\/Sandbox.sbc\": {\r\n \"parser\": \"xml\",\r\n \"find\": {\r\n \"MyConfigDedicated.SessionSettings.GameMode\": \"{{server.build.env.SERVER_MODE}}\",\r\n \"MyConfigDedicated.SessionSettings.MaxPlayers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n \"MyConfigDedicated.SessionSettings.AutoSaveInMinutes\": \"{{server.build.env.SAVE_INTERVAL}}\",\r\n \"MyConfigDedicated.SessionSettings.EnableSaving\": \"{{server.build.env.SAVE_ENABLED}}\"\r\n }\r\n }\r\n}",
|
2021-03-12 07:00:11 +08:00
|
|
|
"startup": "{\r\n \"done\": \"Game ready...\"\r\n}",
|
|
|
|
"logs": "{}",
|
|
|
|
"stop": "^C"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
2022-11-27 00:48:40 +08:00
|
|
|
"script": "#!\/bin\/bash\r\n# Installation Script\r\n#\r\n## Define variables\r\ndlurl=\"https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/space_engineers\/default\"\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## Create world and config\r\nmkdir -p $HOME\/config\/Saves\r\nif [ ! -d $HOME\/config\/Saves\/World ]\r\nthen\r\n curl $dlurl\/World.zip -o World.zip\r\n unzip -o World.zip -d $HOME\/config\/Saves\/\r\nfi\r\nif [ ! -f $HOME\/config\/SpaceEngineers-Dedicated.cfg ]; then curl $dlurl\/SpaceEngineers-Dedicated.cfg -o $HOME\/config\/SpaceEngineers-Dedicated.cfg; fi\r\n\r\nrm -fR $HOME\/World.zip\r\n\r\n# copy libs for mod support\r\ncp -v $HOME\/steamclient.dll ..\/DedicatedServer64\/\r\ncp -v $HOME\/steamclient64.dll ..\/DedicatedServer64\/\r\ncp -v $HOME\/tier0_s.dll ..\/DedicatedServer64\/\r\ncp -v $HOME\/tier0_s64.dll ..\/DedicatedServer64\/\r\ncp -v $HOME\/vstdlib_s.dll ..\/DedicatedServer64\/\r\ncp -v $HOME\/vstdlib_s64.dll ..\/DedicatedServer64\/\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
|
2022-11-05 19:53:43 +08:00
|
|
|
"container": "ghcr.io\/parkervcp\/installers:debian",
|
2021-03-12 07:00:11 +08:00
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "APP ID",
|
|
|
|
"description": "The ID corresponding to the game to download.",
|
2021-09-21 02:39:26 +08:00
|
|
|
"env_variable": "SRCDS_APPID",
|
2021-03-12 07:00:11 +08:00
|
|
|
"default_value": "298740",
|
|
|
|
"user_viewable": false,
|
|
|
|
"user_editable": false,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|numeric|digits_between:1,6",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server Name",
|
|
|
|
"description": "Name of the server, appears in Steam browser.",
|
|
|
|
"env_variable": "SERVER_NAME",
|
2022-11-15 23:28:52 +08:00
|
|
|
"default_value": "A Pterodactyl hosted Space Engineer Server",
|
2021-03-12 07:00:11 +08:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|max:64",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "World Name",
|
2022-11-15 23:28:52 +08:00
|
|
|
"description": "Name of your world (and of your save folder) !!!!! DO NOT EDIT OR SERVER WILL NOT START !!!!!",
|
2021-03-12 07:00:11 +08:00
|
|
|
"env_variable": "WORLD_NAME",
|
|
|
|
"default_value": "World",
|
|
|
|
"user_viewable": true,
|
2022-11-15 23:28:52 +08:00
|
|
|
"user_editable": false,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|max:20",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Server Description",
|
|
|
|
"description": "Description of the game",
|
|
|
|
"env_variable": "SERVER_DESC",
|
2022-11-15 23:28:52 +08:00
|
|
|
"default_value": "A Pterodactyl hosted Space Engineer Server",
|
2021-03-12 07:00:11 +08:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|max:200",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Game Mode",
|
|
|
|
"description": "Game Mode setting: Survival, Creative",
|
|
|
|
"env_variable": "SERVER_MODE",
|
|
|
|
"default_value": "Survival",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|in:Survival,Creative",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Maximum Players",
|
|
|
|
"description": "",
|
|
|
|
"env_variable": "MAX_PLAYERS",
|
|
|
|
"default_value": "4",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 15:18:01 +08:00
|
|
|
"rules": "required|numeric|digits_between:1,16",
|
2022-11-05 13:39:27 +08:00
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Enable Saving",
|
|
|
|
"description": "",
|
|
|
|
"env_variable": "SAVE_ENABLED",
|
|
|
|
"default_value": "true",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|in:true,false",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Auto Save Interval",
|
|
|
|
"description": "Time between auto saves specified in minutes",
|
|
|
|
"env_variable": "SAVE_INTERVAL",
|
|
|
|
"default_value": "5",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|numeric|digits_between:1,3",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Steam Port",
|
|
|
|
"description": "Steam Port",
|
|
|
|
"env_variable": "STEAM_PORT",
|
|
|
|
"default_value": "8766",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|numeric|max:65535",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
2022-11-15 23:28:52 +08:00
|
|
|
"name": "Enable Remote API",
|
|
|
|
"description": "Enable Remote API",
|
2021-03-12 07:00:11 +08:00
|
|
|
"env_variable": "REMOTEAPI_ENABLE",
|
|
|
|
"default_value": "false",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|in:true,false",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
},
|
|
|
|
{
|
2022-11-15 23:28:52 +08:00
|
|
|
"name": "Remote API Port",
|
|
|
|
"description": "Remote API Port",
|
2021-03-12 07:00:11 +08:00
|
|
|
"env_variable": "REMOTEAPI_PORT",
|
2021-03-13 02:28:23 +08:00
|
|
|
"default_value": "8081",
|
2021-03-12 07:00:11 +08:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|numeric|max:65535",
|
|
|
|
"field_type": "text"
|
2021-03-12 08:33:39 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "WINEDEBUG",
|
|
|
|
"description": "WINEDEBUG: Debug Level of wine",
|
|
|
|
"env_variable": "WINEDEBUG",
|
|
|
|
"default_value": "-all",
|
|
|
|
"user_viewable": false,
|
|
|
|
"user_editable": false,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "nullable|string|max:20",
|
|
|
|
"field_type": "text"
|
2021-09-21 02:39:26 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Windows Install",
|
|
|
|
"description": "Required for auto-update",
|
|
|
|
"env_variable": "WINDOWS_INSTALL",
|
|
|
|
"default_value": "1",
|
|
|
|
"user_viewable": false,
|
|
|
|
"user_editable": false,
|
2022-11-05 13:39:27 +08:00
|
|
|
"rules": "required|string|in:1",
|
|
|
|
"field_type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "WINETRICKS_RUN",
|
|
|
|
"description": "",
|
|
|
|
"env_variable": "WINETRICKS_RUN",
|
|
|
|
"default_value": "vcrun2013 vcrun2017 corefonts dotnet48",
|
|
|
|
"user_viewable": false,
|
|
|
|
"user_editable": false,
|
|
|
|
"rules": "required|string",
|
|
|
|
"field_type": "text"
|
2022-11-05 15:33:53 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Auto Update",
|
|
|
|
"description": "",
|
|
|
|
"env_variable": "AUTO_UPDATE",
|
|
|
|
"default_value": "1",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|boolean",
|
|
|
|
"field_type": "text"
|
2021-03-12 07:00:11 +08:00
|
|
|
}
|
|
|
|
]
|
2022-11-05 13:39:27 +08:00
|
|
|
}
|