Skip to content

Commit

Permalink
Temp Fix Logging (#862)
Browse files Browse the repository at this point in the history
Remove the message that would pop up every time you start the server, which tells you that the example files were regenerated.

Fix the default prefix to fit in with the others.

Remove the duplicate plugin support call which would cause it to be reloaded twice.
  • Loading branch information
TrueDarkLord authored Oct 16, 2024
1 parent 9b4f8a9 commit 0e21a6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public static void copyFile(Path directory, String name) {

if (!dir.exists()) {
if (dir.mkdirs()) {
if (plugin.isLogging()) plugin.getLogger().warning("Created " + dir.getName() + " because we couldn't find it.");
// Temp Fix to remove pointless logging.
// if (plugin.isLogging()) plugin.getLogger().warning("Created " + dir.getName() + " because we couldn't find it.");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,8 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command cmd, @N
BlackSmithManager.load();
KitsManager.load();


sender.sendMessage(Messages.CONFIG_RELOAD.getMessage());

this.pluginSupport.updateHooks();

FileUtils.loadFiles();
}

Expand Down
2 changes: 1 addition & 1 deletion paper/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## 1.9 and up players use these sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
###################################################################
Settings:
Prefix: '&8[&aCrazyEnchants&8]: ' #The prefix in the messages
Prefix: '&8[&aCrazyEnchantments&8]: ' #The prefix in the messages
Toggle-Metrics: true #Turn on and off if your server stats are sent to https://bstats.org/ - Requires a restart!
Player-Info-Backup-Message: true #Toggle this on and off if you wish to see when the player's data gets backed up.
Reset-Players-Max-Health: true #This is for some servers that get a health duplication glitch from plugins like CombatTagPlus(v1.2.3 down)
Expand Down

0 comments on commit 0e21a6b

Please sign in to comment.