item Creation

This section is a complete guide explaining how to create and configure items in stores using the plugin.

πŸ›’ ShopMaster - Item Creation Guide

This guide explains how to create and configure items for your shops using the ShopMaster plugin. It includes detailed examples and advanced customization options for various item types.


πŸ“¦ Basic Item Structure

Each item is defined under a unique ID within a specific shop section.

<shopName>:
  items:
    1:  # Unique item ID
      item:
        material: DIAMOND_SWORD       # Minecraft material
        quantity: 1                   # Number of items
        name: "&bMagic Sword"         # Display name (supports color codes)
        lore:                         # Item description
          - "&7A powerful sword"
          - "&7that deals extra damage"
      page: 1                         # Shop GUI page number
      slot: 10                        # Inventory slot position
      economy: VAULT                 # Economy type (e.g., VAULT, TOKENS)
      buyPrice: 100                  # Buy price (-1 to disable)
      sellPrice: 50                  # Sell price (-1 to disable)

🎯 Slot Configuration

ShopMaster supports flexible slot placement:

Single Slot

Multiple Slots

Slot Range

Mixed Format


✨ Advanced Item Features

Enchantments

Item Flags


πŸ’° Buy/Sell Commands

Run commands when a player buys or sells an item:

Buy Commands

Sell Commands


πŸ§ͺ Special Item Configurations

Potions

Spawners

Banners

Firework Rockets

Colored Armor

Armor Trim

Tipped Arrows

Crossbows with Loaded Projectiles

Axolotl Buckets


πŸ™ˆ Hidden Items

You can create items that are only visible to players with specific permissions:


βš™οΈ Additional Options

Item Restrictions

You can restrict which items can be sold to the shop using the config.yml file.

Multiple Economies

ShopMaster supports various economy systems:

Type
Description

VAULT

Default money system

TOKENS

Integration with TokenManager

POINTS

Integration with PlayerPoints


🧩 Custom Item Support

ShopMaster is compatible with custom items from popular plugins such as:

  • MMOItems

  • ItemsAdder

  • Oraxen

  • ExecutableItems

  • BreweryX (for custom potions)


πŸ§ͺ Complete Example


πŸ” Reloading Changes

After editing your shop configuration files, reload the plugin with the following command:

Last updated