Just Cause 2 multiplayer is provided by the community JC2-MP mod; this article covers setting up its dedicated server and typical problems, based on the JC2-MP wiki and a config reference.
Checked 2026-11-17. The mod and server versions can change, so the current documentation takes priority.
1. Requirements and port
The server's Steam app ID is 261140. According to the wiki, SteamCMD and its libraries are 32-bit, so on 64-bit Linux the 32-bit compatibility packages must be installed as well. On Windows the mod comes from Steam and the dedicated server appears under Tools as Just Cause 2: Multiplayer - Dedicated server.
- The network port is the BindPort key in config.lua, default 7777.
- The port set there must be opened in the firewall; our team does this on a rented server.
2. First start and configuration
- In SteamCMD: login anonymous, force_install_dir ./jcmp, app_update 261140. For a broken install use app_update 261140 validate.
- On Linux there is no config.lua by default: in the jcmp directory rename default_config.lua to config.lua and edit it. The options are documented inside the file.
- Start on Linux: screen -dmS jcmp ./Jcmp-Server. Attach to the console with screen -x jcmp; detach with Ctrl+A then Ctrl+D; stop with screen -S jcmp -X quit.
- On Windows config.lua is in the dedicated server's folder (under steamapps\common) and the server starts with a double-click.
- An [S_API FAIL] SteamAPI message in the console is normal according to the wiki.
3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| A szerver nem indul, GLIBCXX_3.4.15 not found | An older Debian or CentOS system library | Copy libstdc++.so.6 from the linux32 folder into the folder containing Jcmp-Server. |
| The default scripts do not work | They are likely outdated | Use the current versions from the jc2mp GitHub scripts repository. |
| It does not start on 64-bit Linux, library error | 32-bit compatibility is missing | Install the 32-bit packages (Debian: libc6-i386, lib32gcc1, lib32stdc++6; CentOS: glibc.i686, libstdc++.i686). |
| Players cannot find the server in the list | Az Announce hamis, vagy a port nincs megnyitva | Set Announce to true and open the port set in BindPort. |
| Players cannot join on the beta branch | Only players opted into the beta can join | Do not install the publicbeta branch unless needed. |
| A player is dropped but the server holds on | Timeout (default 10000 ms) | Adjust Timeout in config.lua. |
4. Saves and updates
- Update with SteamCMD: login anonymous, then app_update 261140 (or validate), then quit. Stop the server before updating.
- Backup: config.lua and the scripts you added; backing up the server folder from the client area is easy.
- For exact script and data folder names see the wiki; here we only write what we verified.
5. Password and modules
- Password: the Password key in config.lua; an empty value means an open server.
- The server can be extended with Lua modules; MaxErrorCount (default 5) sets how many errors cause a module to be unloaded.
- IKnowWhatImDoing defaults to false; it unlocks unsafe Lua features (native packages, file-system access), so enable it only for trusted scripts.
6. Choosing a plan
Load is influenced by the player count, the sync settings (SyncUpdate, SyncRates) and the object visibility distance (StreamDistance). MaxPlayers defaults to 5000; it is wise to lower it to your real needs. We give no performance guarantees.



