Skip to content

Commit

Permalink
Inform in console that BattleTracker is required for stat tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Redned235 committed Aug 25, 2024
1 parent e3e9dd3 commit fa011ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin/src/main/java/org/battleplugins/arena/BattleArena.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit fa011ce

Please sign in to comment.