13
0
geforkt von Mirrors/Velocity

Align default prevent proxy connection settings with the default config file

This option generally creates a bunch of oddities in many setups, defaulting to false
as per the default toml config, is probably the better option here
Dieser Commit ist enthalten in:
Shane Freeder 2024-04-20 13:57:31 +01:00
Ursprung 9e42049a67
Commit 3b6419997c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: A3F61EA5A085289C

Datei anzeigen

@ -503,7 +503,7 @@ public class VelocityConfiguration implements ProxyConfig {
final boolean forceKeyAuthentication = config.getOrElse("force-key-authentication", true); final boolean forceKeyAuthentication = config.getOrElse("force-key-authentication", true);
final boolean announceForge = config.getOrElse("announce-forge", true); final boolean announceForge = config.getOrElse("announce-forge", true);
final boolean preventClientProxyConnections = config.getOrElse( final boolean preventClientProxyConnections = config.getOrElse(
"prevent-client-proxy-connections", true); "prevent-client-proxy-connections", false);
final boolean kickExisting = config.getOrElse("kick-existing-players", false); final boolean kickExisting = config.getOrElse("kick-existing-players", false);
final boolean enablePlayerAddressLogging = config.getOrElse( final boolean enablePlayerAddressLogging = config.getOrElse(
"enable-player-address-logging", true); "enable-player-address-logging", true);