Romestead
gamesRome has fallen! Rebuild civilization in this action-adventure survival game for 1-8 players. Fight hordes of the walking dead, build settlements, restore the Roman gods... or kick back and farm with friends.
README
Romestead
From their Site
Rome has fallen! Rebuild civilization in this action-adventure survival game for 1-8 players. Fight, build towns and earn favor with the Roman gods! ...or just farm your crops.
[!IMPORTANT] A restart of the server is recommended after installation, as it does not release the used memory in the world generation automatically. This is not required, but will reduce memory usage significantly.
Minimum RAM warning
- This server requires about 6-8GB to install and generate the world
- This server requires about 2-3GB to run after initial installation/generation of the world
Server Ports
| Port | Default |
|---|---|
| Game | 8050 |
Additional information
sed -i -E 's/^( )+/\1/' config.json;at the start of the startup command normalises the indent in config.json so the game server doesn't crash- Additional logs are shown in the console and can be found in
/home/container/logs/latest.log
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/ptero-eggs/yolks:dotnet_8 | ghcr.io/ptero-eggs/yolks:dotnet_8 |
Startup Command
sed -i -E 's/^( )+/\1/' config.json; export HOME=/home/container; export XDG_DATA_HOME=/home/container/.local/share; export XDG_CONFIG_HOME=/home/container/.config; export LD_LIBRARY_PATH="/home/container:/home/container/linux64:${LD_LIBRARY_PATH}"; dotnet Server.dll 2>&1 | stdbuf -oL tr '\r' '\n' | tee /home/container/logs/latest.log Variables (6)
World Name
Name of the world to create and load on start. Must not be blank
- Environment:
WORLD_NAME- Default:
Pterodactyl Server- User Viewable:
- ✅
- User Editable:
- ✅
- Rules:
required|string|max:64
World Size
Size of the world generated when auto-creating
- Environment:
WORLD_SIZE- Default:
1- User Viewable:
- ✅
- User Editable:
- ✅
- Rules:
required|integer|between:1,10
Server Password
Optional password required to join. Leave blank for none
- Environment:
PASSWORD- Default:
None- User Viewable:
- ✅
- User Editable:
- ✅
- Rules:
nullable|string|max:64
Max Players
Maximum number of players
- Environment:
MAX_PLAYERS- Default:
8- User Viewable:
- ✅
- User Editable:
- ✅
- Rules:
required|integer|between:1,8
Enable Cheats
Enable cheat commands on the server. true or false Needs to be modified manually after first install, in /home/container/config.json
- Environment:
CHEATS- Default:
false- User Viewable:
- ✅
- User Editable:
- ✅
- Rules:
required|string|in:true,false
App ID
Steam App ID for the dedicated server
- Environment:
SRCDS_APPID- Default:
4763510- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Installation Script
ghcr.io/pterodactyl/installers:debianbash#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ghcr.io/pterodactyl/installers:debian'
## 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
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 + fix for the 'missing configuration' steamcmd bug
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +@sSteamCmdForcePlatformType linux +app_info_print ${SRCDS_APPID} +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
# Create the dirs here so the path resolves under /home/container (server won't start properly without it) + logging
mkdir -p /mnt/server/.local/share /mnt/server/.config
mkdir -p /mnt/server/logs
# EnableCheats & seed
CHEATS_BOOL=false
case "${CHEATS,,}" in 1|true|yes|on) CHEATS_BOOL=true ;; esac
SEED=null
[ -n "${AUTO_CREATE_WORLD_SEED}" ] && SEED="\"${AUTO_CREATE_WORLD_SEED}\""
cat > /mnt/server/config.json <<EOF
{
"AutoStartWorldName": "${WORLD_NAME}",
"AutoCreateAndLoadWorld": true,
"AutoCreateWorldSize": ${WORLD_SIZE},
"AutoCreateWorldSeed": ${SEED},
"Password": "${PASSWORD}",
"Port": ${SERVER_PORT},
"MaxPlayers": ${MAX_PLAYERS},
"EnableCheats": ${CHEATS_BOOL},
"SleepThresholdMs": 10
}
EOF
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"