Just Cause 3 Multiplayer
Dedicated server for Just Cause 3 Multiplayer (JC3:MP) Using the Just Cause™ 3: Multiplayer Mod.
- updated
- variables
- 12
- images
- 1
- author
- brainshead@gmail.com
- sha256
- 9dd9a66d7b97
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
packagesin 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
Variables
12 settings
-
Steam User
This is a required setting and cannot be set to anonymous.
- env
- STEAM_USER
- default
- none
- rules
- nullable|string
-
Steam Password
Steam User Password
- env
- STEAM_PASS
- default
- none
- rules
- nullable|string
-
Steam Auth
Steam account auth code, required if 2FA is enabled
- env
- STEAM_AUTH
- default
- none
- rules
- nullable|string|max:5
-
Auto Update Server
Automatically update the game server
- env
- AUTO_UPDATE
- default
- 1
- rules
- required|boolean
- viewable
- editable
-
Max players
Maximum number of players allowed on the server.
- env
- MAX_PLAYER
- default
- 32
- rules
- required|numeric
- viewable
- editable
-
Server Password
Set server password
- env
- SERVER_PASSWORD
- default
- none
- rules
- nullable|string|max:30
- viewable
- editable
-
Steam Port
port used for Steam communication (default is 4202)
- env
- STEAM_PORT
- default
- 4202
- rules
- required|integer|between:1,65535
- viewable
- editable
-
Tickrate
maximum FPS for the server (default is 60)
- env
- TICK_RATE
- default
- 60
- rules
- required|string|max:20
-
QUERY PORT
- env
- QUERY_PORT
- default
- none
- rules
- required|integer|between:1,65535
- viewable
- editable
-
HTTP_PORT
- env
- HTTP_PORT
- default
- none
- rules
- required|integer|between:1,65535
- viewable
- editable
-
Server Name
Server name shown in the browser.
- env
- SERVER_NAME
- default
- none
- rules
- nullable|string
- viewable
- editable
-
Server Description
Server Description.
- env
- SERVER_DESCRIPTION
- default
- none
- rules
- nullable|string
- viewable
- editable
Installation script 52 lines container ghcr.io/ptero-eggs/installers:debian entrypoint bash show hide
#!/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 "-----------------------------------------"