Added multi server support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user