Skip to content
OllieJW edited this page Oct 27, 2021 · 3 revisions

GUIs are very customisable in OreMarket! Here are a few types of items you can use.

Template item:

0:                                -- Slot
  item: DIAMOND                   -- Material
  name: '&bDiamond Ore'           -- Item Name
  lore:                           -- Lore line(s)
    - '&aValue: $[value]'         -- l1
    - '&aOriginal: $[cost]'       -- l2
    - '&aStock: [stock]'          -- l3
    - '&aChange: [percent]%'      -- l4
    - '&7Right-Click to buy'      -- l5
    - '&7Left-Click to sell'      -- l6
  cost: 1000                      -- Original cost of ore
  value: 1000                     -- Current cost of ore
  stock: 100                      -- Amount in stock

Player head

1:                                -- Slot
  item: PLAYER_HEAD               -- Material
  head: 'Player_name'             -- Head name
  name: '&bHead'                  -- Item Name
  flags:
    copymeta: true                -- Required (Copies name and lore too)

Item flags

  flags:
    copymeta: true   -- Copy item meta (Required for heads)
    buyonly: true    -- Can only buy this item
    sellonly: true   -- Can only sell this item
    hide: true       -- Item is hidden from chat messages

Item commands

  commands:
    - '[close]'  -- Close GUI
    - '[msg]'    -- Send player a message
    - '/command' -- Send any command