Adding 7 Days To Die

Adding 7 Days To Die after much fanfare.
This commit is contained in:
Michael (Parker) Parker 2018-07-07 19:31:09 -04:00
parent 6202722730
commit 59cb02fa7e
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2018-07-07T19:23:03-04:00",
"name": "7 Days To Die",
"author": "kristoffer.norman@bahnhof.se",
"description": "7 days to die server",
"image": "quay.io\/parkervcp\/pterodactyl-images:7daystodie",
"startup": "-ServerPort=${{SERVER_PORT}} -ServerMaxPlayerCount=${{MAX_PLAYERS}} -GameDifficulty=${{GAME_DIFFICULTY}} -ControlPanelEnabled=false -TelnetEnabled=true -TelnetPort=8081",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Connected with 7DTD server\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "shutdown"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n# 7 days to die 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 \/mnt\/server\/logs\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 294420 +quit\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": [
{
"name": "Max Players",
"description": "Maximum Concurrent Players",
"env_variable": "MAX_PLAYERS",
"default_value": "8",
"user_viewable": 1,
"user_editable": 0,
"rules": "required|string|max:20"
},
{
"name": "Game Difficulty",
"description": "0 - 5, 0=easiest, 5=hardest",
"env_variable": "GAME_DIFFICULTY",
"default_value": "2",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|integer|between:0,5"
}
]
}

View File

@ -42,6 +42,10 @@ The [tShock](https://tshock.co) modded server.
#### RocketMod
The [RocketMod](https://rocketmod.net/) unturned server.
### 7 Days To Die
#### 7 Days To Die
The Vanilla [7 Days To Die](https://7daystodie.com) server
### Minecraft
#### Spigot Enhanced
This is a direct fork of the default spigot service with the added benefit of being able to build the spigot jar.