Skip to content

Just Cause 3 Multiplayer

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

egg-just-cause-3-multiplayer.json

updated

Ports

Add an allocation on the node for each port.

  • Game 4400
  • Query 4401
  • Steam 4402
  • Web 4403

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Steam app
619960
Steam login
optional
Install script
52 lines

Image

  • Ubuntu ghcr.io/ptero-eggs/yolks:ubuntu

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

12 variables

Startup command

./Server --maxPlayers=32 --password={{SERVER_PASSWORD}} --maxTickRate=60
  • This is a required setting and cannot be set to anonymous.

    STEAM_USERUsers cannot see

    nullable|string

  • Steam User Password

    STEAM_PASSUsers cannot see

    nullable|string

  • Steam account auth code, required if 2FA is enabled

    STEAM_AUTHUsers cannot see

    nullable|string|max:5

  • Automatically update the game server

    AUTO_UPDATEUsers can edit

    required|boolean

  • Maximum number of players allowed on the server.

    MAX_PLAYERUsers can edit

    required|numeric

  • Set server password

    SERVER_PASSWORDUsers can edit

    nullable|string|max:30

  • port used for Steam communication (default is 4202)

    STEAM_PORTUsers can edit

    required|integer|between:1,65535

  • maximum FPS for the server (default is 60)

    TICK_RATEUsers cannot see

    required|string|max:20

  • QUERY_PORTUsers can edit

    required|integer|between:1,65535A value is required.

  • HTTP_PORTUsers can edit

    required|integer|between:1,65535A value is required.

  • Server name shown in the browser.

    SERVER_NAMEUsers can edit

    nullable|string

  • Server Description.

    SERVER_DESCRIPTIONUsers can edit

    nullable|string

Wings

Stop command
^C (SIGINT)
Running when the console shows
Server successfully started up

Files Wings edits

Wings sets these values in these files before each start.

config.json json

bind
0.0.0.0
port
{{server.build.default.port}}
queryPort
{{server.build.env.QUERY_PORT}}
httpPort
{{server.build.env.HTTP_PORT}}
steamPort
{{server.build.env.STEAM_PORT}}
description
{{server.build.env.SERVER_DESCRIPTION}}
name
{{server.build.env.SERVER_NAME}}
maxPlayers
{{server.build.env.MAX_PLAYER}}
maxTickRate
{{server.build.env.TICK_RATE}}

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

Changes

  1. Add: Just Cause 3 Multiplayer (#334)

    · brainshead · b5a2e5e

All changes on GitHub

Problem with this egg?

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

Install script 52 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/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 "-----------------------------------------"