made debug mode disclaimer console only

This commit is contained in:
Bryson Steck 2021-09-13 17:42:45 -06:00
parent a871a8e46c
commit b51e15e551
2 changed files with 4 additions and 3 deletions

View file

@ -104,9 +104,10 @@ public class Resurrection extends JavaPlugin implements Listener {
boolean DEBUG = false;
if (Boolean.parseBoolean(parseSettings.getSetting("debug"))) {
DEBUG = true;
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: Resurrection's debug mode has been enabled in the settings file.");
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: All debug messages will be broadcasted (sent to everyone) prefaced with the tag \"[Res. DEBUG]\" and sent in bold yellow text.");
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: Several messages may be sent at a time. Therefore, debug mode should be disabled for anything other than, well, debugging.");
System.out.println("[Res. DEBUG]: ***** DEBUG MODE ENABLED *****");
System.out.println("[Res. DEBUG]: Resurrection's debug mode has been enabled in the settings file.");
System.out.println("[Res. DEBUG]: All debug messages after this disclaimer will be broadcasted (sent to everyone) prefaced with the tag \"[Res. DEBUG]\" and sent in bold yellow text.");
System.out.println("[Res. DEBUG]: Several messages may be sent at a time. Therefore, debug mode should be disabled for anything other than, well, debugging.");
System.out.println("[Resurrection] ---------------------------------------------------------");
}