Advertisement
Guest User

egg-empyrion--galactic-survival_Edit by Markezzz

a guest
May 1st, 2021
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.09 KB | None | 0 0
  1. {
  2.     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
  3.     "meta": {
  4.         "version": "PTDL_v1",
  5.         "update_url": null
  6.     },
  7.     "exported_at": "2021-05-01T11:54:09+02:00",
  8.     "name": "Empyrion: Galactic Survival",
  9.     "author": "alex.chang-lam@protonmail.com",
  10.     "description": "Empyrion: Galactic Survival dedicated server in Wine.",
  11.     "features": null,
  12.     "images": [
  13.         "quay.io\/parkervcp\/pterodactyl-images:debian_wine-5"
  14.     ],
  15.     "file_denylist": [],
  16.     "startup": "wine  .\/DedicatedServer\/EmpyrionDedicated.exe -batchmode -log -logFile .\/Logs\/current.log \"$@\" &> .\/Logs\/wine.log | tail -f .\/Logs\/current.log",
  17.     "config": {
  18.         "files": "{}",
  19.         "startup": "{\r\n    \"done\": \"-LOG- Start Game\",\r\n    \"userInteraction\": []\r\n}",
  20.         "logs": "{}",
  21.         "stop": "saveandexit 0"
  22.     },
  23.     "scripts": {
  24.         "installation": {
  25.             "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 lib32gcc1 ca-certificates xvfb\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 WINETRICKS_RUN=mono\r\nexport HOME=\/mnt\/server\r\nexport AUTO_UPDATE=1\r\nexport SRCDS_APPID=530870\r\n\r\ncd \/mnt\/server\/Steam\r\nchown -R root:root \/mnt\r\n\r\nif [ \"${VERSION}\" == \"experimental\" ]; then\r\n    .\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 530870 -beta experimental validate +quit\r\nelse\r\n    .\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +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\nmkdir -p \/mnt\/server\/tmp\/.X11-unix && chmod 1777 \/mnt\/server\/tmp\/.X11-unix\r\nmkdir -p \/mnt\/server\/Logs && chmod 1777 \/mnt\/server\/Logs\r\nmkdir -p \/mnt\/server\/DedicatedServer\/Logs && chmod 1777 \/mnt\/server\/DedicatedServer\/Logs\r\n\r\ntouch \/mnt\/server\/Logs\/current.log\r\ntouch \/mnt\/server\/Logs\/wine.log\r\n\r\n[ \"$1\" = \"bash\" ] && exec \"$@\"\r\n\r\n## Install WineTricks\r\nXvfb :1 -screen 0 800x600x24 &\r\nexport WINEDLLOVERRIDES=\"mscoree,mshtml=\"\r\nexport DISPLAY=:1",
  26.             "container": "debian:buster-slim",
  27.             "entrypoint": "bash"
  28.         }
  29.     },
  30.     "variables": [
  31.         {
  32.             "name": "Version",
  33.             "description": "Enable 'experimental'. Optional, defaults to public branch.",
  34.             "env_variable": "VERSION",
  35.             "default_value": "",
  36.             "user_viewable": true,
  37.             "user_editable": true,
  38.             "rules": "nullable|string|max:20"
  39.         }
  40.     ]
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement