FlowGate-Bridge
A lightweight Paper/Spigot plugin that allows Citizens NPCs (or players) to execute /servername commands and seamlessly connect to servers through a BungeeCord/Waterfall/FlameCord proxy.
✨ Features
- Dynamic commands from config (/servername)
- Works with Citizens NPCs (player execution)
- No permissions required
- No command conflicts
- Extremely lightweight (no listeners, no loops)
- Fully proxy-compatible (BungeeCord, Waterfall, FlameCord)
- Zero hardcoded values — fully configurable
How It Works
FlowGate-Bridge acts as a backend bridge:
Player/NPC → /command → Bridge (Paper) → Plugin Message → Proxy → Server Switch
- The plugin registers commands on the backend server
- When executed, it sends a plugin message to the proxy
- Your proxy plugin (e.g. FlowGate-Lite) handles the actual server connection
⚙️ Installation
- Install a proxy:
- BungeeCord / Waterfall / FlameCord
- Install your proxy-side plugin (e.g. FlowGate-Lite)
- Install FlowGate-Bridge on your backend server (Paper/Spigot)
- Configure both plugins with the same slash-servers section
- Restart server
Configuration
config.yml
Code (Text):
slash-servers:
survival: survival
skyblock: skyblock
wonderland: wonderland
Format
<command>: <target-server>
- command → what players/NPCs execute (/survival)
- target-server → server name in your proxy config
Reload Command
/flowgate-bridge reload
- Reloads config
- Re-registers commands
- Applies changes instantly
Citizens NPC Example
/npc command add -p survival
- Player clicks NPC → executes /survival
- Bridge forwards to proxy
- Player is connected
⚠️ Important Notes
- Commands must match your proxy configuration
- Target servers must exist on proxy
- This plugin does not handle server switching itself
- Requires proxy plugin to complete routing
Why This Plugin Exists
Minecraft processes commands on backend servers first.
Without this bridge, proxy-only commands like /survival will fail with:
Unknown command
FlowGate-Bridge solves this cleanly by:
- registering commands on backend
- forwarding them properly to proxy
Performance
- No event listeners
- No async tasks
- No heavy logic
Overhead is effectively zero.
Compatibility
- Paper / Spigot (1.16+ recommended)
- Paper, Spigot, Purpur, Folia...
- Citizens (optional)
![[IMG]](//proxy.spigotmc.org/1f19ba1f4a0ba46a4c6845fdbf0046325c5a6d56/68747470733a2f2f63646e2e6d6f6472696e74682e636f6d2f646174612f6361636865645f696d616765732f633065643432363062313538346232663861336438636431323036386165626264626638353137392e706e67)