Configure FlowGate Bridge
The FlowGate Bridge config file, the naming rules for commands and targets, and what it sends to the proxy.
On this page
FlowGate Bridge has one file, plugins/FlowGate-Bridge/config.yml, with one section. Edit it and run /flowgate-bridge reload.
Default config#
# FlowGate-Bridge Configuration
# Format: <command>: <target-server> (target case is preserved)
# Commands: letters/numbers, _ or -; targets may additionally contain dots.
# Proxy source/destination permissions remain authoritative.
slash-servers:
wonderland: wonderland-1
lobby: lobbyslash-servers#
Each line is command: target.
| Part | Rules | What it does |
|---|---|---|
| Command | 1 to 64 characters. Letters, digits, _ and -, starting with a letter or digit. | The command players run, without the /. Stored in lower case, so Survival and survival are the same command. |
| Target | 1 to 128 characters. Letters, digits, _, - and ., starting with a letter or digit. Must be text. | The server name in your proxy config. Upper and lower case are kept exactly, so they must match the proxy. |
With the default file, /wonderland sends players to wonderland-1 and /lobby to lobby.
Other rules:
slash-serversmust be present. For no commands at all, writeslash-servers: {}.- Two commands that are the same after lower-casing, such as
Survivalandsurvival, are an error. - If a command already exists on the server, from another plugin or the server itself, FlowGate Bridge skips it and logs
Skipping route /<name>: command already belongs to another plugin or the server. Pick another name. - Each command is also available as
/flowgatebridge:<name>.
If any line breaks a rule, the whole file is refused: at startup the plugin turns itself off, and on reload the old commands stay active.
How reload works#
/flowgate-bridge reload reads the file and checks it first. If it is valid, it removes its old commands, registers the new ones, and updates the players' command lists. If it is not, it keeps the old commands and answers Reload failed. Check config.yml; previous routes are still active.
Commands and permissions#
/flowgate-bridge reload, the route commands and their permissions are on Commands.
What is sent to the proxy#
For each command, FlowGate Bridge sends a BungeeCord plugin message on the BungeeCord channel, through the player's own connection. It contains the subchannel Connect and the target server name, nothing else. This is the standard format that BungeeCord and Velocity understand. There is no reply, so FlowGate Bridge cannot tell whether the proxy moved the player.
FlowGate Lite settings for Bridge#
On a proxy with FlowGate Lite, these settings in the proxy's plugins/FlowGate-Lite/config.yml decide whether a Bridge request is carried out:
| Setting | What to set |
|---|---|
plugin-messages.allowed-connect-servers | Every Bridge target. If the list is empty, only hubs and the fallback server are allowed. If it has entries, only those servers are allowed. |
plugin-messages.allowed-source-servers | Leave empty to accept any game server, or list the game servers that run Bridge. |
See FlowGate Lite configuration for the other checks, such as the per-player limit of 10 requests per second.