#PlaceholderAPI Text in Inventory Screen?

1 messages · Page 1 of 1 (latest)

sage notch
#

Hi there! I'm trying to accomplish something using PlaceholderAPI, likely in conjunction with another plugin, to have the player's Vault balance appear in their inventory GUI when they open it (ie. pressing E, opening a chest, trading with a villager, etc) while having it invisible when the GUI is closed (so, not on the regular HUD)

Closest thing I've got so far is adding an item to the inventory using ItemJoin which tells the player their balance in the name/lore, but ideally I'd love to be able to have this appear without needing to mouse over an icon. I've looked around with HappyHUD and Oraxen, but I don't think they have any listeners for the inventory GUI. Any ideas? Thanks in advance!

sick oar
#

custom tpack @sage notch

sage notch
#

How would the text update?

sick oar
#

well its tpack wise a custom item and such

sage notch
#

im a bit confused, I'm looking to have the player's vault balance update on-screen. This would be in plaintext, a custom texture would help it look nice but I dont see how it would be capable of showing the player's balance

sick oar
#

I dont fully understand what your trying to do

#

got eamples

#

examples*

sage notch
#

Yeah, hang on

#

Alright, so this is a screenshot of my current minecraft HappyHUD preset. The player's balance is shown using the %vault_eco_balance% placeholder.

https://cdn.discordapp.com/attachments/928799004437930024/1048369929704984677/unknown.png

Currently, due to how HappyHUD works, this is always visible. I wanted to know if you, or anyone else here, was aware of a plugin I could use to have the balance only appear when the player's inventory GUI is open. As in, if they press E, the balance becomes visible, and when the inventory closes, it hides it again.

sick oar
#

thats tpack

#

only way to do that is with a texture pack

timber valve
#

That's a text displayed in action bar or some other place, and then moved around with offset

#

As Adam said, it can only be accomplished with a custom resource pack