diff options
author | Petr Ilin <hevav@hevav.dev> | 2022-03-25 18:12:16 +0300 |
---|---|---|
committer | Petr Ilin <hevav@hevav.dev> | 2022-03-25 18:32:05 +0300 |
commit | a992cfc04be8f330f669923360199b7b57a49e35 (patch) | |
tree | 19ce4f06ea28f1be49efb05bee8698b26e709471 /src/main/java/net/elytrium/limboauth/Settings.java | |
parent | ef636472638b0aec8b7f56fbd3a22943aaa2a47a (diff) | |
download | LimboAuth-a992cfc04be8f330f669923360199b7b57a49e35.tar.gz LimboAuth-a992cfc04be8f330f669923360199b7b57a49e35.tar.bz2 LimboAuth-a992cfc04be8f330f669923360199b7b57a49e35.zip |
Events implementation
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/Settings.java')
-rw-r--r-- | src/main/java/net/elytrium/limboauth/Settings.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java index 5ce38ab..825ce61 100644 --- a/src/main/java/net/elytrium/limboauth/Settings.java +++ b/src/main/java/net/elytrium/limboauth/Settings.java @@ -134,7 +134,7 @@ public class Settings extends Config { public boolean CLEAR_AFTER_LOGIN = false; public Title.Times toTimes() { - return Title.Times.of(Ticks.duration(this.FADE_IN), Ticks.duration(this.STAY), Ticks.duration(this.FADE_OUT)); + return Title.Times.times(Ticks.duration(this.FADE_IN), Ticks.duration(this.STAY), Ticks.duration(this.FADE_OUT)); } } @@ -149,7 +149,7 @@ public class Settings extends Config { public int FADE_OUT = 20; public Title.Times toTimes() { - return Title.Times.of(Ticks.duration(this.FADE_IN), Ticks.duration(this.STAY), Ticks.duration(this.FADE_OUT)); + return Title.Times.times(Ticks.duration(this.FADE_IN), Ticks.duration(this.STAY), Ticks.duration(this.FADE_OUT)); } } @@ -240,6 +240,8 @@ public class Settings extends Config { public String NOT_PREMIUM = "{PRFX} &cYour account is not &6PREMIUM&c!"; public String PREMIUM_USAGE = "{PRFX} Usage: &6/premium <current password> confirm"; + public String EVENT_CANCELLED = "{PRFX} Authorization event was cancelled"; + public String FORCE_UNREGISTER_SUCCESSFUL = "{PRFX} &6{0} &asuccessfully unregistered!"; public String FORCE_UNREGISTER_KICK = "{PRFX}{NL}&aYou have been unregistered by administrator!"; public String FORCE_UNREGISTER_NOT_SUCCESSFUL = "{PRFX} &cUnable to unregister &6{0}&c. Most likely this player has never been on this server."; |