Advertisement
Guest User

Untitled

a guest
May 8th, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.63 KB | None | 0 0
  1. #Name of the main GUI
  2. shopMenuName: "&3&lShop menu"
  3. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  4. shopMenuSize: 9
  5. #Define whether selling all with middle mouse button is enabled
  6. enableSellAll: true
  7. #Define whether the buy GUI with option to select quantity is enabled
  8. enableBuyGUI: true
  9. #Define whether the sell GUI with option to select quantity is enabled
  10. enableSellGUI: true
  11. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  12. enableSellGUISellAll: true
  13. #Define whether after closing/buying/selling the shop GUI should be opened again
  14. returnToShop: true
  15. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  16. shopItemLoreFormat:
  17.  #This lore will be applied to items
  18.   item:
  19.     - "&7Buy price: &c%buy%$"
  20.     - "&7Sell price: &a%sell%$"
  21.     - "&9Click with MMB to sell all"
  22.   #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  23.   itemBuyGUI:
  24.     - "&7Buy price: &c%buy%$"  
  25.   #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  26.   itemSellGUI:
  27.     - "&7Sell price: &a%sell%$"
  28.   #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  29.   itemSellGUISellAll:
  30.     - "&7Sell all for: &a%sell%$"
  31.   #This one to permissions
  32.   permission:
  33.     - "&7Buy price: &c%buy%$"
  34.   #And this one to enchantments
  35.   enchantment:
  36.     - "&7Buy price: &c%buy%$"
  37.   #And the last one to commands
  38.   command:
  39.     - "&7Buy price: &c%buy%$"
  40.  
  41. #Define whether go back button is enabled in shops
  42. goBackButton:
  43.   enable: true
  44.   item:
  45.    #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  46.     material: NETHER_STAR
  47.     #Amount of the item
  48.     amount: 1
  49.     #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  50.     damage: 0
  51.     #(optional) Custom name
  52.     name: "&cBack to categories"
  53.     #(optional) Lore, can contain multiple lines
  54.     lore:
  55.       - "&aClick here to return to the main menu"
  56.   #Slot in each shop's GUI
  57.   slot: 49
  58.  
  59. #Elements of the buy/sell GUI
  60. amountSelectionGUIItems:
  61.  #"Remove 1" button
  62.   remove1:
  63.       material: STAINED_GLASS_PANE
  64.       quantity: 1
  65.       damage: 14
  66.       name: "&c&lRemove 1"
  67.   #"Remove 10" button
  68.   remove10:
  69.       material: STAINED_GLASS_PANE
  70.       quantity: 10
  71.       damage: 14
  72.       name: "&c&lRemove 10"
  73.   #"Add 1" button
  74.   add1:
  75.       material: STAINED_GLASS_PANE
  76.       quantity: 1
  77.       damage: 5
  78.       name: "&a&lAdd 1"
  79.   #"Add 10" button
  80.   add10:
  81.       material: STAINED_GLASS_PANE
  82.       quantity: 10
  83.       damage: 5
  84.       name: "&a&lAdd 10"
  85.   #"Confirm" button
  86.   confirm:
  87.       material: STAINED_GLASS
  88.       quantity: 1
  89.       damage: 5
  90.       name: "&a&lConfirm"  
  91.   #"Cancel" button      
  92.   cancel:
  93.       material: STAINED_GLASS
  94.       quantity: 1
  95.       damage: 14
  96.       name: "&c&lCancel"      
  97.   #"Sell all" button
  98.   sellAll:
  99.       material: STAINED_GLASS
  100.       quantity: 1
  101.       damage: 5
  102.       name: "&a&lSell all"      
  103.      
  104. shopMenuItems:
  105.  #Has to be unique, value doesn't matter
  106.   1:
  107.     item:
  108.      #The same rules apply for material, amount, damage and lore as for goBackButton
  109.       material: CAKE
  110.       amount: 1
  111.       damage: 0
  112.       name: "&aFood"
  113.       lore:
  114.        - "&7Get some yummy food here!"
  115.     #Shop ID from shops.yml
  116.     shop: "food"
  117.     #Slot in shops menu, counting from 0 to 53
  118.     slot: 0
  119.   2:
  120.     item:
  121.       material: DIAMOND_PICKAXE
  122.       amount: 1
  123.       damage: 0
  124.       name: "&2Mining"
  125.       lore:
  126.        - "&7Get your mining gear here!"
  127.       enchantments:
  128.        - DIG_SPEED:1
  129.         - DURABILITY:2
  130.     shop: "mining"
  131.     slot: 1
  132.   3:
  133.     item:
  134.       material: IRON_HOE
  135.       amount: 1
  136.       damage: 0
  137.       name: "&eFarming"
  138.       lore:
  139.        - "&7Grow your crops easily with these seeds!"
  140.         - "&7Sale!"
  141.     shop: "farming"
  142.     slot: 2
  143.   4:
  144.     item:
  145.       material: WOOL
  146.       amount: 64
  147.       damage: 4
  148.       name: "&bWool Shop"
  149.     shop: "wool"
  150.     slot: 3
  151.   5:
  152.     item:
  153.       material: REDSTONE
  154.       amount: 1
  155.       name: "&3Permissions"
  156.     shop: "permissions"
  157.     slot: 4
  158.   6:
  159.     item:
  160.       material: DIAMOND_SWORD
  161.       enchantments:
  162.        - KNOCKBACK:1
  163.       amount: 1
  164.       name: "&6Enchantments"
  165.     shop: "enchantments"
  166.     slot: 5
  167.   7:
  168.     item:
  169.       material: DIAMOND_BLOCK
  170.       amount: 1
  171.       name: "&7Commands"
  172.     shop: "commands"
  173.     slot: 6
  174.   8:
  175.     item:
  176.       material: FIREWORK
  177.       amount: 1
  178.       name: "&cFireworks"
  179.     shop: "fireworks"
  180.     slot: 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement