VZone Plugins/VContainer/menus/container.yml

Config

This page mirrors the default menus/container.yml file from the plugin.

menus/container.yml
# ============================================================================
# VContainer container GUI
# ----------------------------------------------------------------------------
# Opened by /container, admin container views, global storage blocks, and
# personal storage blocks.
#
# Text values support legacy colors, hex colors, and MiniMessage tags.
#
# Important action keys:
# - container-item   = stored item paging area size
# - decoration       = static filler/decorative item
# - page-prev        = previous-page button
# - page-next        = next-page button
# - sort             = per-player sorting button
# - storage-pickup   = personal storage pickup button, owner only
# - storage-members  = personal storage member menu button, owner only
# ============================================================================
gui-version: 2
title: "&0Container %current-page%/%max-page%"
rows: 6
page-size: 45

items:
  stored_items:
    # Stored items are placed into the paginated content area.
    # The current GUI engine uses page-size for the amount of item slots.
    Action: container-item
    Slots:
      - "0-44"

  filler:
    # Decorative filler item for the bottom control row.
    Material: BLACK_STAINED_GLASS_PANE
    Action: decoration
    Slots:
      - "45-53"
    Name: " "

  pickup:
    # Personal storage block pickup button.
    # Only visible to the player who placed the personal storage block.
    Material: BARRIER
    Action: storage-pickup
    Slot: 45
    Name: "&cᴘɪᴄᴋ ᴜᴘ ꜱᴛᴏʀᴀɢᴇ ʙʟᴏᴄᴋ"
    Lore:
      - "&7Returns this storage block item."

  previous_page:
    # Optional previous-page button.
    Material: ARROW
    Action: page-prev
    Slot: 48
    Name: "&c← ᴘʀᴇᴠɪᴏᴜꜱ ᴘᴀɢᴇ"

  sorting:
    # Cycles the viewer's personal sorting mode.
    # Placeholders: {mode}, {next-mode}
    Material: HOPPER
    Action: sort
    Slot: 49
    Name: "&7ꜱᴏʀᴛɪɴɢ: &a{mode}"
    Lore:
      - "&7Click to switch sorting mode"
      - "&7Next: &f{next-mode}"

  next_page:
    # Optional next-page button.
    Material: ARROW
    Action: page-next
    Slot: 50
    Name: "&aɴᴇxᴛ ᴘᴀɢᴇ →"
    Lore:
      - "&7Next Page"

  members:
    # Opens the member management menu.
    # Only visible to the player who placed the personal storage block.
    Material: PLAYER_HEAD
    Action: storage-members
    HeadOwner: "{player}"
    Slot: 53
    Name: "&aꜱᴛᴏʀᴀɢᴇ ᴍᴇᴍʙᴇʀꜱ"
    Lore:
      - "&7Manage who can open this block."