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.
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.
Port | default |
---|---|
Game | 7777 |
Query | 27015 |
You need to setup the Config of the Server in /Config/Game.ini
-> WorldCreationSettings
Name | Tag |
---|---|
ghcr.io/ptero-eggs/games:source | ghcr.io/ptero-eggs/games:source |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
SRCDS_APPID | ID | SRCDS_APPID | 489650 | No | No |
Query Port | port | QPORT | 27015 | Yes | No |
Admin Password | ADMIN_PASSWD | Yes | Yes | ||
Auto Update | 1 = on; 0 = off | AUTO_UPDATE | 1 | Yes | Yes |
#!/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 "-----------------------------------------"