gringotts icon indicating copy to clipboard operation
gringotts copied to clipboard

[PAPI Support] Add placeholders for

Open spikehidden opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. It's difficult to show the balance of just a worldguard region in a scoreboard, message, ect.

Describe the solution you'd like I'd like to be able to have placeholders like:

  • ~~%gringotts_balance_worldguard_<regionID>% - Shows the balance of the region.~~
  • %gringotts_balance_player_[<other player>]% - Shows the balance of the player
  • %gringotts_balance_vault_[<other_player>]% - Shows the balance stored in vaults without enderchest of the player.
  • %gringotts_balance_enderchest_[<other_player>]% - Shows the balance stored in the enderchest of the player.
  • %gringotts_balance_endervault_[<other_player>]% - Shows the balance stored in vaults including the enderchest of the player.

Describe alternatives you've considered Well for %gringotts_balance_player_[<other player>]% you could use the vault placeholders but for the others I couldn't find an alternative.

Additional context PlaceholderAPI Docs

EDIT: As worldguard is not supported anymore I crossed that out but it still could be useful if you want to show how much the player has in his vaults apart of in his inventory.

spikehidden avatar Apr 01 '22 00:04 spikehidden

Would also love to see a placeholder that allows you to output the top 10 player's balance

BannedAdress avatar Oct 02 '22 16:10 BannedAdress

Even though that sounds cool, it would be really computationally expensive. Saying that, I'll have a cool at it :)

nikosgram avatar Oct 09 '22 19:10 nikosgram