Skip to content

Add shaded bStats metrics + minor build fixes#4

Merged
imaemii merged 8 commits into
imaemii:masterfrom
johncsuti:master
Dec 21, 2025
Merged

Add shaded bStats metrics + minor build fixes#4
imaemii merged 8 commits into
imaemii:masterfrom
johncsuti:master

Conversation

@johncsuti
Copy link
Copy Markdown
Contributor

Summary

This PR adds bStats metrics to InstantDeath and shades (relocates) the bStats classes to avoid classpath conflicts with other plugins.

Why

  • Helps track plugin adoption and Minecraft/server version usage to guide future maintenance.
  • Shading prevents collisions when multiple plugins bundle bStats.

What changed

  • Added bStats dependency + initialization in plugin startup.
  • Added Maven shading/relocation for org.bstats.
  • Minor compile fixes from the initial integration (imports/syntax/typo).

Notes for maintainer

  • bStats requires a plugin ID. If you prefer, I can change the ID with the ID from your own bStats dashboard.

@imaemii
Copy link
Copy Markdown
Owner

imaemii commented Dec 20, 2025

Will merge when Im on my pc

@johncsuti
Copy link
Copy Markdown
Contributor Author

Merge when you can then update line 23 in instantdeath.java with your own plugin ID

@imaemii imaemii marked this pull request as draft December 21, 2025 11:20
@imaemii imaemii marked this pull request as ready for review December 21, 2025 11:21
@imaemii
Copy link
Copy Markdown
Owner

imaemii commented Dec 21, 2025

ID 28460

@imaemii imaemii merged commit 5c835fa into imaemii:master Dec 21, 2025
1 check passed
imaemii added a commit that referenced this pull request Feb 21, 2026
Add shaded bStats metrics + minor build fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants