Added multi server support

This commit is contained in:
2026-06-23 18:15:37 -04:00
parent 640d4f45f2
commit 4414dce4e4
32 changed files with 543 additions and 207 deletions
@@ -1,6 +1,7 @@
# DirtSimpleP2P Bungee/Waterfall frontend config.
# Put this same jar in the Bungee plugins folder.
# Bungee should point its backend server entry at route.minecraft.frontendBindHost:route.minecraft.frontendBindPort.
# Add more routes when this proxy should reach multiple backend servers.
role=frontend
node.name=bungee-frontend
@@ -31,3 +32,13 @@ tunnel.tls.requireClientAuth=false
routes=minecraft
route.minecraft.frontendBindHost=127.0.0.1
route.minecraft.frontendBindPort=25566
route.minecraft.backendNode=paper-backend
# Multi-backend example:
# routes=minecraft,lobby
# route.minecraft.frontendBindHost=127.0.0.1
# route.minecraft.frontendBindPort=25566
# route.minecraft.backendNode=survival-backend
# route.lobby.frontendBindHost=127.0.0.1
# route.lobby.frontendBindPort=25567
# route.lobby.backendNode=lobby-backend