aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/Settings.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2023-01-02 03:50:55 +0300
committerPetr Ilin <hevav@hevav.dev>2023-01-02 03:50:55 +0300
commit2e6d82892032e0021eafeefda6de03774932602b (patch)
treef9b30638be8ece04cbca408f7a0815f3c0586c19 /src/main/java/net/elytrium/limboauth/Settings.java
parent19481c26987bed0c90f0f3014bb117d343dc0a15 (diff)
downloadLimboAuth-2e6d82892032e0021eafeefda6de03774932602b.tar.gz
LimboAuth-2e6d82892032e0021eafeefda6de03774932602b.tar.bz2
LimboAuth-2e6d82892032e0021eafeefda6de03774932602b.zip
isPremiumByIdentifiedKey check. Works on 1.19+
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/Settings.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/Settings.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java
index 6c07ade..9f50164 100644
--- a/src/main/java/net/elytrium/limboauth/Settings.java
+++ b/src/main/java/net/elytrium/limboauth/Settings.java
@@ -59,8 +59,12 @@ public class Settings extends YamlConfig {
public int MAX_PASSWORD_LENGTH = 71;
public boolean CHECK_PASSWORD_STRENGTH = true;
public String UNSAFE_PASSWORDS_FILE = "unsafe_passwords.txt";
+ @Comment({
+ "Players with premium nicknames should register/auth if this option is enabled",
+ "Players with premium nicknames must login with a premium Minecraft account if this option is disabled",
+ })
public boolean ONLINE_MODE_NEED_AUTH = true;
- @Comment("Needs floodgate plugin.")
+ @Comment("Needs floodgate plugin if disabled.")
public boolean FLOODGATE_NEED_AUTH = true;
@Comment("TOTALLY disables hybrid auth feature")
public boolean FORCE_OFFLINE_MODE = false;