diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-09-13 17:42:45 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-09-13 17:42:45 -0600 |
commit | b51e15e55172834c02441468ac2db7697807d6d7 (patch) | |
tree | 52233e49081338b2c6a2f483265cec93d5ee556d | |
parent | a871a8e46c7d0f4443f35160c5b221a0e4276a7d (diff) | |
download | resurrection-b51e15e55172834c02441468ac2db7697807d6d7.tar resurrection-b51e15e55172834c02441468ac2db7697807d6d7.tar.gz resurrection-b51e15e55172834c02441468ac2db7697807d6d7.tar.bz2 |
made debug mode disclaimer console only
-rw-r--r-- | out/artifacts/Resurrection_jar/Resurrection.jar | bin | 1605304 -> 1605348 bytes | |||
-rw-r--r-- | 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 Binary files differindex 85da73e..d6ff7ab 100644 --- a/out/artifacts/Resurrection_jar/Resurrection.jar +++ b/out/artifacts/Resurrection_jar/Resurrection.jar 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] ---------------------------------------------------------"); } |