Add Hurtworld remove 7DTD

This commit is contained in:
Exonical 2018-04-08 03:04:15 -04:00
parent bad745d5ce
commit 8ad7356e07
2 changed files with 63 additions and 54 deletions

View File

@ -1,54 +0,0 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2018-03-01T17:26:17-05:00",
"name": "7 Days to Die",
"author": "brycea@rapidnetworks.org",
"description": "Set in a brutally unforgiving post-apocalyptic world overrun by the undead, 7 Days to Die is an open-world game that is a unique combination of first person shooter, survival horror, tower defense, and role-playing games.",
"image": "quay.io\/exonical\/7-days-to-die",
"startup": ".\/startserver.sh -configfile=serverconfig.xml -nographics -logfile 7DaysToDie_Data\/output_log.txt $@",
"config": {
"files": "{\r\n \"serverconfig.xml\": {\r\n \"parser\": \"xml\",\r\n \"find\": {\r\n \"ServerPort\": \"{{server.build.default.port}}\",\r\n \"ServerName\": \"{{server.build.env.HOSTNAME}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "apt update\r\napt -y --no-install-recommends install curl unzip libstdc++6 lib32gcc1 ca-certificates\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\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\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 294420 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so",
"container": "ubuntu:16.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Steam Username",
"description": "",
"env_variable": "steam_user",
"default_value": "anonymous",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string|max:50"
},
{
"name": "Steam Password",
"description": "",
"env_variable": "steam_pass",
"default_value": "",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string|max:20"
},
{
"name": "Hostname",
"description": "Name of the server that appears publicly.",
"env_variable": "HOSTNAME",
"default_value": "My Server",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|string|max:64"
}
]
}

View File

@ -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"
}
]
}