Skip to content

Commit

Permalink
made debug mode disclaimer console only
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryson Steck committed Sep 13, 2021
1 parent a871a8e commit b51e15e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified out/artifacts/Resurrection_jar/Resurrection.jar
Binary file not shown.
7 changes: 4 additions & 3 deletions src/net/brysonsteck/Resurrection/Resurrection.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ public void onEnable() {
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] ---------------------------------------------------------");
}

Expand Down

0 comments on commit b51e15e

Please sign in to comment.