Skip to content
GrafDimenzio edited this page Jun 23, 2022 · 7 revisions

Setup

If you want to set up a Hub you have to install Synapse and place the SlHub.dll like all plugins in your server plugin directory. Afterwards can you start the Server for the first time so that it can create all files that you need. You can now place all Addons you want in Synapse/plugins/server-{port}/SLHub/Addons.

Hub Config

The main files for all configs is the HubConfiguration.syml that you can find in Synapse/configs/server-shared(you can move it to server-{port} if you want to).

As all Syml files it has multiple Sections:

LobbyConfigs

This section is for the main configs and are all mostly self explaining. A List of Doors and Elevators can you find here

MessageDummies

Message Dummies are Dummies that does nothing except displaying a message if you set them up (they are useful for giving players information). You can get a Mappoint with the Mappoint Command

Teleporter

Here can you set up Dummies that teleports players to a different Location if they walk into them

Servers

Here can you create Dummies that brings the players to different Servers (The Servers must be on the same IP) If you want to display the Amount of the Players there are 2 Options

  1. Central Server: You set apiType to Northwood and type in your Server Console !api show. The token that is displayed must be set in token and afterwards go to this list and search your server. If you found your Server you can click on it and copy accountId into id.
  2. Custom Url: If you can't use one of the above method you have to set apiType to Custom and set customUrl to your RestAPI. The Plugin expects a json that is structured like this:
[
  {
    "port": "7777",
    "players": "15/30",
  },
  {
    "port": "7778",
    "players": "10/30",
  },
]

You have to install Newtonsoft in your depenedencies if you want to display the player count!

Addon Sections

Addons can create a Section with they own Configs in the File after you started the server once with the addon installed

Create Addons

Clone this wiki locally