From cada795dbfcbff267c8b5baa8b54b0fc5860061f Mon Sep 17 00:00:00 2001 From: Isaac A <6174343+tenten8401@users.noreply.github.com> Date: Sun, 14 Jul 2019 10:41:31 -0400 Subject: [PATCH] Add "Modern" RocketMod Egg, Fixes #172 Uses dedicated Unturned server in 64-bit mode in egg and install script --- unturned/rocketmod/egg-rocket-mod-modern.json | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 unturned/rocketmod/egg-rocket-mod-modern.json diff --git a/unturned/rocketmod/egg-rocket-mod-modern.json b/unturned/rocketmod/egg-rocket-mod-modern.json new file mode 100644 index 00000000..2583951b --- /dev/null +++ b/unturned/rocketmod/egg-rocket-mod-modern.json @@ -0,0 +1,26 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2019-07-14T14:37:31+00:00", + "name": "RocketMod Modern", + "author": "isaac@isaacs.site", + "description": "The RocketMod server mod for Unturned.", + "image": "registry.gitlab.com\/tenten8401\/pterodactyl-unturned:modern", + "startup": "mono RocketLauncher.exe unturned", + "config": { + "files": "{\r\n \"Servers\/unturned\/Server\/Commands.dat\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"Port\": \"Port {{server.build.default.port}}\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"Loading level: 100%\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": true,\r\n \"location\": \"latest.log\"\r\n}", + "stop": "shutdown" + }, + "scripts": { + "installation": { + "script": "apt update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates telnet ssh xvfb\r\n\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\n\r\nchown -R root:root \/mnt\r\n.\/steamcmd.sh +@sSteamCmdForcePlatformBitness 64 +login anonymous +app_update 1110390 +force_install_dir \/mnt\/server +quit\r\n\r\nmkdir -p \/mnt\/server\/Servers\/unturned\/Server\r\necho \"Port 27015\" > \/mnt\/server\/Servers\/unturned\/Server\/Commands.dat\r\n\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so", + "container": "ubuntu:18.04", + "entrypoint": "bash" + } + }, + "variables": [] +} \ No newline at end of file