Skip to content

Server Setup

TriForce edited this page Aug 28, 2021 · 4 revisions

Before start is highly recommend to use JK2MV to play the game and host dedicated servers, specially because JK2MV has multi-version support, lots of game improvements and fixes. For mod setup follow the next steps:

Get the mod

  1. Download the lastest mod release here
  2. Go to GameData (the directory which holds jk2mp.exe or jk2ded.exe in the main game folder)
  3. Unpack the JediKnightPlus folder into GameData directory
  4. Now you are ready to play and host Jedi Knight Plus Mod

Server setup

  1. To configure mod options edit the files which starts with jkplus_<name>.cfg for example jkplus_server.cfg
  2. You can launch the server in-game using server setup menu, but is recommended to use the dedicated server binaries (jk2mvded or jk2ded)
  3. For Windows use the following parameters:
    • C:\<path to JK2>\GameData\jk2mvded.exe +set dedicated 2 +set net_port 28070 +set fs_game JediKnightPlus +exec jkmod_server.cfg
  4. For Linux or OSX use the following parameters:
    • cd /<path to JK2>/GameData/
    • ./jk2mvded +set dedicated 2 +set net_port 28070 +set fs_game JediKnightPlus +exec jkmod_server.cfg
  5. You can use any JK2 dedicated server binary on the previous steps: jk2mp, jk2ded or jk2mvded
  6. Is highly recommended to use ref_whitelist and ref_forcelist to force the plugin usage (See example assets)
  7. That's it! Your server is now ready to host a Jedi Knight Plus Mod server

Developer notes

  1. To build the mod source first get CMake from either https://cmake.org or, in case of Linux, from the repositories of your distribution.
  2. For Windows you cangenerate the projects using the batch files on build folder. In the project solution use Build QVMs to generate the game/client modules. For Linux or OSX you can use the build-unix-qvms.sh batch files.

Clone this wiki locally