Just Cause 3 Multiplayer

games
Report Issue

Dedicated server for Just Cause 3 Multiplayer (JC3:MP) Using the Just Cause™ 3: Multiplayer Mod.

Contributors:
README

Just Cause 3 MP

Just Cause 3 Multiplayer mod is a free fan-created project bringing an explosive and highly-customizable multiplayer. Its using https://store.steampowered.com/app/619910/Just_Cause_3_Multiplayer_Mod as framework.

[!IMPORTANT] This is just the framework. no packages are installed.

When installing packages create directory called packages in root, and uploud your files in here.

Requirements

Requirements Memory Storage
Minimal (no packages) 1GB+ 1 GB+

Server Ports

Just Cause 3 requires up to 4 ports

Port default
Game 4400
Query 4401
Steam 4402
Web 4403

This can be changed to any port

Docker Images (1)
Name Image
Ubuntu ghcr.io/ptero-eggs/yolks:ubuntu
Startup Command
./Server --maxPlayers={{MAX_PLAYER}} --password={{SERVER_PASSWORD}} --maxTickRate={{TICK_RATE}}
Variables (12)

Steam User

This is a required setting and cannot be set to anonymous.

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

Steam Password

Steam User Password

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

Steam Auth

Steam account auth code, required if 2FA is enabled

Environment:
STEAM_AUTH
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|max:5

Auto Update Server

Automatically update the game server

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

Max players

Maximum number of players allowed on the server.

Environment:
MAX_PLAYER
Default:
32
User Viewable:
User Editable:
Rules:
required|numeric

Server Password

Set server password

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

Steam Port

port used for Steam communication (default is 4202)

Environment:
STEAM_PORT
Default:
4202
User Viewable:
User Editable:
Rules:
required|integer|between:1,65535

Tickrate

maximum FPS for the server (default is 60)

Environment:
TICK_RATE
Default:
60
User Viewable:
User Editable:
Rules:
required|string|max:20

QUERY PORT

Environment:
QUERY_PORT
Default:
None
User Viewable:
User Editable:
Rules:
required|integer|between:1,65535

HTTP_PORT

Environment:
HTTP_PORT
Default:
None
User Viewable:
User Editable:
Rules:
required|integer|between:1,65535

Server Name

Server name shown in the browser.

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

Server Description

Server Description.

Environment:
SERVER_DESCRIPTION
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/bin/bash
# SteamCMD Base Installation Script for JC3:MP

## Set default Steam user if empty
if [ "${STEAM_USER}" == "" ]; then
    echo -e "Steam user not set. Using anonymous."
    STEAM_USER=anonymous
    STEAM_PASS=""
    STEAM_AUTH=""
else
    echo -e "Steam user: ${STEAM_USER}"
fi

## Download and install SteamCMD
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd_linux.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd_linux.tar.gz -C /mnt/server/steamcmd
cd /mnt/server/steamcmd

export HOME=/mnt/server

## Install JC3:MP server
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update 619960 validate +quit

# Make server executable
chmod +x /mnt/server/Server

#Make config.json 
echo "Generating config.json ..."
cat > /mnt/server/config.json <<EOF
{
    "announce": true,
    "description": "${SERVER_DESCRIPTION}",
    "host": "0.0.0.0",
    "httpPort": ${HTTP_PORT},
    "logLevel": 7,
    "logo": "",
    "maxPlayers": ${MAX_PLAYER},
    "maxTickRate": 60,
    "name": "${SERVER_NAME}",
    "password": "${SERVER_PASSWORD}",
    "port": ${SERVER_PORT},
    "queryPort": ${QUERY_PORT},
    "requiredDLC": [],
    "steamPort": ${STEAM_PORT}
}
EOF

echo "-----------------------------------------"
echo "JC3:MP installation completed"
echo "-----------------------------------------"