aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/Settings.java
diff options
context:
space:
mode:
authorAVuTuVA <66278054+AVuTuVA@users.noreply.github.com>2023-02-24 02:00:27 +0300
committerGitHub <noreply@github.com>2023-02-24 02:00:27 +0300
commit3f5c7e4d046073f93aab5925627d528cbae06a30 (patch)
tree034c2bb8997b90191b71768ac0a6992835539474 /src/main/java/net/elytrium/limboauth/Settings.java
parent30341e2a6d5a0b67fec76c62e832a4667b84736b (diff)
downloadLimboAuth-3f5c7e4d046073f93aab5925627d528cbae06a30.tar.gz
LimboAuth-3f5c7e4d046073f93aab5925627d528cbae06a30.tar.bz2
LimboAuth-3f5c7e4d046073f93aab5925627d528cbae06a30.zip
Registration command + small gradle update (#79)
* Registration command + small gradle update * Update README.md * Registration command improvement
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/Settings.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/Settings.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java
index c2d7973..f6aa89f 100644
--- a/src/main/java/net/elytrium/limboauth/Settings.java
+++ b/src/main/java/net/elytrium/limboauth/Settings.java
@@ -320,6 +320,8 @@ public class Settings extends YamlConfig {
@Comment("Permission: limboauth.admin.forcechangepassword")
public CommandPermissionState FORCE_CHANGE_PASSWORD = CommandPermissionState.PERMISSION;
+ @Comment("Permission: limboauth.admin.forceregister")
+ public CommandPermissionState FORCE_REGISTER = CommandPermissionState.PERMISSION;
@Comment("Permission: limboauth.admin.forceunregister")
public CommandPermissionState FORCE_UNREGISTER = CommandPermissionState.PERMISSION;
@Comment("Permission: limboauth.admin.reload")
@@ -433,6 +435,12 @@ public class Settings extends YamlConfig {
public String FORCE_CHANGE_PASSWORD_NOT_SUCCESSFUL = "{PRFX} &cUnable to change password for &6{0}&c. Most likely this player has never been on this server.";
public String FORCE_CHANGE_PASSWORD_USAGE = "{PRFX} Usage: &6/forcechangepassword <nickname> <new password>";
+ public String FORCE_REGISTER_USAGE = "{PRFX} Usage: &6/forceregister <nickname> <password>";
+ public String FORCE_REGISTER_INCORRECT_NICKNAME = "{PRFX} &cNickname contains forbidden characters.";
+ public String FORCE_REGISTER_TAKEN_NICKNAME = "{PRFX} &cThis nickname is already taken.";
+ public String FORCE_REGISTER_SUCCESSFUL = "{PRFX} &aSuccessfully registered player &6{0}&a!";
+ public String FORCE_REGISTER_NOT_SUCCESSFUL = "{PRFX} &cUnable to register player &6{0}&c.";
+
public String TOTP = "{PRFX} Please, enter your 2FA key using &6/2fa <key>";
@Comment(value = "Can be empty.", at = Comment.At.SAME_LINE)
public String TOTP_TITLE = "{PRFX}";