Setting Items

In this page, you can get help for items.yml file.

Item Configurating

# If you want to use custom skull skin in items, you need to make like this:
# material: SKULL_ITEM (or PLAYER_HEAD in 1.13+)
# data: 3 (If 1.13+ write 0)
# skull: hdb-100 (For HeadDatabase)
# skull: skin value (For custom skull skin)
items: # Item Setting in items.yml
  COBBLESTONE: # Item's name for groups or buy & sell command.
    material: COBBLESTONE # Item's material. [REQUIRED]
    group: COBBLESTONE_PRODUCTS # Item's group for groups menu. (OPTIONAL)
    category: mining # Item's category for main menu. [REQUIRED]
    data: 0 # Material data for items like glass or clay. (OPTIONAL)
    prices: # Default buy & sell prices [REQUIRED]
      buy: 2.0
      sell: 1.0
    max_prices: # Maximum buy & sell prices for item. Item can't pass this prices. (OPTIONAL)
      buy: 200.0
      sell: 100.0
    name: 'Cobblestone' # Item's name [REQUIRED]
    color: '&f' # Color for item name, example item name etc. (OPTIONAL)
    durability: 100 # For items like pickaxe, sword. (OPTIONAL)
    placeable: true # If it's false, you can't place this block to ground. (OPTIONAL)
    lore: # Item's lore (OPTIONAL)
      - '&f&lCOMMON'
    enchants: # Item's enchants (OPTIONAL)
      - DURABILITY:10 # ENCHANT:LEVEL
    flags: # Item's flags (OPTIONAL)
      - HIDE_ENCHANTS # Will hide enchant names in lore.
    tags: # You can add NBT tags for item. (OPTIONAL)
      - ItemType:Special # Tag:String
    normal: true # If it's true, you will get normal item without lore, name, enchants etc. (OPTIONAL)
    stock: true # If it's true, you can only buy or sell maximum by total orders' count. (OPTIONAL)
    # You can add item or click commands too. (OPTIONAL)
    # Usage: "type:command" (Types: console, player)
    # Placeholders: %player%, %uuid%
    item_commands:
      buy: # Commands when you buy item.
        - "console:say %player% you bought item!"
      sell: # Commands when you sell item.
        - "console:say %player% you sold item!"
    click_commands:
      left: # Commands when you left click to item.
        - "console:say %player% you left click to item!"
      right: # Commands when you right click to item.
        - "console:say %player% you right click to item!"
    model: 192031 # Custom model data for 1.14+. (OPTIONAL)
    disableNBT: true # You can disable BazaarITEM nbt. (OPTIONAL)
    disableNAME: true # You can disable item's display name so it can be default Minecraft item name. (OPTIONAL)

Category Configurating

Group Configurating

Item Name Detection Configuration

Last updated

Was this helpful?