first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# DirtSimpleP2P Paper/Spigot backend config.
|
||||
# Put this same jar in the backend Minecraft server plugins folder.
|
||||
# No router port forwarding is required because this side connects outbound.
|
||||
|
||||
role=backend
|
||||
node.name=paper-backend
|
||||
|
||||
tunnel.connectHost=YOUR_BUNGEE_OR_VPS_IP
|
||||
tunnel.connectPort=24445
|
||||
# Replaced automatically on first start. Paste the same value from the Bungee config here.
|
||||
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. With trustOnFirstUse enabled, the
|
||||
# backend pins the frontend certificate after the first successful TLS connect.
|
||||
tunnel.tls.enabled=false
|
||||
tunnel.tls.allowInsecure=true
|
||||
tunnel.tls.trustOnFirstUse=true
|
||||
tunnel.tls.pinnedCertificateSha256=
|
||||
|
||||
routes=minecraft
|
||||
route.minecraft.backendTargetHost=127.0.0.1
|
||||
route.minecraft.backendTargetPort=25565
|
||||
Reference in New Issue
Block a user