Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
- "meta": {
- "version": "PTDL_v1",
- "update_url": null
- },
- "exported_at": "2021-05-01T11:54:09+02:00",
- "name": "Empyrion: Galactic Survival",
- "author": "alex.chang-lam@protonmail.com",
- "description": "Empyrion: Galactic Survival dedicated server in Wine.",
- "features": null,
- "images": [
- "quay.io\/parkervcp\/pterodactyl-images:debian_wine-5"
- ],
- "file_denylist": [],
- "startup": "wine .\/DedicatedServer\/EmpyrionDedicated.exe -batchmode -log -logFile .\/Logs\/current.log \"$@\" &> .\/Logs\/wine.log | tail -f .\/Logs\/current.log",
- "config": {
- "files": "{}",
- "startup": "{\r\n \"done\": \"-LOG- Start Game\",\r\n \"userInteraction\": []\r\n}",
- "logs": "{}",
- "stop": "saveandexit 0"
- },
- "scripts": {
- "installation": {
- "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",
- "container": "debian:buster-slim",
- "entrypoint": "bash"
- }
- },
- "variables": [
- {
- "name": "Version",
- "description": "Enable 'experimental'. Optional, defaults to public branch.",
- "env_variable": "VERSION",
- "default_value": "",
- "user_viewable": true,
- "user_editable": true,
- "rules": "nullable|string|max:20"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement