geforkt von Mirrors/Velocity
Fix config formatting
Dieser Commit ist enthalten in:
Ursprung
e3084e21a7
Commit
4263c4e2d4
@ -65,21 +65,21 @@ public class VelocityConfiguration extends AnnotatedConfig implements ProxyConfi
|
|||||||
@Comment({
|
@Comment({
|
||||||
"Should we forward IP addresses and other data to backend servers?",
|
"Should we forward IP addresses and other data to backend servers?",
|
||||||
"Available options:",
|
"Available options:",
|
||||||
"- \"none\": No forwarding will be done. All players will appear to be connecting from the",
|
"- \"none\": No forwarding will be done. All players will appear to be connecting",
|
||||||
" proxy and will have offline-mode UUIDs.",
|
" from the proxy and will have offline-mode UUIDs.",
|
||||||
"- \"legacy\": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this if",
|
"- \"legacy\": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this",
|
||||||
" you run servers using Minecraft 1.12 or lower.",
|
" if you run servers using Minecraft 1.12 or lower.",
|
||||||
"- \"bungeeguard\": Forward player IPs and UUIDs in a format supported by the BungeeGuard",
|
"- \"bungeeguard\": Forward player IPs and UUIDs in a format supported by the BungeeGuard",
|
||||||
" plugin. Use this if you run servers using Minecraft 1.12 or lower, and are",
|
" plugin. Use this if you run servers using Minecraft 1.12 or lower, and are",
|
||||||
" unable to implement network level firewalling (on a shared host).",
|
" 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 ",
|
"- \"modern\": Forward player IPs and UUIDs as part of the login process using",
|
||||||
" native forwarding. Only applicable for Minecraft 1.13 or higher."
|
" Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher."
|
||||||
})
|
})
|
||||||
@ConfigKey("player-info-forwarding-mode")
|
@ConfigKey("player-info-forwarding-mode")
|
||||||
private PlayerInfoForwarding playerInfoForwardingMode = PlayerInfoForwarding.NONE;
|
private PlayerInfoForwarding playerInfoForwardingMode = PlayerInfoForwarding.NONE;
|
||||||
|
|
||||||
@StringAsBytes
|
@StringAsBytes
|
||||||
@Comment("If you are using modern IP forwarding, configure an unique secret here.")
|
@Comment("If you are using modern or BungeeGuard IP forwarding, configure an unique secret here.")
|
||||||
@ConfigKey("forwarding-secret")
|
@ConfigKey("forwarding-secret")
|
||||||
private byte[] forwardingSecret = generateRandomString(12).getBytes(StandardCharsets.UTF_8);
|
private byte[] forwardingSecret = generateRandomString(12).getBytes(StandardCharsets.UTF_8);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren