Hello, I need help creating a menu in DeluxeMenus.
I want to create a simple menu for my survival economy server where players can purchase a /back upgrade for 2500 in-game currency.
After purchasing, the player should automatically receive the permission cmi.command.back (I use LuckPerms).
The menu should either close after purchase and, when reopened, show a barrier item in place of the upgrade, indicating that it has already been bought.
If the player doesn’t own the upgrade yet, they should see an ender pearl item with the description and price.
Ideally, the menu updates automatically depending on whether the player owns the upgrade, showing the correct item (buy / already purchased).
I have tried different configurations using view_requirement on permissions and placeholders, but after purchase, the item doesn’t update correctly.
I’m using:
DeluxeMenus (latest version)
CMI (for /back and economy)
LuckPerms (for permission management)
Vault + EssentialsX
Could you please help me with a sample config that works properly?
Thanks a lot!