Romestead
Rome 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.
Ports
Add an allocation on the node for each port.
- Game 8050
Image
- .NET 8 ghcr.io/ptero-eggs/yolks:dotnet_8
Panel features
- steam_disk_space
The Panel tells the user when SteamCMD does not have enough disk space.
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
6 variables
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.logName of the world to create and load on start. Must not be blank
WORLD_NAMEUsers can edit
required|string|max:64
Size of the world generated when auto-creating
WORLD_SIZEUsers can edit
required|integer|between:1,10
Optional password required to join. Leave blank for none
PASSWORDUsers can edit
nullable|string|max:64
Maximum number of players
MAX_PLAYERSUsers can edit
required|integer|between:1,8
Enable cheat commands on the server. true or false Needs to be modified manually after first install, in /home/container/config.json
CHEATSUsers can edit
required|string|in:true,false
Steam App ID for the dedicated server
SRCDS_APPIDUsers cannot see
required|string|max:20
Wings
- Stop command
- stop
- Running when the console shows
- Server ready
Files Wings edits
Wings sets these values in these files before each start.
config.json json
- AutoStartWorldName
- {{server.build.env.WORLD_NAME}}
- AutoCreateWorldSize
- {{server.build.env.WORLD_SIZE}}
- Password
- {{server.build.env.PASSWORD}}
- Port
- {{server.build.default.port}}
- MaxPlayers
- {{server.build.env.MAX_PLAYERS}}
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
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 66 lines bash in ghcr.io/pterodactyl/installers:debian Show Hide
#!/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 "-----------------------------------------"