Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Variables (use anywhere):
- #
- # %trading-material% - Bukkit material name of the trading item (e.g. DIAMOND_SWORD)
- # %trading-data% - Numerical data value of the trading item (e.g. 0)
- # %trading-friendlyname% - EITHER the Bukkit material name in a camel case format (e.g. Diamond Sword) OR for custom items the display name of an item (e.g. &bPowerful Sword)
- # %trading-friendlytype% - The bukkit material name in a camel case format (e.g. Diamond Sword)
- # %amount% - The amount of items being traded (e.g. 16)
- # %price% - The trade price for the the amount of the item being traded (e.g. $1,000)
- # %price-singular% - The trade price for 1x the item being traded (e.g. $10)
- # %price-singular-buy% - The trade price for 1x the item being PURCHASED (e.g. $10) (For use in dummy items when %price-singular% returns 0)
- # %price-singular-sell% - The trade price for 1x the item being SOLD (e.g. $10) (For use in dummy items when %price-singular% returns 0)
- #
- # GUI Item Layout:
- # If a <DEFAULT: ...> tag is shown, then if the option isn't specified the plugin will use the value in the default tag
- #
- # <unique identifier>: -> A unique identifier for the item, can be anything. <REQUIRED>
- # type: -> The material of the item in the GUI. (Case insensitive, can use spaces instead of _) <DEFAULT: STONE>
- # data: -> The data of the item in the GUI. <DEFAULT: 0>
- # name: '&cClick to purchase' -> The display name of the item in the GUI. <DEFAULT: NONE>
- # stackamount: 1 -> The size of the stack in the GUI. <DEFAULT: 1>
- # tradeamount: 1 -> The size of the stack being traded with the player. <DEFAULT: STACK SIZE>
- # action: buy -> What the item will do when clicked. Buy, Sell, Buy All, Sell All or Dummy. (Dummy means it'll do nothing) (Case insensitive) <REQUIRED>
- # slot: 0 -> The slot to place this item in <REQUIRED>
- # lore: -> What the lore of the item will be <DEFAULT: NONE>
- # - ''
- # - '&7My very fancy lore.'
- # - '&eOoh! Multiple lines!'
- # - ''
- # glow: false -> Should we make the item glow without adding any enchantments? <DEFAULT: FALSE>
- # enchants: -> Should the item have any enchantments? <DEFAULT: NONE>
- # - dig speed
- # flags: -> Should the item have any item flags? <DEFAULT: NONE>
- # - hide enchants
- #
- both:
- rows: 6
- title: '&5&lStore'
- middleitem:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&bTrading %trading-friendlyname%'
- action: dummy
- slot: 13
- lore:
- - ''
- - '&7&o(Buy 1 for $%price-singular-buy%/ea)'
- - '&7&o(Sell 1 for $%price-singular-sell%/ea)'
- - ''
- glow: true
- buyinventory:
- type: chest
- name: '&bFill your inventory with &e%trading-friendlyname%'
- action: buy all
- slot: 19
- lore:
- - ''
- - '&7This will fill your empty slots and unfilled stacks'
- - '&7with &e%trading-friendlyname%&7.'
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy1item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- action: buy
- slot: 27
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy2item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 2 # no need to specify trade amount, as when left blank it copies the stack amount
- action: buy
- slot: 28
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy4item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 4
- action: buy
- slot: 29
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy8item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 8
- action: buy
- slot: 36
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy10item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 10
- action: buy
- slot: 37
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy16item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 16
- action: buy
- slot: 38
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy32item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 32
- action: buy
- slot: 45
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy48item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 48
- action: buy
- slot: 46
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy64item:
- type: lime stained glass pane
- name: '&a&lPurchase %trading-friendlyname%'
- stackamount: 64
- action: buy
- slot: 47
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sellinventory:
- type: chest
- name: '&bSell all of your &e%trading-friendlyname%'
- action: sell all
- slot: 25
- lore:
- - ''
- - '&7This will sell all of your &e%trading-friendlyname%'
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell1item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- action: sell
- slot: 33
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell2item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 2
- action: sell
- slot: 34
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell4item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 4
- action: sell
- slot: 35
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell8item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 8
- action: sell
- slot: 42
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell10item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 10
- action: sell
- slot: 43
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell16item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 16
- action: sell
- slot: 44
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell32item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 32
- action: sell
- slot: 51
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell48item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 48
- action: sell
- slot: 52
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell64item:
- type: lime stained glass pane
- name: '&a&lSell %trading-friendlyname%'
- stackamount: 64
- action: sell
- slot: 53
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy:
- rows: 6
- title: '&5&lStore'
- infoitem:
- type: dragon egg
- name: '&cTrading %trading-friendlyname%'
- action: buy all
- slot: 13
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- glow: true
- buy1item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- action: buy
- slot: 28
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy2item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 2
- action: buy
- slot: 29
- lore:
- - ''
- - '&aBuy &e%amount% &afor &b$%price%&a.'
- - ''
- buy3item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 3
- action: buy
- slot: 30
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy4item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 4
- action: buy
- slot: 31
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy5item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 5
- action: buy
- slot: 32
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy6item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 6
- action: buy
- slot: 33
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy7item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 7
- action: buy
- slot: 34
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy8item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 8
- action: buy
- slot: 37
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy9item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 9
- action: buy
- slot: 38
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy10item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 10
- action: buy
- slot: 39
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy16item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 16
- action: buy
- slot: 40
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy32item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 32
- action: buy
- slot: 41
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy48item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 48
- action: buy
- slot: 42
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- buy64item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to purchase'
- stackamount: 64
- action: buy
- slot: 43
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell:
- rows: 6
- title: '&5&lStore'
- infoitem:
- type: dragon egg
- name: '&cTrading %trading-friendlyname%'
- action: sell all
- slot: 13
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- glow: true
- sell1item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- action: sell
- slot: 28
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell2item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 2
- action: sell
- slot: 29
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell3item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 3
- action: sell
- slot: 30
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell4item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 4
- action: sell
- slot: 31
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell5item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 5
- action: sell
- slot: 32
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell6item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 6
- action: sell
- slot: 33
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell7item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 7
- action: sell
- slot: 34
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell8item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 8
- action: sell
- slot: 37
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell9item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 9
- action: sell
- slot: 38
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell10item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 10
- action: sell
- slot: 39
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell16item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 16
- action: sell
- slot: 40
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell32item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 32
- action: sell
- slot: 41
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell48item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 48
- action: sell
- slot: 42
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
- sell64item:
- type: '%trading-material%'
- data: '%trading-data%'
- name: '&cClick to sell'
- stackamount: 64
- action: sell
- slot: 43
- lore:
- - ''
- - '&eAmount: &f%amount%'
- - '&ePrice: &a$%price%'
- - '&7&o(%amount% @ $%price-singular%/ea)'
- - ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement