From 025588b2df933915064451d49f6ab56ce578584d Mon Sep 17 00:00:00 2001 From: DiscoverSquishy <26318936+DiscoverSquishy@users.noreply.github.com> Date: Sun, 22 Nov 2020 09:55:47 +0300 Subject: [PATCH] Tweaked some values Enabled TCP fast open as the container runs on debian. Cleared the forwarding secret, security measure. Renamed forwarding mode to LEGACY so users don't get the initial startup error, and would work out of the box. --- minecraft/proxy/java/velocity/velocity.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/minecraft/proxy/java/velocity/velocity.toml b/minecraft/proxy/java/velocity/velocity.toml index cc736d41..0e5741ac 100644 --- a/minecraft/proxy/java/velocity/velocity.toml +++ b/minecraft/proxy/java/velocity/velocity.toml @@ -25,12 +25,12 @@ prevent-client-proxy-connections = false # unable to implement network level firewalling (on a shared host). # - "modern": Forward player IPs and UUIDs as part of the login process using # Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher. -player-info-forwarding-mode = "NONE" +player-info-forwarding-mode = "legacy" # If you are using modern or BungeeGuard IP forwarding, configure an unique secret here. -forwarding-secret = "pNuOOnPLzGd4" +forwarding-secret = "" # Announce whether or not your server supports Forge. If you run a modded server, we # suggest turning this on. -# +# # If your network runs one modpack consistently, consider using ping-passthrough = "mods" # instead for a nicer display in the server list. announce-forge = false @@ -77,7 +77,7 @@ ping-passthrough = "DISABLED" # Enables compatibility with HAProxy. proxy-protocol = false # Enables TCP fast open support on the proxy. Requires the proxy to run on Linux. - tcp-fast-open = false + tcp-fast-open = true # Shows ping requests to the proxy from clients. show-ping-requests = false # By default, Velocity will attempt to gracefully handle situations where the user unexpectedly @@ -118,7 +118,7 @@ ping-passthrough = "DISABLED" # player count. We recommend keeping bStats enabled, but if you're not comfortable with # this, you can turn this setting off. There is no performance penalty associated with # having metrics enabled, and data sent to bStats can't identify your server. - enabled = true + enabled = false # Legacy color codes and JSON are accepted in all messages. [messages]