Egg Repository

Pterodactyl Community Egg Repository

HumanitZ

HumanitZ is a co-op, isometric, open world survival game in a world ended by the zombie outbreak. As one of the few human survivors, try to last as long as “humanly” possible. The past can’t be changed, but you can make a difference today for the future of humanity.

Read Me

HumanitZ

Documentation

HumanitZ is a co-op, isometric, open world survival game in a world ended by the zombie outbreak. As one of the few human survivors, try to last as long as “humanly” possible. The past can’t be changed, but you can make a difference today for the future of humanity.

Install notes

The current version of the server software is slightly buggy, and as of this writing has no proper documentation.

They include a README.txt file with the server software, that includes a description of most of the variables, but not more than that. This is only obtainable via the SteamCMD tool.

Installation/System Requirements

Requires a 64-bit processor and operating system

Server Ports

Ports required to run the server in a table format.

Port default
Game Port 7777
Query Port 27015

Notes

7777 is the default port, but any port can be used.

Yolks
NameTag
ghcr.io/ptero-eggs/steamcmd:debianghcr.io/ptero-eggs/steamcmd:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
[REQUIRED] Steam App IDSteam App ID of HumanitZ ServerSRCDS_APPID2728330NoNo
Auto UpdateEnable automatic updates on bootAUTO_UPDATE1YesYes
[REQUIRED] Steam Beta BranchThis ensures the script will grab the Linux version of the serverSRCDS_BETAIDlinuxbranchNoNo
[REQUIRED] Steam Query PortSteam Query PortQUERY_PORT27015YesYes
Server NameName of the serverSERVER_NAMEHumanitZ [Dedicated]YesYes
Server PasswordServer password (if any)PASSWORDYesYes
Save NameName of the save-file for the serverSAVE_NAMEDedicatedSaveMPYesYes
Admin PasswordPassword for the adminADMIN_PASSYesYes
Max PlayersMaximum number of players allowedMAX_PLAYERS16YesYes
Only Allowed PlayersRestrict server to allowed players onlyONLY_ALLOWED_PLAYERS0YesYes
Saving World IntervalSave game every x seconds.SAVE_INTERVAL_SEC300YesYes
Permanent Death0=Off, 1=Individual perma-death, 2=All players experience perma-deathPERMA_DEATH0YesYes
On Death0=Only lose backpack, and weapon in hand, 1=Previous + pockets, and backpack, 2=All previous + EquipmentON_DEATH2YesYes
PvP0/1 Off/On. Enable or disable Player vs Player.PVP1YesYes
Clear Infection0=Respawning does not rid you of the infection, 1=You lose it upon respawningCLEAR_INFECTION1YesYes
Eagle Eye1=Able to purchase the eagle eye skill, 0=You can'tEAGLE_EYE1YesYes
Air Drop1=Enabled, 0=Disabled. Controls whether air drops are enabled.AIR_DROP1YesYes
Weapon Durability1=Weapons break when reaching 0% durability except crowbar, 0=Only improvised weapons break at 0% durabilityWEAPON_BREAK1YesYes
Multiplayer Sleep1=Time passes if everyone performs the sleep emote at the same time, 0=Passing time is disabledMULTIPLAYER_SLEEP0YesYes
Building HealthHealth multiplier of player placed buildings. By default set to "1".BUILDING_HEALTH1YesYes
Loot Respawn1=Loot does respawn, 0=Never respawnLOOT_RESPAWN1YesYes
Loot Respawn TimerIf loot respawns how long does it take in minutesLOOT_RESPAWN_TIMER60YesYes
Pickup Respawn TimerTime in minutes it takes to respawn pickups, 0 to disable.PICKUP_RESPAWN_TIMER90YesYes
Loot Rarity0=Scarce, 1=Low, 2=Default, 3=Plentiful, 4=AbundantLOOT_RARITY2YesYes
Air Drop IntervalAir drop every X dayAIR_DROP_INTERVAL1YesYes
Zombie Difficulty (Health)0=Very Easy, 1=Easy, 2=Default, 3=Hard, 4=Very Hard, 5=NightmareZOMBIE_DIFF_HEALTH1YesYes
Zombie Difficulty (Speed)0=Very Easy, 1=Easy, 2=Default, 3=Hard, 4=Very Hard, 5=NightmareZOMBIE_DIFF_SPEED2YesYes
Zombie Difficulty (Damage)0=Very Easy, 1=Easy, 2=Default, 3=Hard, 4=Very Hard, 5=NightmareZOMBIE_DIFF_DAMAGE3YesYes
Human Difficulty0=Very Easy, 1=Easy, 2=Default, 3=Hard, 4=Very Hard, 5=NightmareHUMAN_DIFFICULTY3YesYes
Zombie Amount MultiplierZombie spawn count multiplierZOMBIE_AMOUNT_MULTI1YesYes
Human Amount MultiplierHostile humans spawn count multiplierHUMAN_AMOUNT_MULTI1YesYes
Zombie Dog MultiplierZombie dog spawn count multiplierZOMBIE_DOG_MULTI1YesYes
Zombie Respawn TimerTime in minutes for zombies to respawnZOMBIE_RESPAWN_TIMER90YesYes
Human Respawn TimerTime in minutes for hostile humans to respawnHUMAN_RESPAWN_TIMER90YesYes
Animal Respawn TimerTime in minutes for animals to respawnANIMAL_RESPAWN_TIMER90YesYes
Starting Season0=Summer, 1=Autum, 2=Winter, 3=SpringSTARTING_SEASON1YesYes
Days Per SeasonHow many days each season lastsDAYS_PER_SEASON5YesYes
Day DurationDay duration in minutesDAY_DUR40YesYes
Night DurationNight duration in minutesNIGHT_DUR20YesYes
Vital DrainHow fast your vitals drain 0=Slow, 1=Normal, 2=FastVITAL_DRAIN1YesYes
Dog Companions EnabledEnable finding dog companions you can recruitDOG_ENABLED1YesYes
Dog Companion AmountNumber of companion dogs that could spawn randomlyDOG_NUM8YesYes
Recruit Companion DogsAllow players to recruit companion dogRECRUIT_DOG1YesYes
Companion HealthDog companion health - 0=Low 1=Default 2=HighCOMPANION_HEALTH1YesYes
Companion DamageDog companion damage - 0=Low 1=Default 2=HighCOMPANION_DMG1YesYes
No Death Feedback0 to enable player died notification in chat - 1 to disable player died notification in chat.NO_DEATH_FEEDBACK0YesYes
Allow Dismantle1 = Enable players to dismantle their own buildings, 0 = DisableALLOW_DISMANTLE1YesYes
Allow House Dismantle1 = Players are able to dismantle house props, 0 = DisableALLOW_HOUSE_DISMANTLE1YesYes
Territory1 = Enabled. In PVE you are not allowed to build in someone's spawn point area. Only non recruit clan members can. 0 = DisableTERRITORY1YesYes
DecayBy default 3600, the crafted "Spawn Point" loses 1 durability every 1 hour. This is used to deal with territory build restrictions, so players have to repair their spawn point.DECAY3600YesYes
Pickup CleanupHow long in minutes it takes for dropped pickups to be destroyed (Pickups part of the world will not be considered), a value of 0 means no cleanup is done.PICKUP_CLEANUP3000YesYes
Fake Building CleanupHow long in minutes it takes for the white blueprint building to be destroyed, a value of 0 means no cleanup is done.FAKE_BUILDING_CLEANUP3000YesYes
Install Script
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ghcr.io/ptero-eggs/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 

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

## making server files executable
chmod +x /mnt/server/TSSGame/Binaries/Linux/TSSGameServer-Linux-Shipping

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"