50 lines
1.8 KiB
Properties
50 lines
1.8 KiB
Properties
# 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
|
|
|
|
tunnel.listenHost=0.0.0.0
|
|
tunnel.listenPort=24445
|
|
# Replaced automatically on first start. Copy the generated value to the backend config.
|
|
tunnel.authToken=AUTO_GENERATED_ON_FIRST_START
|
|
|
|
# Fast reconnect defaults. Heartbeats are frequent, but the tunnel waits for
|
|
# multiple missed heartbeats before declaring a real drop.
|
|
tunnel.connectTimeoutMillis=5000
|
|
tunnel.heartbeatIntervalMillis=2000
|
|
tunnel.heartbeatTimeoutMillis=8000
|
|
tunnel.heartbeatMissesBeforeDisconnect=4
|
|
tunnel.reconnectInitialMillis=250
|
|
tunnel.reconnectMaxMillis=10000
|
|
|
|
# Set this to true for encrypted tunnels. When enabled, the plugin generates
|
|
# certs/frontend.p12 if it does not already exist.
|
|
tunnel.tls.enabled=false
|
|
tunnel.tls.allowInsecure=true
|
|
tunnel.tls.autoGenerate=true
|
|
tunnel.tls.keyStore=certs/frontend.p12
|
|
tunnel.tls.keyStorePassword=
|
|
tunnel.tls.requireClientAuth=false
|
|
|
|
# Temporary browser setup wizard. Keep this bound to 127.0.0.1 unless you
|
|
# understand the risk of exposing a config editor over the network.
|
|
webwizard.bindHost=127.0.0.1
|
|
webwizard.port=8765
|
|
|
|
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
|