Theguyhere0 / villager-defense-minigame

A Minecraft plugin that adds a fun, customizable minigame where players defend villagers against waves of monsters
GNU General Public License v3.0
7 stars 4 forks source link

[FEATURE] PAPI Support #142

Open GhostHost256 opened 1 year ago

GhostHost256 commented 1 year ago

Is your feature request related to a problem? Please describe. The built-in leaderboards do not allow any customizations, therefor they do not match the theme of my server.

Describe the solution you'd like Please add PAPI support for all statistics. https://github.com/PlaceholderAPI/PlaceholderAPI

Describe alternatives you've considered N/A

Additional context N/A

Theguyhere0 commented 1 year ago

I already have some PAPI statistics supported. Unfortunately, I've yet to get around to updating the wiki, but please refer to the 1.2.0 release notes for the statistics. Let me know if these are sufficient, and if not, what you're looking for and I'll try to add them in!

GhostHost256 commented 1 year ago

I'm having trouble creating my own leaderboards from the player placeholders because they don't return a compatible value. Would it it possible to turn %vdtotalKills% into %vd_totalKills% and have the placeholder contain a players name and the number of kills?

Theguyhere0 commented 1 year ago

Ah I see, let me go through all my placeholders and see if I can streamline with that suggestion. I'll get it in my 2.0.0 pre releasees