Monoto72 / GlobalStats

A plugin to view Player and Global Statistics via GUI base.
3 stars 1 forks source link

Placeholder API Support? #3

Closed devbaraus closed 2 years ago

devbaraus commented 2 years ago

Is it possible to add placeholders so we can use to display stat on chat and scoreboards?

Monoto72 commented 2 years ago

Yes it's possible. For now I will add it for all of the global stats, and each of the players top overall stats. I'm planning on reworking it all soon to allow for many more statistics to be included i.e. death, time played, etc.

For example,

Monoto72 commented 2 years ago

Sorry for the wait. All has been done.

Link to the recent is here, along with the correct placeholders. GlobalStats-1.5

devbaraus commented 2 years ago

Yes it's possible. For now I will add it for all of the global stats, and each of the players top overall stats. I'm planning on reworking it all soon to allow for many more statistics to be included i.e. death, time played, etc.

For example,

  • %globalstats_mined%
  • %globalstatsmined{}%

It will me quite usefull to me, I'm creating some ranks that will depend on this kind of information