# 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 frontends=proxy1 frontend.proxy1.connectHost=YOUR_BUNGEE_OR_VPS_IP frontend.proxy1.connectPort=24445 frontend.proxy1.tls.pinnedCertificateSha256= # Multi-proxy example: # frontends=proxy1,proxy2 # frontend.proxy1.connectHost=proxy1.example.com # frontend.proxy1.connectPort=24445 # frontend.proxy1.tls.pinnedCertificateSha256= # frontend.proxy2.connectHost=proxy2.example.com # frontend.proxy2.connectPort=24445 # frontend.proxy2.tls.pinnedCertificateSha256= # 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 # 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.backendTargetHost=127.0.0.1 route.minecraft.backendTargetPort=25565