Skip to content

Support opening an inventory with arguments. #45

@RustyDagger

Description

@RustyDagger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions