1706077219a:19:{s:2:"id";i:188;s:11:"external_id";s:7:"wmx-234";s:4:"uuid";s:36:"2be302ba-a89d-44fc-b45c-b387ba00b786";s:10:"identifier";s:8:"2be302ba";s:4:"name";s:13:"Smalland  - S";s:11:"description";s:35:"SwiftByte || Smalland  - S || Leano";s:6:"status";N;s:9:"suspended";b:0;s:6:"limits";a:7:{s:6:"memory";i:4096;s:4:"swap";i:0;s:4:"disk";i:10240;s:2:"io";i:500;s:3:"cpu";i:100;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:0;s:7:"backups";i:1;}s:4:"user";i:1;s:4:"node";i:4;s:10:"allocation";i:1303;s:4:"nest";i:5;s:3:"egg";i:39;s:9:"container";a:4:{s:15:"startup_command";s:1078:"./SMALLAND/Binaries/Linux/SMALLANDServer-Linux-Shipping SMALLAND /Game/Maps/WorldGame/WorldGame_Smalland?SERVERNAME="{{SERVERNAME}}"?WORLDNAME="{{WORLDNAME}}"$([ -n "{{PASSWORD}}" ] && echo "?PASSWORD={{PASSWORD}}")$([ "{{PEACEFUL}}" = "1" ] && echo "?PEACEFULMODE")$([ "{{KEEPINVENTORY}}" = "1" ] && echo "?KEEPINVENTORY")$([ "{{FRIENDLYFIRE}}" = "1" ] && echo "?FRIENDLYFIRE")$([ "{{NODETERIORATION}}" = "1" ] && echo "?NODETERIORATION")$([ "{{PRIVATE}}" = "1" ] && echo "?PRIVATE")?lengthofdayseconds={{LENGTHOFDAYSECONDS}}?lengthofseasonseconds={{LENGTHOFSEASONSECONDS}}?creaturehealthmodifier={{CREATUREHEALTHMODIFIER}}?creaturedamagemodifier={{CREATUREDAMAGEMODIFIER}}?nourishmentlossmodifier={{NOURISHMENTLOSSMODIFIER}}?falldamagemodifier={{FALLDAMAGEMODIFIER}} -ini:Engine:[EpicOnlineServices]:DeploymentId=50f2b148496e4cbbbdeefbecc2ccd6a3 -ini:Engine:[EpicOnlineServices]:DedicatedServerClientId=xyza78918KT08TkA6emolUay8yhvAAy2 -ini:Engine:[EpicOnlineServices]:DedicatedServerClientSecret=aN2GtVw7aHb6hx66HwohNM+qktFaO3vtrLSbGdTzZWk -port={{SERVER_PORT}} -log -NOSTEAM";s:5:"image";s:33:"ghcr.io/parkervcp/steamcmd:debian";s:9:"installed";i:1;s:11:"environment";a:20:{s:10:"SERVERNAME";s:24:"Powered by Swift-Byte.de";s:9:"WORLDNAME";s:5:"World";s:8:"PASSWORD";s:0:"";s:18:"LENGTHOFDAYSECONDS";s:4:"1800";s:21:"LENGTHOFSEASONSECONDS";s:5:"10800";s:22:"CREATUREHEALTHMODIFIER";s:3:"100";s:22:"CREATUREDAMAGEMODIFIER";s:3:"160";s:23:"NOURISHMENTLOSSMODIFIER";s:3:"100";s:18:"FALLDAMAGEMODIFIER";s:3:"100";s:8:"PEACEFUL";s:1:"0";s:13:"KEEPINVENTORY";s:1:"0";s:12:"FRIENDLYFIRE";s:1:"0";s:15:"NODETERIORATION";s:1:"0";s:7:"PRIVATE";s:1:"0";s:11:"SRCDS_APPID";s:6:"808040";s:11:"AUTO_UPDATE";s:1:"1";s:7:"STARTUP";s:1078:"./SMALLAND/Binaries/Linux/SMALLANDServer-Linux-Shipping SMALLAND /Game/Maps/WorldGame/WorldGame_Smalland?SERVERNAME="{{SERVERNAME}}"?WORLDNAME="{{WORLDNAME}}"$([ -n "{{PASSWORD}}" ] && echo "?PASSWORD={{PASSWORD}}")$([ "{{PEACEFUL}}" = "1" ] && echo "?PEACEFULMODE")$([ "{{KEEPINVENTORY}}" = "1" ] && echo "?KEEPINVENTORY")$([ "{{FRIENDLYFIRE}}" = "1" ] && echo "?FRIENDLYFIRE")$([ "{{NODETERIORATION}}" = "1" ] && echo "?NODETERIORATION")$([ "{{PRIVATE}}" = "1" ] && echo "?PRIVATE")?lengthofdayseconds={{LENGTHOFDAYSECONDS}}?lengthofseasonseconds={{LENGTHOFSEASONSECONDS}}?creaturehealthmodifier={{CREATUREHEALTHMODIFIER}}?creaturedamagemodifier={{CREATUREDAMAGEMODIFIER}}?nourishmentlossmodifier={{NOURISHMENTLOSSMODIFIER}}?falldamagemodifier={{FALLDAMAGEMODIFIER}} -ini:Engine:[EpicOnlineServices]:DeploymentId=50f2b148496e4cbbbdeefbecc2ccd6a3 -ini:Engine:[EpicOnlineServices]:DedicatedServerClientId=xyza78918KT08TkA6emolUay8yhvAAy2 -ini:Engine:[EpicOnlineServices]:DedicatedServerClientSecret=aN2GtVw7aHb6hx66HwohNM+qktFaO3vtrLSbGdTzZWk -port={{SERVER_PORT}} -log -NOSTEAM";s:17:"P_SERVER_LOCATION";s:7:"Hetzner";s:13:"P_SERVER_UUID";s:36:"2be302ba-a89d-44fc-b45c-b387ba00b786";s:25:"P_SERVER_ALLOCATION_LIMIT";i:0;}}s:10:"updated_at";s:25:"2024-01-22T01:35:39+00:00";s:10:"created_at";s:25:"2024-01-22T01:33:01+00:00";s:13:"relationships";a:6:{s:11:"allocations";a:2:{s:6:"object";s:4:"list";s:4:"data";a:1:{i:0;a:2:{s:6:"object";s:10:"allocation";s:10:"attributes";a:6:{s:2:"id";i:1303;s:2:"ip";s:14:"116.202.236.51";s:5:"alias";N;s:4:"port";i:26001;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:39;s:4:"uuid";s:36:"79aa81cc-a839-4f33-b100-4c3d43d3570a";s:4:"name";s:27:"Smalland: Survive the Wilds";s:4:"nest";i:5;s:6:"author";s:19:"josdekurk@gmail.com";s:11:"description";s:270:"Experience a big adventure on a tiny scale! Enjoy multiplayer survival in a vast, hazardous world. Preparation is key when you're this small & at the bottom of the food chain. Craft weapons & armour, tame & ride creatures, build encampments & explore a strange new land.";s:12:"docker_image";s:33:"ghcr.io/parkervcp/steamcmd:debian";s:13:"docker_images";a:1:{s:8:"SteamCMD";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:40:"LogInit: Display: Engine is initialized.";}s:4:"stop";s:2:"^C";s:4:"logs";a:0:{}s:13:"file_denylist";a:0:{}s:7:"extends";N;}s:7:"startup";s:1078:"./SMALLAND/Binaries/Linux/SMALLANDServer-Linux-Shipping SMALLAND /Game/Maps/WorldGame/WorldGame_Smalland?SERVERNAME="{{SERVERNAME}}"?WORLDNAME="{{WORLDNAME}}"$([ -n "{{PASSWORD}}" ] && echo "?PASSWORD={{PASSWORD}}")$([ "{{PEACEFUL}}" = "1" ] && echo "?PEACEFULMODE")$([ "{{KEEPINVENTORY}}" = "1" ] && echo "?KEEPINVENTORY")$([ "{{FRIENDLYFIRE}}" = "1" ] && echo "?FRIENDLYFIRE")$([ "{{NODETERIORATION}}" = "1" ] && echo "?NODETERIORATION")$([ "{{PRIVATE}}" = "1" ] && echo "?PRIVATE")?lengthofdayseconds={{LENGTHOFDAYSECONDS}}?lengthofseasonseconds={{LENGTHOFSEASONSECONDS}}?creaturehealthmodifier={{CREATUREHEALTHMODIFIER}}?creaturedamagemodifier={{CREATUREDAMAGEMODIFIER}}?nourishmentlossmodifier={{NOURISHMENTLOSSMODIFIER}}?falldamagemodifier={{FALLDAMAGEMODIFIER}} -ini:Engine:[EpicOnlineServices]:DeploymentId=50f2b148496e4cbbbdeefbecc2ccd6a3 -ini:Engine:[EpicOnlineServices]:DedicatedServerClientId=xyza78918KT08TkA6emolUay8yhvAAy2 -ini:Engine:[EpicOnlineServices]:DedicatedServerClientSecret=aN2GtVw7aHb6hx66HwohNM+qktFaO3vtrLSbGdTzZWk -port={{SERVER_PORT}} -log -NOSTEAM";s:6:"script";a:5:{s:10:"privileged";b:1;s:7:"install";s:2626:"#!/bin/bash

mkdir -p /mnt/server
cd /mnt/server

## 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

cd /mnt/server

# 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

#I guess save world file fix?, If this does not work comment those 2 lines out
mkdir -p SMALLAND/Saved/SaveGames/Worlds/

if ! [ -f /mnt/server/SMALLAND/Saved/SaveGames/Worlds/World.wld ]; then
  echo "savegamefix?"
  touch /mnt/server/SMALLAND/Saved/SaveGames/Worlds/World.wld
fi


## install end
echo "-----------------------------------------"
echo "Installation completed..."
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:"2024-01-07T23:21:11+00:00";s:10:"updated_at";s:25:"2024-01-16T19:21:43+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:95744;s:4:"disk";i:334786;}}}}}