1700055083a:19:{s:2:"id";i:122;s:11:"external_id";s:7:"wmx-156";s:4:"uuid";s:36:"d42a2f7a-56e1-4df2-9e68-b9cdd466e686";s:10:"identifier";s:8:"d42a2f7a";s:4:"name";s:10:"Icarus - M";s:11:"description";s:41:"SwiftByte || Icarus - M || SullivanCooper";s:6:"status";N;s:9:"suspended";b:0;s:6:"limits";a:7:{s:6:"memory";i:12288;s:4:"swap";i:0;s:4:"disk";i:30720;s:2:"io";i:500;s:3:"cpu";i:400;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:2;}s:4:"user";i:11;s:4:"node";i:3;s:10:"allocation";i:146;s:4:"nest";i:5;s:3:"egg";i:28;s:9:"container";a:4:{s:15:"startup_command";s:151:"wine64 ./Icarus/Binaries/Win64/IcarusServer-Win64-Shipping.exe -Log -SteamServerName="${SERVER_NAME}" -PORT="${SERVER_PORT}" -QueryPort="${QUERY_PORT}"";s:5:"image";s:36:"ghcr.io/parkervcp/yolks:wine_staging";s:9:"installed";i:1;s:11:"environment";a:16:{s:10:"QUERY_PORT";s:5:"26146";s:11:"SERVER_NAME";s:42:"Stock und Stein | Powered by Swift-Byte.de";s:15:"WINDOWS_INSTALL";s:1:"1";s:14:"WINETRICKS_RUN";s:19:"vcrun2019 corefonts";s:11:"SRCDS_APPID";s:7:"2089300";s:11:"AUTO_UPDATE";s:1:"1";s:9:"WINEDEBUG";s:4:"-all";s:8:"WINEPATH";s:15:"/home/container";s:8:"WINEARCH";s:5:"win64";s:11:"MAX_PLAYERS";s:2:"14";s:15:"SERVER_PASSWORD";s:12:"ErzanErz2023";s:14:"ADMIN_PASSWORD";s:12:"CaptainAdmin";s:7:"STARTUP";s:151:"wine64 ./Icarus/Binaries/Win64/IcarusServer-Win64-Shipping.exe -Log -SteamServerName="${SERVER_NAME}" -PORT="${SERVER_PORT}" -QueryPort="${QUERY_PORT}"";s:17:"P_SERVER_LOCATION";s:4:"test";s:13:"P_SERVER_UUID";s:36:"d42a2f7a-56e1-4df2-9e68-b9cdd466e686";s:25:"P_SERVER_ALLOCATION_LIMIT";i:2;}}s:10:"updated_at";s:25:"2023-11-12T20:43:50+00:00";s:10:"created_at";s:25:"2023-10-26T05:53:34+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:146;s:2:"ip";s:12:"85.10.197.56";s:5:"alias";N;s:4:"port";i:26145;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:147;s:2:"ip";s:12:"85.10.197.56";s:5:"alias";N;s:4:"port";i:26146;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:11;s:11:"external_id";s:6:"wmx-18";s:4:"uuid";s:36:"f2b490cc-bfb5-4486-9b13-1c066fd33817";s:8:"username";s:17:"sullivancooper322";s:5:"email";s:26:"sullivancooper86@gmail.com";s:10:"first_name";s:8:"Sullivan";s:9:"last_name";s:6:"Cooper";s:8:"language";s:2:"en";s:10:"root_admin";b:0;s:3:"2fa";b:0;s:10:"created_at";s:25:"2023-10-19T13:19:03+00:00";s:10:"updated_at";s:25:"2023-10-19T13:19:03+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:28;s:4:"uuid";s:36:"a24b24aa-5769-4fa7-b702-b2df98f5e92e";s:4:"name";s:6:"Icarus";s:4:"nest";i:5;s:6:"author";s:18:"bolverblitz@ebg.pw";s:11:"description";N;s:12:"docker_image";s:36:"ghcr.io/parkervcp/yolks:wine_staging";s:13:"docker_images";a:1:{s:12:"Wine Staging";s:36:"ghcr.io/parkervcp/yolks:wine_staging";}s:6:"config";a:6:{s:5:"files";a:2:{s:52:"Icarus/Saved/Config/WindowsServer/ServerSettings.ini";a:3:{s:6:"parser";s:4:"file";s:4:"find";a:3:{s:12:"JoinPassword";s:36:"JoinPassword={{env.SERVER_PASSWORD}}";s:13:"AdminPassword";s:36:"AdminPassword={{env.ADMIN_PASSWORD}}";s:10:"MaxPlayers";s:30:"MaxPlayers={{env.MAX_PLAYERS}}";}s:10:"setDefault";a:4:{s:6:"prefix";s:40:"[/Script/Icarus.DedicatedServerSettings]";s:12:"JoinPassword";s:44:"JoinPassword={{env.SERVER_PASSWORD_DEFAULT}}";s:13:"AdminPassword";s:44:"AdminPassword={{env.ADMIN_PASSWORD_DEFAULT}}";s:10:"MaxPlayers";s:38:"MaxPlayers={{env.MAX_PLAYERS_DEFAULT}}";}}s:38:"Icarus/Saved/Config/ServerSettings.ini";a:3:{s:6:"parser";s:4:"file";s:4:"find";a:3:{s:12:"JoinPassword";s:36:"JoinPassword={{env.SERVER_PASSWORD}}";s:13:"AdminPassword";s:36:"AdminPassword={{env.ADMIN_PASSWORD}}";s:10:"MaxPlayers";s:30:"MaxPlayers={{env.MAX_PLAYERS}}";}s:10:"setDefault";a:4:{s:6:"prefix";s:40:"[/Script/Icarus.DedicatedServerSettings]";s:12:"JoinPassword";s:44:"JoinPassword={{env.SERVER_PASSWORD_DEFAULT}}";s:13:"AdminPassword";s:44:"AdminPassword={{env.ADMIN_PASSWORD_DEFAULT}}";s:10:"MaxPlayers";s:38:"MaxPlayers={{env.MAX_PLAYERS_DEFAULT}}";}}}s:7:"startup";a:1:{s:4:"done";s:35:"(Engine Initialization) Total time:";}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:151:"wine64 ./Icarus/Binaries/Win64/IcarusServer-Win64-Shipping.exe -Log -SteamServerName="${SERVER_NAME}" -PORT="${SERVER_PORT}" -QueryPort="${QUERY_PORT}"";s:6:"script";a:5:{s:10:"privileged";b:1;s:7:"install";s:2162:"#!/bin/bash

## License: MIT License
## Image to install with is 'ghcr.io/parkervcp/installers:debian'

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} validate +quit

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

FILE=/mnt/server/Icarus/Saved/Config/ServerSettings.ini
if [ -f "$FILE" ]; then
    echo "Config already exist skipping"
else 
    echo "Config does not yet exist, making one"
    mkdir -p /mnt/server/Icarus/Saved/Config/WindowsServer
    cd /mnt/server/Icarus/Saved/Config/
    curl -sSL -o ServerSettings.ini https://raw.githubusercontent.com/RocketWerkz/IcarusDedicatedServer/main/ServerSettings.ini
    cd /mnt/server/Icarus/Saved/Config/WindowsServer
    curl -sSL -o ServerSettings.ini https://raw.githubusercontent.com/RocketWerkz/IcarusDedicatedServer/main/ServerSettings.ini
fi

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"";s:5:"entry";s:9:"/bin/bash";s:9:"container";s:37:"ghcr.io/pterodactyl/installers:debian";s:7:"extends";N;}s:10:"created_at";s:25:"2023-08-27T09:56:41+00:00";s:10:"updated_at";s:25:"2023-08-28T09:55:25+00:00";}}s:8:"location";a:2:{s:6:"object";s:8:"location";s:10:"attributes";a:5:{s:2:"id";i:2;s:5:"short";s:4:"test";s:4:"long";N;s:10:"updated_at";s:25:"2023-11-11T23:27:05+00:00";s:10:"created_at";s:25:"2023-11-11T23:27:05+00:00";}}s:4:"node";a:2:{s:6:"object";s:4:"node";s:10:"attributes";a:21:{s:2:"id";i:3;s:4:"uuid";s:36:"45598ab9-7d49-4df9-9dcf-201e7f407388";s:6:"public";b:1;s:4:"name";s:5:"Node1";s:11:"description";N;s:11:"location_id";i:2;s:4:"fqdn";s:19:"node1.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:61440;s:19:"memory_overallocate";i:0;s:4:"disk";i:409600;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-07-09T15:14:25+00:00";s:10:"updated_at";s:25:"2023-11-11T23:27:16+00:00";s:19:"allocated_resources";a:2:{s:6:"memory";i:46592;s:4:"disk";i:204800;}}}}}