This guide covers server administration for Just Cause 3 Multiplayer (JC3:MP), including scripting-based admin tools, player management, and server moderation techniques.
Admin Overview
JC3:MP does not have a built-in admin command system. Instead, all server administration is handled through server-side JavaScript packages (scripts). The community has created admin packages that provide kick, ban, teleport, and other management commands.
Installing an Admin Package
- Stop your server from GPanel.
- Download an admin script package from the JC3:MP community resources or the JC3:MP Wiki.
- Upload the package folder to the
packages/directory on your server using the File Manager or SFTP. - Each package should contain at least a
main.jsfile and apackage.json. - Start your server. The console should confirm the package loaded successfully.
Common Admin Commands
The exact commands depend on which admin package you install. Most community admin packages provide these through in-game chat:
| Command | Description |
|---|---|
/kick [player] |
Removes a player from the server |
/ban [player] |
Permanently bans a player from connecting |
/unban [player] |
Removes a player's ban |
/tp [player] |
Teleport to a player's location |
/tphere [player] |
Teleport a player to your location |
/vehicle [name] |
Spawn a vehicle at your location |
/weather [type] |
Change the server weather |
/time [hours] |
Set the time of day |
Server Console
The GPanel console displays server output, including player connections, disconnections, and script errors. You can monitor server activity directly from the Console tab.
The server stops gracefully with Ctrl+C (handled automatically by GPanel when you click Stop).
Player Management
Ban List
When using an admin package, banned players are typically stored in a JSON file within the package's data directory (e.g., packages/admin/bans.json). You can edit this file manually to add or remove bans:
- Stop your server.
- Open the ban list file in the File Manager.
- Add or remove entries as needed.
- Save and restart the server.
Password Protection
To restrict access to your server, set the SERVER_PASSWORD startup variable in GPanel's Startup tab, or edit the password field in config.json.
Custom Scripts
JC3:MP supports writing custom server-side scripts in JavaScript. To create a custom package:
- Create a new folder in
packages/(e.g.,packages/my-script/). - Create a
package.jsonwith the package name and entry point. - Create a
main.jsfile with your script logic. - Restart the server to load the new package.
Example package.json
{
"name": "my-script",
"main": "main.js"
}
Example main.js
jcmp.events.Add('PlayerReady', (player) => {
player.SendChatMessage('Welcome to the server!');
});
Troubleshooting
| Problem | Solution |
|---|---|
| Admin commands not working | Verify the admin package is loaded (check console for load messages). Confirm your Steam ID is in the admin list within the package configuration. |
| Package fails to load | Check the console for JavaScript errors. Ensure the package.json is valid and the main.js file exists. |
| Players cannot connect | Verify the server is running and ports are correct. Check that the JC3:MP mod is installed on the client side. |
Related Articles
- Just Cause 3 Multiplayer Server Setup Guide
- How to Find Your Server IP and Port
- How to Upload Files via SFTP