Currently the developers are putting their own money into JC2-MP to keep the servers online.

Please take a few seconds of your time and disable your AdBlock plugin for our website.

Ad revenue is not going to developers, it is used purely for covering our hosting costs.


You are also free to donate, which removes all ads from our website!

Patch 0.3 was just released! Full changelog here:

3 years ago

May 27, 2020, 03:26:51 pm

Author Topic: [*nix] JC2-MP Server Management Tool  (Read 2587 times)


  • Newbie
  • *
  • Posts: 5
    • View Profile
[*nix] JC2-MP Server Management Tool
« on: December 23, 2014, 10:44:52 pm »
I wrote a shell script, similar to this, but with a bit different approach technically and visually. It uses GNU Screen in a back-end. Works only on GNU/Linux and other *nix. Tested on Arch Linux and Ubuntu Server 14.04.

The script provides:
  • Automatic user-friendly JC2-MP server installation
  • Server management: start, stop, restart
  • Server update
  • Server status check
  • Server console access


Script is available in my GitHub repository. (raw link). To use it, you need GNU Screen installed and some dependencies for steamcmd if you're running 64-bit system.

For example, if you're running Debian/Ubuntu x64:
Code: [Select]
apt-get update
apt-get install screen lib32gcc1 libc6-i386 lib32stdc++6

How to use

First, you need to download the script and allow it to execute:
Code: [Select]
chmod +x

Now you can launch it:
Code: [Select]

The script is designed to be user-friendly, so everything after this is pretty much straight-forward. At the first start, you will get a prompt whether or not you want to install a new JC2-MP server and where:

(Note: if you want to use custom path, please make sure it's absolute (starting from /) and you have write access to it.)

Then it will ask you to specify MaxPlayer limit, port, name and description.

If everything succeeds, you will get the main command prompt. Type help to see the list of available commands:

Known issues

  • For the moment, in some cases there may be an issue when name and/or description is not being changed in the config.lua after the installation and you'll get some error messages like "too many arguments". In that case you should edit config manually using "editconfig" command. fixed since 8149e24
« Last Edit: December 24, 2014, 12:03:53 pm by gim »