diff --git a/Hurtworld/hurtworld/egg-hurtworld.json b/Hurtworld/hurtworld/egg-hurtworld.json new file mode 100644 index 00000000..9e1d5fb6 --- /dev/null +++ b/Hurtworld/hurtworld/egg-hurtworld.json @@ -0,0 +1,63 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2018-04-08T03:01:49-04:00", + "name": "Hurtworld", + "author": "brycea@rapidnetworks.org", + "description": "Hurtworld is a hardcore multiplayer survival FPS with a focus on deep survival progression that doesn't become trivial once you establish some basic needs. Built for hardcore gamers, Hurtworld aims to punish.", + "image": "quay.io\/exonical\/pterodactyl-hurtworld:hurtworld", + "startup": ".\/Hurtworld.x86_64 -batchmode -nographics -exec \"host {{SERVER_PORT}};queryport {{QUERY_PORT}};maxplayers {{MAX_PLAYERS}};servername {{HOSTNAME}}\" -logfile output.txt", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Mono config path = '\/home\/container\/Hurtworld_Data\/Mono\/etc'\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Hurtworld Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steamcmd\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\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\n\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update ${SERVER_APPID} +quit\r\n\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so", + "container": "ubuntu:16.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Game ID", + "description": "The ID corresponding to the game to download and run using SRCDS.", + "env_variable": "SERVER_APPID", + "default_value": "405100", + "user_viewable": 1, + "user_editable": 0, + "rules": "required|regex:\/^(405100)$\/" + }, + { + "name": "Query Port", + "description": "Server Query Default Port", + "env_variable": "QUERY_PORT", + "default_value": "12881", + "user_viewable": 1, + "user_editable": 0, + "rules": "required|string" + }, + { + "name": "Max Players", + "description": "Max players allowed on the server at one time.", + "env_variable": "MAX_PLAYERS", + "default_value": "60", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:60" + }, + { + "name": "Server Name", + "description": "The name of your server in the public server list.", + "env_variable": "HOSTNAME", + "default_value": "A Hurtworld Server", + "user_viewable": 1, + "user_editable": 1, + "rules": "required|string|max:50" + } + ] +} \ No newline at end of file