Conan Exiles Enhanced

games
Report Issue

Conan Exiles is an open-world survival game set in the brutal lands of Conan the Barbarian. Survive in a savage world, build your kingdom, and dominate your enemies in brutal combat and epic warfare.

Contributors:
README

Conan Exiles

From their Site

Conan Exiles is online multiplayer survival game set in the lands of Conan the Barbarian

Minimum RAM warning

  • This server requires about 6GB to run properly. (Wine version)
  • This server requires about 10GB to run properly. (Enhanced version)

Server Ports

Ports required to run the server in a table format.

Port default
Game 7777
Game +1 7778
UDP Server query 27015
RCON 25575

Mods (Wine version)

If you want mods download you have to allocated 1 extra port and manualy set Engine.ini.

See: Here

More information can be found here

Docker Images (1)
Name Image
ghcr.io/pterodactyl/games:conan_exiles ghcr.io/pterodactyl/games:conan_exiles
Startup Command
ConanSandbox/Binaries/Linux/ConanSandboxServer-Linux-Shipping -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -MaxPlayers={{MAX_PLAYERS}} -ServerName="{{SERVER_NAME}}" ${SERVER_PASSWORD:+-ServerPassword="$SERVER_PASSWORD"} -Multihome=0.0.0.0 -console -log
Variables (12)

Query Port

The server Query port used by the server

Environment:
QUERY_PORT
Default:
27015
User Viewable:
User Editable:
Rules:
required|numeric|max:65535

Max Players

The maximum amount of players allowed to connect to the server at the same time

Environment:
MAX_PLAYERS
Default:
10
User Viewable:
User Editable:
Rules:
required|string

Mod IDs

The list of Mods you want installed on your server. Format examples: 123456,234567 or 123456, 2345678 You can also drop unpacked mods directly into ConanSandbox/Mods/<modname> they will be auto-added to modlist.txt. Custom added mods are not removed by default, only mods downloaded via this variable are

Environment:
MOD_IDS
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string

Auto Update Mods

Enable auto-updating of mods

Environment:
UPDATE_MODS
Default:
1
User Viewable:
User Editable:
Rules:
required|boolean

Auto Update Server

Auto-update the server during startup

Environment:
AUTO_UPDATE
Default:
1
User Viewable:
User Editable:
Rules:
required|boolean

Rcon Port

The port for remote administrative access, this is optional

Environment:
RCON_PORT
Default:
None
User Viewable:
User Editable:
Rules:
nullable|numeric|max:65535

App ID

The ID corresponding to the game to download

Environment:
SRCDS_APPID
Default:
443030
User Viewable:
User Editable:
Rules:
required|string|in:443030

Enable/Disable RCON

Enable RCON

Environment:
RCON_ENABLED
Default:
0
User Viewable:
User Editable:
Rules:
required|boolean

Server Name

The name used by the server

Environment:
SERVER_NAME
Default:
Pterodactyl hosted Server
User Viewable:
User Editable:
Rules:
required|string

Server Password

The password used by the server

Environment:
SERVER_PASSWORD
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string

Admin Password

The admin password, used to change server settings in-game

Environment:
ADMIN_PASSWORD
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|max:20

Rcon Password

The RCON password used by the server, disabled when left empty

Environment:
RCON_PASSWORD
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string
Installation Script
Container: ghcr.io/pterodactyl/installers:debian
Entrypoint: bash
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ghcr.io/pterodactyl/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 ## 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

## add below your custom commands if needed

cd /mnt/server

mkdir -p /mnt/server/ConanSandbox/Saved/Config/LinuxServer

cat > /mnt/server/ConanSandbox/Saved/Config/LinuxServer/Game.ini <<EOF
[RconPlugin]
RconEnabled=${RCON_ENABLED}
RconPassword=${RCON_PASSWORD}
RconPort=${RCON_PORT}
EOF

cat > /mnt/server/ConanSandbox/Saved/Config/LinuxServer/ServerSettings.ini <<EOF
[ServerSettings]
AdminPassword=${ADMIN_PASSWORD}
EOF

## create the Mods folder and empty modlist.txt
mkdir -p /mnt/server/ConanSandbox/Mods
touch /mnt/server/ConanSandbox/Mods/modlist.txt


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