Configuring Servers - kyngs/LibreLogin GitHub Wiki

Since version 0.12.0 LibreLogin allows configuring forced hosts. When you open the configuration for the first time, the section will look something like this:

# The servers player should be sent to when they are authenticated. THE SERVERS MUST BE REGISTERED IN THE PROXY CONFIG.
# The configuration allows configuring forced hosts; the servers in "root" are used when players do not connect from a forced host. Use § instead of dots.
# See: https://github.com/kyngs/LibreLogin/wiki/Configuring-Forced-Hosts
lobby {
    root=[
        lobby1,
        lobby0
    ]
}

Simple Setup

Most people will not want to use forced hosts, so put all your servers under the "root" section. See the default configuration for an example.

Forced Hosts Setup

This cannot be explained very well, see the example below.

The example shows a situation where players connecting from "bedwars.myserver.com" will be sent to servers bedwars-hub-0, or bedwars-hub-1. Other players will be sent to lobby0, or lobby1

# The servers player should be sent to when they are authenticated. THE SERVERS MUST BE REGISTERED IN THE PROXY CONFIG.
# The configuration allows configuring forced hosts; the servers in "root" are used when players do not connect from a forced host. Use § instead of dots.
# See: https://github.com/kyngs/LibreLogin/wiki/Configuring-Forced-Hosts
lobby {
    root=[
        lobby1,
        lobby0
    ],
    bedwars§myserver§com=[
        bedwars-hub-0,
        bedwars-hub-1
    ]
}