Ajneb97 / Codex

https://www.spigotmc.org/resources/codex-rpg-discoveries-1-8-1-17.90371/
MIT License
8 stars 11 forks source link

[Feature request] PAPI variables for total discoverable items (per category) #5

Open jortvanleenen opened 1 year ago

jortvanleenen commented 1 year ago

Hi,

Currently, you have implemented '%codex_totaldiscoveries\<category>%' and '%codex_total_discoveries%' for the number of discoveries made by the player (per category). I was also hoping you could implement something as %codex_total% and '%codextotal\<category>%' for the total amount of discoverable items (per category).

(Perhaps it would then be better to rename the placeholders as %codex_totaldiscovered(\<category>)% and %codex_totaldiscoverable(\<category>)%, but that would of course break backwards-compatibility... you could always make total_discoveries deprecated?)

(EDIT: fixed some formatting)

Xorbah commented 1 year ago

+1