aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/Settings.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-12-23 02:36:45 +0300
committerPetr Ilin <hevav@hevav.dev>2022-12-23 02:36:45 +0300
commit206fedfd8765987da659f4b9ef6bcee78a79f3a2 (patch)
tree59ed0af1d7e81479f20ce7e60e0dd52f83f535cd /src/main/java/net/elytrium/limboauth/Settings.java
parentc46ba522e726c945bfdb57fe26126072e6adf142 (diff)
downloadLimboAuth-206fedfd8765987da659f4b9ef6bcee78a79f3a2.tar.gz
LimboAuth-206fedfd8765987da659f4b9ef6bcee78a79f3a2.tar.bz2
LimboAuth-206fedfd8765987da659f4b9ef6bcee78a79f3a2.zip
Refactoring + Fixes
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/Settings.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/Settings.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java
index 4a31e9a..f8733ad 100644
--- a/src/main/java/net/elytrium/limboauth/Settings.java
+++ b/src/main/java/net/elytrium/limboauth/Settings.java
@@ -66,6 +66,8 @@ public class Settings extends YamlConfig {
public boolean FORCE_OFFLINE_MODE = false;
@Comment("Forces all players to get offline uuid")
public boolean FORCE_OFFLINE_UUID = false;
+ @Comment("If enabled, the plugin will firstly check whether the player is premium through the local database, and secondly through Mojang API.")
+ public boolean CHECK_PREMIUM_PRIORITY_INTERNAL = true;
@Comment("Delay in milliseconds before sending auth-confirming titles and messages to the player. (login-premium-title, login-floodgate, etc.)")
public int PREMIUM_AND_FLOODGATE_MESSAGES_DELAY = 1250;
@Comment({
@@ -168,6 +170,7 @@ public class Settings extends YamlConfig {
"Set this parameter to [], to disable JSON scheme validation"
})
public List<String> USER_EXISTS_JSON_VALIDATOR_FIELDS = List.of("name", "id");
+ public String JSON_UUID_FIELD = "id";
public List<String> USER_NOT_EXISTS_JSON_VALIDATOR_FIELDS = List.of();
@Comment({