DeluxePouches

Pouch menu

What players see in the pouch menu, what admins see, and how to rename it.

/dp gui opens a menu listing every pouch on the server. Players use it to grab a pouch they are allowed to have, admins use it to check how a pouch is configured without opening a file.

A five row menu, pouches filling the top rows, page arrows, a page number and a close button along the bottom

Layout

Five rows. Pouches fill the top four and the bottom row holds the controls:

SlotItem
Bottom leftPrevious page, only when there is more than one page
Bottom middle leftPage number
Bottom middleClose
Bottom rightNext page, only when there is more than one page
The restGrey glass filler

Clicking a pouch

ClickWhoWhat happens
Left-clickAnyone with deluxepouches.useOne of that pouch goes into their inventory, with a sound and a confirmation message
Right-clickAnyone with deluxepouches.admin.debugPrints the pouch's setup in chat instead of giving it

Without deluxepouches.use the click is refused with the no permission message. Items in the menu cannot be dragged out, every other click is cancelled.

What the lore shows

Each pouch in the menu carries a summary built from its config:

  • Pouch id, animation and effect
  • Reward slots (reward-amount) and how many rewards exist
  • Up to four rewards with their chance values, then a count of the rest
  • Cooldown, required permission, and whether a hologram is set

That lore is a straight dump of the configuration, including the pouch id and the reward list. Anyone who can run /dp gui sees it. Keep deluxepouches.gui.open for staff if you do not want players reading the odds.

Renaming the menu

config.yml
settings:
  pouches-menu:
    gui-name: "&8✦ &6&lAvailable &e&lPouches &8✦"

Colour codes work. Run /dp reload after changing it.

The other keys under settings.pouches-menu (next-page, previous-page, show-preview, show-info, info-button-name, get-button-name) and the top level gui: block are not read. Only gui-name changes the menu.

Opening it for someone else

The command takes no arguments, each player runs /dp gui themselves. To hand a specific pouch to a specific player, use /dp give instead, see Commands.

On this page