πŸ›οΈShop Files

Detailed reference for shop YAML file structure.


File Location

Shop files are stored in: plugins/InfiniteShops/shops/

Each .yml file in this folder defines a shop category.


Shop File Structure

# Root-level settings
name: '&6&lShop Name'           # Display title in GUI
size: 54                         # Inventory size (9, 18, 27, 36, 45, 54)
category_display_item: DIAMOND   # Icon in main menu
lore:                            # Description shown in main menu
  - ''
  - '&a➼ &fClick to open this shop'
  - ''
permission: 'shop.category.name' # Optional permission requirement

# Items section
items:
  item_key:
    # Item configuration here

Item Types

ITEM - Buyable/Sellable Items

BUTTON - Navigation Elements

FILLER - Decorative Items

COMMAND - Execute Commands

ENCHANT - Enchantment Books


Display Item Properties


Item Properties


Shop Section (Economy)

Economy Types

Type
Description

VAULT

Standard server economy

EXP

Experience points

ITEM

Item currency

CUSTOM

Custom currency

PLAYERPOINTS

PlayerPoints plugin

TOKENENCHANT

TokenEnchant tokens

OR

Either option

AND

Both required


Button Actions

Action
Description
Value

OPEN_MENU

Open another shop

Shop file name

PLAYER_COMMAND

Run as player

Command string

CONSOLE_COMMAND

Run as console

Command string

CLOSE

Close GUI

-

SEARCH

Open search

-


Slot Configuration

Single Slot

Multiple Slots (for fillers)


Enchantment Format


Complete Shop Example


Tips

  1. Unique item keys - Each item needs a unique key (add numbers: sword1, sword2)

  2. Always set show: true - Items won't appear without this

  3. Use itemType - Required for all items

  4. camelCase for prices - buyPrice not buy_price

  5. Wrap prices in shop: - Economy settings go in the shop section

  6. Test changes - Use /ishop reload after editing

Last updated