From fa011ce62e05b8fbad646526ed1a0990df27fe26 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Sun, 25 Aug 2024 13:58:11 -0500 Subject: [PATCH] Inform in console that BattleTracker is required for stat tracking --- .../src/main/java/org/battleplugins/arena/BattleArena.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/src/main/java/org/battleplugins/arena/BattleArena.java b/plugin/src/main/java/org/battleplugins/arena/BattleArena.java index 0e5b3ca9..fd319d38 100644 --- a/plugin/src/main/java/org/battleplugins/arena/BattleArena.java +++ b/plugin/src/main/java/org/battleplugins/arena/BattleArena.java @@ -118,6 +118,11 @@ public void onEnable() { this.loadArenaLoaders(this.arenasPath); new Metrics(this, PLUGIN_ID); + + // Cheeky little message about BattleTracker <3 + if (Bukkit.getPluginManager().getPlugin("BattleTracker") == null) { + this.warn("BattleTracker not found! Arena statistics will not be tracked. You can download BattleTracker at: https://modrinth.com/project/battletracker."); + } } private void enable() {