From b51e15e55172834c02441468ac2db7697807d6d7 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Mon, 13 Sep 2021 17:42:45 -0600 Subject: made debug mode disclaimer console only --- out/artifacts/Resurrection_jar/Resurrection.jar | Bin 1605304 -> 1605348 bytes src/net/brysonsteck/Resurrection/Resurrection.java | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar index 85da73e..d6ff7ab 100644 Binary files a/out/artifacts/Resurrection_jar/Resurrection.jar and b/out/artifacts/Resurrection_jar/Resurrection.jar differ diff --git a/src/net/brysonsteck/Resurrection/Resurrection.java b/src/net/brysonsteck/Resurrection/Resurrection.java index e734fa0..a3ecf74 100644 --- a/src/net/brysonsteck/Resurrection/Resurrection.java +++ b/src/net/brysonsteck/Resurrection/Resurrection.java @@ -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] ---------------------------------------------------------"); } -- cgit v1.2.3