Maxlego08/zMenu

Support opening an inventory with arguments.

Closed this issue · 0 comments

Currently there's no way to open another inventory from an inventory with arguments besides using the admin command from console but doing that breaks the back button and much more. it would be nice if we could specify arguments as the menus being opened.

something like this Id imagine.

cobbleshop:
type: INVENTORY
slot: 19
inventory: "nas_shop"
plugin: "zMenu"
arguments:
- "block:stone"
- "someotherarg:somevalue"
item:
material: cobblestone
name: "&fOpen the CobbleStone shop"
lore:
- "&7Click here to open"

    Edit: sorry I suck at formatting here.