aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/Settings.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-12-09 01:11:09 +0300
committerPetr Ilin <hevav@hevav.dev>2022-12-09 01:11:09 +0300
commit008dac8850ac4cb93c1fc25bf92c1dd7049e6394 (patch)
tree6ca22c1b3f91695df886ae11ab1ad33d81aa1f47 /src/main/java/net/elytrium/limboauth/Settings.java
parent9da04f96816968abbecfb4089ca3acd6f31d0897 (diff)
downloadLimboAuth-008dac8850ac4cb93c1fc25bf92c1dd7049e6394.tar.gz
LimboAuth-008dac8850ac4cb93c1fc25bf92c1dd7049e6394.tar.bz2
LimboAuth-008dac8850ac4cb93c1fc25bf92c1dd7049e6394.zip
Option to switch the saving of premium accounts
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/Settings.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/Settings.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java
index 99bb2f0..68102eb 100644
--- a/src/main/java/net/elytrium/limboauth/Settings.java
+++ b/src/main/java/net/elytrium/limboauth/Settings.java
@@ -73,6 +73,11 @@ public class Settings extends YamlConfig {
"If the player had the cracked account, and switched to the premium account, the cracked UUID will be used."
})
public boolean SAVE_UUID = true;
+ @Comment({
+ "Saves in the database the accounts of premium users whose login is via online-mode-need-auth: false",
+ "Can be disabled to reduce the size of stored data in the database"
+ })
+ public boolean SAVE_PREMIUM_ACCOUNTS = true;
public boolean ENABLE_TOTP = true;
public boolean TOTP_NEED_PASSWORD = true;
public boolean REGISTER_NEED_REPEAT_PASSWORD = true;