Egg Repository

Pterodactyl Community Egg Repository

Just Cause 3 Multiplayer

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

Read Me

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

RequirementsMemoryStorage
Minimal (no packages)1GB+1 GB+

Server Ports

Just Cause 3 requires up to 4 ports

Portdefault
Game4400
Query4401
Steam4402
Web4403

This can be changed to any port

Yolks
NameTag
Ubuntughcr.io/ptero-eggs/yolks:ubuntu
Variables and Startup

Startup Command

./Server --maxPlayers={{MAX_PLAYER}} --password={{SERVER_PASSWORD}} --maxTickRate={{TICK_RATE}}

Variables

Steam User

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

Environment Variable: STEAM_USER
Default Value:
User Viewable:
User Editable:
Steam Password

Steam User Password

Environment Variable: STEAM_PASS
Default Value:
User Viewable:
User Editable:
Steam Auth

Steam account auth code, required if 2FA is enabled

Environment Variable: STEAM_AUTH
Default Value:
User Viewable:
User Editable:
Auto Update Server

Automatically update the game server

Environment Variable: AUTO_UPDATE
Default Value: 1
User Viewable:
User Editable:
Max players

Maximum number of players allowed on the server.

Environment Variable: MAX_PLAYER
Default Value: 32
User Viewable:
User Editable:
Server Password

Set server password

Environment Variable: SERVER_PASSWORD
Default Value:
User Viewable:
User Editable:
Steam Port

port used for Steam communication (default is 4202)

Environment Variable: STEAM_PORT
Default Value: 4202
User Viewable:
User Editable:
Tickrate

maximum FPS for the server (default is 60)

Environment Variable: TICK_RATE
Default Value: 60
User Viewable:
User Editable:
QUERY PORT

Environment Variable: QUERY_PORT
Default Value:
User Viewable:
User Editable:
HTTP_PORT

Environment Variable: HTTP_PORT
Default Value:
User Viewable:
User Editable:
Server Name

Server name shown in the browser.

Environment Variable: SERVER_NAME
Default Value:
User Viewable:
User Editable:
Server Description

Server Description.

Environment Variable: SERVER_DESCRIPTION
Default Value:
User Viewable:
User Editable:
Install Script
#!/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 "-----------------------------------------"
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash