aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/Settings.java
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-03-30 23:40:34 +0200
committernea <nea@nea.moe>2023-03-31 00:04:25 +0200
commit56f10984f25700a2ae6567e7de81b0ecbf33b8c1 (patch)
treea40b4b148065f32726b39f1971690c5a03628a1b /src/main/java/net/elytrium/limboauth/Settings.java
parente6a790b52b8313e0fc242bcd35e6aa2dd5e7ce94 (diff)
downloadLimboAuth-56f10984f25700a2ae6567e7de81b0ecbf33b8c1.tar.gz
LimboAuth-56f10984f25700a2ae6567e7de81b0ecbf33b8c1.tar.bz2
LimboAuth-56f10984f25700a2ae6567e7de81b0ecbf33b8c1.zip
Add option to disable ip sessionsfeat/ipsessiondisable
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/Settings.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/Settings.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java
index f6aa89f..7af7854 100644
--- a/src/main/java/net/elytrium/limboauth/Settings.java
+++ b/src/main/java/net/elytrium/limboauth/Settings.java
@@ -93,6 +93,10 @@ 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("Allow players to log in from the same IP without needing to confirm their password again.")
+ public boolean IP_SESSIONS = 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"