Skip to content

Citadel: Forged with Fire

Citadel: Forged With Fire is a massive online sandbox RPG set in the mystical world of Ignus. Featuring magic, spellcasting, building, exploring and crafting as you fight to make a name for yourself and achieve notoriety across the land.

egg-citadel-forged-with-fire.json

updated

Ports

Add an allocation on the node for each port.

  • Game 7777
  • Query 27015

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Steam app
489650
Steam login
not required
Install script
83 lines

Image

  • source image ghcr.io/ptero-eggs/games:source

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.

4 variables

Startup command

./CitadelServer.sh
  • ID

    SRCDS_APPIDUsers cannot see

    required|numeric|in:489650

  • port

    QPORTUsers can see

    required|string|max:100

  • ADMIN_PASSWDUsers can edit

    required|string|max:100A value is required.

  • 1 = on; 0 = off

    AUTO_UPDATEUsers can edit

    required|string|max:20

Wings

Stop command
^C (SIGINT)
Running when the console shows
Steam Server initialized and registered with UWorks

Files Wings edits

Wings sets these values in these files before each start.

Config/Game.ini file

ConnectionPort=
ConnectionPort={{server.build.default.port}}
QueryPort=
QueryPort={{server.build.env.QPORT}}
Password
Password={{server.build.env.ADMIN_PASSWD}}

Readme

Citadel: Forged with fire

Citadel: Forged With Fire is a massive online sandbox RPG set in the mystical world of Ignus. Featuring magic, spellcasting, building, exploring and crafting as you fight to make a name for yourself and achieve notoriety across the land.

Server Ports

Port default
Game 7777
Query 27015

Notes

You need to setup the Config of the Server in /Config/Game.ini

-> WorldCreationSettings

Changes

  1. Add steamcmd based eggs

    · Daniel Barton · 60ef9fb

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 83 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server

## just in case someone removed the defaults.
if [ "${STEAM_USER}" == "" ]; 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
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} +app_update ${SRCDS_APPID} ${EXTRA_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

##Copy steamclient.so to correct Dir
mkdir -p $HOME/Citadel/Plugins/UWorks/Source/ThirdParty/Linux
chmod -R a+w,a+x $HOME/Citadel/Plugins/UWorks/Source/ThirdParty/Linux
if [[ ! -f $HOME/Citadel/Plugins/UWorks/Source/ThirdParty/Linux/steamclient.so ]]; then 
	ln -s ../../../../../../linux64/steamclient.so $HOME/Citadel/Plugins/UWorks/Source/ThirdParty/Linux/steamclient.so

fi

## Create Game.ini
mkdir $HOME/Config

if [[ -d $HOME/Citadel/Saved/Config/LinuxServer ]]; then 
	rm -rf $HOME/Citadel/Saved/Config/LinuxServer
fi

if [[ -d $HOME/Engine/Saved/Config/LinuxServer ]]; then 
	rm -rf $HOME/Engine/Saved/Config/LinuxServer
fi

mkdir -p $HOME/Citadel/Saved/Config
mkdir -p $HOME/Engine/Saved/Config

ln -s ../../../Config $HOME/Citadel/Saved/Config/LinuxServer
ln -s ../../../Config $HOME/Engine/Saved/Config/LinuxServer

#rm -fR $HOME/Citadel/Saved/Config/LinuxServer/Game.ini
cat <<EOT > $HOME/Config/Game.ini
[UWorks]
ConnectionPort=7777
QueryPort=27015

[/Script/Citadel.SocialManager]
Password=changeme

[/Script/Citadel.CitadelGameInstance]
WorldCreationSettings=(ServerName="CitadelServer",Password="YourServerPassword",ServerType=PVP,PlayerLimit=20,bPrivate=true,ExperienceMultiplier=1.000000,InventoryCapacityMultipler=1.000000,KnowledgePointEarnedMultiplier=1.000000,CharacterPointEarnedMultiplier=1.000000,bUnlimitedResources=false,PlayerDamageMultiplier=1.000000,ArmorMultiplier=1.000000,BaseManaRegen=1.000000,bInventoryWeightRestrictions=true,MagicFindMultiplier=1.000000,CraftingMagicFindChanceMultiplier=1.000000,FlyingCostMultiplier=1.000000,FlyingSpeedMultiplier=1.000000,ResourceCollectionMultiplier=1.000000,StructureDamageMultiplier=1.000000,bRespectNoBuildZones=true,MagicStructureManaRegenerationMultiplier=1.000000,MagicStructureManaConsumptionMultiplier=0.000000,bFreeBuildMode=false,TimeOfDayLock=Auto,NPCPopulationMultiplier=1.000000,StructureDecayMultiplier=2.000000,bThronesDecay=true)
EOT

chmod +x $HOME/CitadelServer.sh

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