Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-29 09:30:10 +01:00
Apply suggestions from code review
Co-authored-by: chris <github@onechris.mozmail.com>
Dieser Commit ist enthalten in:
Ursprung
869f7a8966
Commit
3448c2fa9b
@ -68,7 +68,7 @@ public interface AdvancedConfig {
|
|||||||
|
|
||||||
@Comment("""
|
@Comment("""
|
||||||
Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle
|
Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle
|
||||||
a lot of scoreboard packets per second can cause serious lag.
|
a lot of scoreboard packets per second, this can cause serious lag.
|
||||||
This option allows you to specify after how many Scoreboard packets per seconds
|
This option allows you to specify after how many Scoreboard packets per seconds
|
||||||
the Scoreboard updates will be limited to four updates per second.""")
|
the Scoreboard updates will be limited to four updates per second.""")
|
||||||
@DefaultNumeric(20)
|
@DefaultNumeric(20)
|
||||||
|
@ -53,7 +53,7 @@ public interface GeyserConfig {
|
|||||||
|
|
||||||
@Comment("""
|
@Comment("""
|
||||||
For online mode authentication type only.
|
For online mode authentication type only.
|
||||||
Stores a list of Bedrock players that should have their Java Edition account saved after login.
|
Stores a list of Bedrock player usernames that should have their Java Edition account saved after login.
|
||||||
This saves a token that can be reused to authenticate the player later. This does not save emails or passwords,
|
This saves a token that can be reused to authenticate the player later. This does not save emails or passwords,
|
||||||
but you should still be cautious when adding to this list and giving others access to this Geyser instance's files.
|
but you should still be cautious when adding to this list and giving others access to this Geyser instance's files.
|
||||||
Removing a name from this list will delete its cached login information on the next Geyser startup.
|
Removing a name from this list will delete its cached login information on the next Geyser startup.
|
||||||
@ -281,7 +281,7 @@ public interface GeyserConfig {
|
|||||||
@Override
|
@Override
|
||||||
@Comment("""
|
@Comment("""
|
||||||
What type of authentication Bedrock players will be checked against when logging into the Java server.
|
What type of authentication Bedrock players will be checked against when logging into the Java server.
|
||||||
Can be floodgate (see https://wiki.geysermc.org/floodgate/), online, or offline.""")
|
Can be "floodgate" (see https://wiki.geysermc.org/floodgate/), "online", or "offline".""")
|
||||||
@NonNull
|
@NonNull
|
||||||
default AuthType authType() {
|
default AuthType authType() {
|
||||||
return AuthType.ONLINE;
|
return AuthType.ONLINE;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren