Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAPI Support] Add placeholders for #90

Open
spikehidden opened this issue Apr 1, 2022 · 2 comments
Open

[PAPI Support] Add placeholders for #90

spikehidden opened this issue Apr 1, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@spikehidden
Copy link

spikehidden commented Apr 1, 2022

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 spikehidden added the enhancement New feature or request label Apr 1, 2022
@BannedAdress
Copy link

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

@nikosgram
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants