aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/Settings.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-03-25 18:30:41 +0300
committerPetr Ilin <hevav@hevav.dev>2022-03-25 18:32:05 +0300
commit82424d4408abe364cdbc3d640829b550c88d93d5 (patch)
tree39656f3ba863a6bb933b18899eb29b1ba8efd84e /src/main/java/net/elytrium/limboauth/Settings.java
parent2435294b7232923443ecda62d2c29aa119a289eb (diff)
downloadLimboAuth-82424d4408abe364cdbc3d640829b550c88d93d5.tar.gz
LimboAuth-82424d4408abe364cdbc3d640829b550c88d93d5.tar.bz2
LimboAuth-82424d4408abe364cdbc3d640829b550c88d93d5.zip
Ability to change auth commands "name"
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 997cff4..f584e21 100644
--- a/src/main/java/net/elytrium/limboauth/Settings.java
+++ b/src/main/java/net/elytrium/limboauth/Settings.java
@@ -18,6 +18,7 @@
package net.elytrium.limboauth;
import java.io.File;
+import java.util.List;
import net.elytrium.limboauth.config.Config;
import net.kyori.adventure.title.Title;
import net.kyori.adventure.util.Ticks;
@@ -116,6 +117,10 @@ public class Settings extends Config {
})
public String ISPREMIUM_AUTH_URL = "https://api.mojang.com/users/profiles/minecraft/%s";
+ public List<String> REGISTER_COMMAND = List.of("/r", "/reg", "/register");
+ public List<String> LOGIN_COMMAND = List.of("/l", "/log", "/login");
+ public List<String> TOTP_COMMAND = List.of("/2fa", "/totp");
+
@Create
public Settings.MAIN.WORLD_COORDS WORLD_COORDS;