Jazz² Resurrection
Open-source Jazz Jackrabbit 2 reimplementation
Brought to you by @deathkiller

# Online Multiplayer

Back to Frequently Asked Questions

Is online multiplayer supported?

There is experimental support for online multiplayer since version 0.6.2. It supports cross-platform play between all supported platforms – Windows, Linux, macOS and Android. Players with Jazz² Resurrection cannot connect to players with original game and vice versa.

You can connect to public or local server from main menu. List of these server is also available here. To connect to private server, you have to run Jazz2.­exe with /­connect:­<ip>:­<port> parameter, where <ip> is IP address and <port> is port of dedicated server. Default port is 10666.

How to run dedicated server?

Dedicated server can be run using Jazz2.­Server.­exe executable. Servers with public IP address are automatically published on server list. The server uses UDP port 10666 to communicate with clients.

The server can be run with following optimal parameters:

The server supports following commands:

Available server variables

Battle-specific variables

Capture·the·Flag-specific variables

Race-specific variables

Treasure·Hunt-specific variables

Server configuration files

Server configuration can be loaded from file. This file is in JSON format with following structure:

{
    "ServerName": "Unnamed server",
    "Port": 10666,

    "MinPlayers": 2,
    "MaxPlayers": 64,

    "PlaylistRandom": false,
    "Playlist": [
        {
            "LevelName": "unknown/battle1",
            "LevelType": "Battle",
            "TotalKills": 10,
            "PlayerHealth": 5
        },
        {
            "LevelName": "unknown/race1",
            "LevelType": "Race",
            "TotalLaps": 4,
            "PlayerHealth": 5
        },
        {
            "LevelName": "unknown/treasur1",
            "LevelType": "TreasureHunt",
            "TotalGems": 100
        },
        ...
    ]
}

Every parameter is optional. Some fields correspond to server parameters (see How to run dedicated server?). Port and MaxPlayers fields are allowed only on server initialization (run Jazz2.­Server.­exe /­config:­<path>). Playlist field allows to specify playlist of levels. PlaylistRandom field allows to specify if playlist should be played sequentially or randomly. Playlist can have unlimited number of levels. Each playlist entry must have at least LevelName and LevelType. Another optional fields are TotalKills, TotalLaps, TotalGems and PlayerHealth. Level can be skipped with next_­level command if playlist mode is active. set level <.­.­.­> command automatically turns off playlist mode. If no startup server configuration file is specified, server tries to load Jazz2.­Server.­default file if exists. Startup parameters are overriden by server configuration everytime, so use only one of them.

What is missing?

This list outlines missing features of Multiplayer and its progress.