feat: finally add customizable essentials messages

This commit is contained in:
ChomeNS
2024-12-05 15:20:32 +07:00
parent 79b6ae13a6
commit c2cdf8bcf9
4 changed files with 27 additions and 10 deletions

View File

@@ -173,8 +173,24 @@ public class Configuration {
public int reconnectDelay = 2000;
public boolean removeNamespaces = false;
public int chatQueueDelay = 125;
public EssentialsMessages essentialsMessages = new EssentialsMessages();
public CoreRateLimit coreRateLimit = new CoreRateLimit();
public static class EssentialsMessages {
public String vanishEnable1 = "Vanish for %s: enabled";
public String vanishEnable2 = "You are now completely invisible to normal users, and hidden from in-game commands.";
public String vanishDisable = "Vanish for %s: disabled";
public String nickNameRemove = "You no longer have a nickname.";
public String nickNameSet = "Your nickname is now ";
public String socialSpyEnable = "SocialSpy for %s: enabled";
public String socialSpyDisable = "SocialSpy for %s: disabled";
public String muted = "You have been muted";
public String unmuted = "You have been unmuted.";
}
public static class CoreRateLimit {
public int limit = 0;
public int reset = 0;