Menu Customization

This guide explains how to customize your ShopMaster shop menus with categories, navigation buttons, and custom items.

🛠️ Shop Configuration

This guide explains how to set up categories, buttons, and integrate custom items within ShopMaster's shop system. You'll also learn how to use actions, slots, and custom behavior.


📑 Table of Contents

  • Shop Configuration Basics

  • Category Setup

  • Button System

    • Default Buttons

    • Category-Specific Customization

    • Button Properties

  • Items

    • Material Sources

    • Item Flags

  • Custom Items

  • Slots

  • Actions

    • Sub Actions


📘 Shop Configuration Basics

Each shop starts with a base structure like this:


🗂️ Category Setup

Categories are used to organize shops and are shown in the main menu.


🔘 Button System

You can create buttons for navigation and shop control.

🔄 Default Buttons (from layouts.yml)

🧩 Category-Specific Customization

You can override default buttons within any category:

If no custom buttons are defined, the defaults from layouts.yml will apply.


⚙️ Button Properties

Each button supports the following options:

  • enabled: Enable/disable the button

  • material: Item to use (e.g. ARROW, BOOK)

  • slot: Position in the inventory (0–53)

  • amount: Stack size

  • model_data: Resource pack model support

  • display_name: Custom name (with color codes)

  • glowing: Enchantment glow effect

  • item_flags: Hide item attributes

  • lore: Description lines


🎨 Items

This section lets you edit existing items, not add new ones. To add new items, use the custom-items section.

🎯 Material Sources

  • DIAMOND

  • basehead-<base64>

  • texture-<id> (from textures.minecraft.net/textures/...)

  • hdb-<ID> (HeadDatabase)

  • itemsadder-namespace:name

  • oraxen-oraxen_item_id

🏷️ Item Flags

Hide item data for cleaner looks:


🧱 Custom Items

Define new items using unique IDs:

You can define as many custom items as needed. Use the actions section to make them functional.


🧩 Slots

Control where items appear:


⚡ Actions

Actions add functionality to buttons and items. You can:

  • Run commands

  • Send messages, titles, or sounds

  • Close menus

  • Broadcast to all players

  • Delay actions

  • Use placeholders (e.g., %player_name% or {player})

📌 PlaceholderAPI is required for placeholders. Run:


🧪 Sub Actions

Use multiple actions with conditions:

The space between [chance=...] and [command] is required.


Let me know if quieres que esto se divida por páginas en GitBook como category-setup.md, buttons.md, custom-items.md, etc. para una navegación más organizada.

Last updated