1702064850a:19:{s:2:"id";i:164;s:11:"external_id";s:7:"wmx-220";s:4:"uuid";s:36:"7e780efa-015c-4439-b26e-b90146d4d3fd";s:10:"identifier";s:8:"7e780efa";s:4:"name";s:16:"7 Days 2 Die - S";s:11:"description";s:38:"SwiftByte || 7 Days 2 Die - S || Leano";s:6:"status";N;s:9:"suspended";b:0;s:6:"limits";a:7:{s:6:"memory";i:3072;s:4:"swap";i:0;s:4:"disk";i:20480;s:2:"io";i:500;s:3:"cpu";i:120;s:7:"threads";N;s:12:"oom_disabled";b:1;}s:14:"feature_limits";a:3:{s:9:"databases";i:0;s:11:"allocations";i:2;s:7:"backups";i:0;}s:4:"user";i:1;s:4:"node";i:4;s:10:"allocation";i:1304;s:4:"nest";i:5;s:3:"egg";i:17;s:9:"container";a:4:{s:15:"startup_command";s:690:"./7DaysToDieServer.x86_64 -configfile=serverconfig.xml -quit -batchmode -nographics -dedicated -ServerPort=${SERVER_PORT} -ServerDisabledNetworkProtocols=${SERVER_DISABLED_NETWORK_PROTOCOLS} -ServerMaxPlayerCount=${MAX_PLAYERS} -GameDifficulty=${GAME_DIFFICULTY} -ControlPanelEnabled=false -TelnetEnabled=true -TelnetPort=${TELNET_PORT} -TelnetPassword=${PASSWORD} -logfile logs/latest.log & echo -e "Checking on telnet connection" && until nc -z -v -w5 127.0.0.1 ${TELNET_PORT}; do echo "Waiting for telnet connection..."; sleep 5; done && $( [[ -z ${PASSWORD} ]] && printf %s "telnet -E 127.0.0.1 ${TELNET_PORT}" || printf %s "rcon -t telnet -a 127.0.0.1:${TELNET_PORT} -p {{PASSWORD}}" )";s:5:"image";s:33:"ghcr.io/parkervcp/steamcmd:debian";s:9:"installed";i:1;s:11:"environment";a:13:{s:11:"MAX_PLAYERS";s:1:"8";s:15:"GAME_DIFFICULTY";s:1:"2";s:11:"SRCDS_APPID";s:6:"294420";s:11:"AUTO_UPDATE";s:1:"1";s:15:"LD_LIBRARY_PATH";s:1:".";s:12:"SRCDS_BETAID";s:0:"";s:8:"PASSWORD";s:0:"";s:11:"TELNET_PORT";s:5:"26003";s:33:"SERVER_DISABLED_NETWORK_PROTOCOLS";s:0:"";s:7:"STARTUP";s:690:"./7DaysToDieServer.x86_64 -configfile=serverconfig.xml -quit -batchmode -nographics -dedicated -ServerPort=${SERVER_PORT} -ServerDisabledNetworkProtocols=${SERVER_DISABLED_NETWORK_PROTOCOLS} -ServerMaxPlayerCount=${MAX_PLAYERS} -GameDifficulty=${GAME_DIFFICULTY} -ControlPanelEnabled=false -TelnetEnabled=true -TelnetPort=${TELNET_PORT} -TelnetPassword=${PASSWORD} -logfile logs/latest.log & echo -e "Checking on telnet connection" && until nc -z -v -w5 127.0.0.1 ${TELNET_PORT}; do echo "Waiting for telnet connection..."; sleep 5; done && $( [[ -z ${PASSWORD} ]] && printf %s "telnet -E 127.0.0.1 ${TELNET_PORT}" || printf %s "rcon -t telnet -a 127.0.0.1:${TELNET_PORT} -p {{PASSWORD}}" )";s:17:"P_SERVER_LOCATION";s:7:"Hetzner";s:13:"P_SERVER_UUID";s:36:"7e780efa-015c-4439-b26e-b90146d4d3fd";s:25:"P_SERVER_ALLOCATION_LIMIT";i:2;}}s:10:"updated_at";s:25:"2023-12-07T16:02:00+00:00";s:10:"created_at";s:25:"2023-12-07T15:43:02+00:00";s:13:"relationships";a:6:{s:11:"allocations";a:2:{s:6:"object";s:4:"list";s:4:"data";a:2:{i:0;a:2:{s:6:"object";s:10:"allocation";s:10:"attributes";a:6:{s:2:"id";i:1304;s:2:"ip";s:14:"116.202.236.51";s:5:"alias";N;s:4:"port";i:26002;s:5:"notes";N;s:8:"assigned";b:1;}}i:1;a:2:{s:6:"object";s:10:"allocation";s:10:"attributes";a:6:{s:2:"id";i:1305;s:2:"ip";s:14:"116.202.236.51";s:5:"alias";N;s:4:"port";i:26003;s:5:"notes";N;s:8:"assigned";b:1;}}}}s:4:"user";a:2:{s:6:"object";s:4:"user";s:10:"attributes";a:12:{s:2:"id";i:1;s:11:"external_id";s:5:"wmx-1";s:4:"uuid";s:36:"c5e3f531-9ac6-4d6e-bf39-a7f460506ca4";s:8:"username";s:8:"leano555";s:5:"email";s:18:"leano@schramm22.de";s:10:"first_name";s:5:"Leano";s:9:"last_name";s:7:"Schramm";s:8:"language";s:2:"en";s:10:"root_admin";b:1;s:3:"2fa";b:0;s:10:"created_at";s:25:"2023-07-07T15:40:27+00:00";s:10:"updated_at";s:25:"2023-07-10T17:06:53+00:00";}}s:4:"nest";a:2:{s:6:"object";s:4:"nest";s:10:"attributes";a:7:{s:2:"id";i:5;s:4:"uuid";s:36:"fc308398-cad2-48c6-9cc4-67b2a92b9bd1";s:6:"author";s:18:"leano@schramm22.de";s:4:"name";s:12:"Custom Games";s:11:"description";N;s:10:"created_at";s:25:"2023-07-11T15:22:59+00:00";s:10:"updated_at";s:25:"2023-07-11T15:22:59+00:00";}}s:3:"egg";a:2:{s:6:"object";s:3:"egg";s:10:"attributes";a:13:{s:2:"id";i:17;s:4:"uuid";s:36:"90486844-d2ca-4753-9323-ac86adb254c7";s:4:"name";s:13:"7 Days To Die";s:4:"nest";i:5;s:6:"author";s:28:"kristoffer.norman@bahnhof.se";s:11:"description";s:20:"7 days to die server";s:12:"docker_image";s:33:"ghcr.io/parkervcp/steamcmd:debian";s:13:"docker_images";a:1:{s:33:"ghcr.io/parkervcp/steamcmd:debian";s:33:"ghcr.io/parkervcp/steamcmd:debian";}s:6:"config";a:6:{s:5:"files";a:0:{}s:7:"startup";a:1:{s:4:"done";s:26:"Connected with 7DTD server";}s:4:"stop";s:8:"shutdown";s:4:"logs";a:0:{}s:13:"file_denylist";a:0:{}s:7:"extends";N;}s:7:"startup";s:690:"./7DaysToDieServer.x86_64 -configfile=serverconfig.xml -quit -batchmode -nographics -dedicated -ServerPort=${SERVER_PORT} -ServerDisabledNetworkProtocols=${SERVER_DISABLED_NETWORK_PROTOCOLS} -ServerMaxPlayerCount=${MAX_PLAYERS} -GameDifficulty=${GAME_DIFFICULTY} -ControlPanelEnabled=false -TelnetEnabled=true -TelnetPort=${TELNET_PORT} -TelnetPassword=${PASSWORD} -logfile logs/latest.log & echo -e "Checking on telnet connection" && until nc -z -v -w5 127.0.0.1 ${TELNET_PORT}; do echo "Waiting for telnet connection..."; sleep 5; done && $( [[ -z ${PASSWORD} ]] && printf %s "telnet -E 127.0.0.1 ${TELNET_PORT}" || printf %s "rcon -t telnet -a 127.0.0.1:${TELNET_PORT} -p {{PASSWORD}}" )";s:6:"script";a:5:{s:10:"privileged";b:1;s:7:"install";s:3773:"#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ghcr.io/parkervcp/installers:debian'

##
#
# Variables
# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.
# WINDOWS_INSTALL - if it's a windows server you want to install set to 1
# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List
# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch
# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.
# INSTALL_FLAGS - Any additional SteamCMD  flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.
# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.
#
 ##

# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.
#apt -y update
#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates

## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
    echo -e "steam user is not set.\n"
    echo -e "Using anonymous user.\n"
    STEAM_USER=anonymous
    STEAM_PASS=""
    STEAM_AUTH=""
else
    echo -e "user set to ${STEAM_USER}"
fi

## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd

# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server

## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6

## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so

## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so

## add below your custom commands if needed

## install end
###
echo "--------------------------------------------------"
echo ""
echo "Installation abgeschlossen..."
echo ""
echo "--------------------------------------------------"
###
echo "Überprüfe, ob die Ports unter Startup gesetzt wurden und ob die Ports unter Netzwerk gesehen oder erstellt werden müssen."
echo "Für dieses Spiel muss der Telnet-Port angegeben werden."
echo "--------------------------------------------------"
###
echo ""
echo "Installation completed..."
echo ""
echo "--------------------------------------------------"
###

echo "Checking if the ports are set under Startup and if the ports need to be seen or created under network."
echo "For this game, the Telnet port must be specified."
echo "--------------------------------------------------"";s:5:"entry";s:4:"bash";s:9:"container";s:35:"ghcr.io/parkervcp/installers:debian";s:7:"extends";N;}s:10:"created_at";s:25:"2023-07-11T15:23:49+00:00";s:10:"updated_at";s:25:"2023-07-11T15:23:49+00:00";}}s:8:"location";a:2:{s:6:"object";s:8:"location";s:10:"attributes";a:5:{s:2:"id";i:1;s:5:"short";s:7:"Hetzner";s:4:"long";s:21:"Server in Deutschland";s:10:"updated_at";s:25:"2023-11-04T14:53:19+00:00";s:10:"created_at";s:25:"2023-07-07T15:45:08+00:00";}}s:4:"node";a:2:{s:6:"object";s:4:"node";s:10:"attributes";a:21:{s:2:"id";i:4;s:4:"uuid";s:36:"3c941d61-1fee-4b4c-807b-6effb783c217";s:6:"public";b:1;s:4:"name";s:5:"Node2";s:11:"description";N;s:11:"location_id";i:1;s:4:"fqdn";s:19:"node2.swift-byte.de";s:6:"scheme";s:5:"https";s:12:"behind_proxy";b:0;s:16:"maintenance_mode";b:0;s:6:"memory";i:122880;s:19:"memory_overallocate";i:0;s:4:"disk";i:1572864;s:17:"disk_overallocate";i:0;s:11:"upload_size";i:100;s:13:"daemon_listen";i:8080;s:11:"daemon_sftp";i:2022;s:11:"daemon_base";s:28:"/var/lib/pterodactyl/volumes";s:10:"created_at";s:25:"2023-11-04T14:48:08+00:00";s:10:"updated_at";s:25:"2023-12-06T23:06:35+00:00";s:19:"allocated_resources";a:2:{s:6:"memory";i:55808;s:4:"disk";i:220160;}}}}}