inventory

Displays a inventory to the player.

Example
menu:
  type: "inventory"
  enabled: true
  name: "menu"
  error: "{error_colour}Error occurred when opening inventory."
  inventory:
    size: GENERIC_9X6
    title: "&8&lMenu"
    content:
      "top,bottom":
        material: "{theme_material}"
      "center0":
        # Sets the material to the player's skull.
        skull: "<player>"
        name: "&a&l<player>"
        lore:
          - "&7You are amazing!"
      "8":
        material: "end_crystal"
        name: "&a&lFriend Settings"
        lore:
          - "&7Click to run the command &f/settings"
        commands:
          # Only works with commands registered with this plugin.
          - "friends settings"
      "10":
        material: "writable_book"
        name: "&a&lFriends list"
        lore:
          - "&7Click to run the command &f/friends list"
        commands:
          - "friends list"
      "center1":
        material: "Paper"
        name: "&a&lServer List"
        lore:
          - "&7Click to run the command &f/servers"
        # Close when clicked
        close: true
        commands:
          - "servers"

Last updated