This update introduces the possibility to disable messages.
Just write '[empty]' in the message to disable it.
This commit is contained in:
2022-04-16 16:56:16 +02:00
parent 4bdbe98f8a
commit efb66696eb
12 changed files with 63 additions and 139 deletions

View File

@@ -11,7 +11,7 @@ import java.io.File;
public class SelectLibMsg {
private static Plugin plugin = Main.plugin;
private static String prefix = Main.prefix;
private static String prefix = Main.prefix;
public static String selectMSG;
@@ -41,6 +41,8 @@ public class SelectLibMsg {
VaultNotSetUp = Replace.replace(prefix, yamlConfiguration_msg.getString("Plugin.VaultNotSetUp"));
SoundNotFound = Replace.replace(prefix, yamlConfiguration_msg.getString("Plugin.SoundNotFound"));
send.console(Prefix + " §2Language successfully selected to: §6" + selectMSG + " §7- §e" + (System.currentTimeMillis() - long_.longValue()) + "ms");
send.console(Prefix + " §2Language successfully selected to: §6" + selectMSG + " §7- §e" + (System.currentTimeMillis() - long_.longValue()) + "ms");
}
}