Advertisement
Guest User

Untitled

a guest
May 9th, 2016
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.23 KB | None | 0 0
  1. database:
  2.  #Database backend type, can be set to mysql or sqlite
  3.   type: sqlite
  4.   #MySQL database host
  5.   mySQLHost: localhost
  6.   #MySQL connection port number
  7.   mySQLPort: 3306
  8.   #MySQL database name
  9.   mySQLDatabase: db
  10.   #MySQL database user
  11.   mySQLUser: root
  12.   #MySQL user's password
  13.   mySQLPassword: ""
  14.   #MySQL table names
  15.   tableNames:
  16.     players: "players"
  17.  
  18. #Name of the main GUI
  19. shopMenuName: "&3&lShop menu"
  20. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  21. shopMenuSize: 9
  22. #Define whether selling all with middle mouse button is enabled
  23. enableSellAll: true
  24. #Define whether the buy GUI with option to select quantity is enabled
  25. enableBuyGUI: true
  26. #Define whether the sell GUI with option to select quantity is enabled
  27. enableSellGUI: true
  28. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  29. enableSellGUISellAll: true
  30. #Define whether after closing/buying/selling the shop GUI should be opened again
  31. returnToShop: true
  32. #Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  33. quickBuySell: false
  34. #Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  35. hideBuyPriceForUnbuyable: true
  36. #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  37. hideSellPriceForUnsellable: true
  38. #Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  39. invertBuySell: false
  40. #Maximum amount of enchantments players can add to an item, set to -1 for no limit
  41. maxEnchantments: 3
  42. #Choose whether players should be able to buy enchantments only 1 level higher than current (eg. player has sword with Sharpness 1, they could buy only Sharpness 2)
  43. limitEnchantmentLevelDiff: false
  44. #Define whether the amount selection double click bug fix should be enabled
  45. enableAmountSelectionFix: true
  46. #Define whether players should be able to use sell all option to sell all their items (allowAllSellAllStackSizes = true) or only amount multiplied by the original stack size of the shop item (allowAllSellAllStackSizes = false)
  47. allowAllSellAllStackSizes: false
  48. #Define whether all prices should be rounded up, down, to the nearest whole number or not rounded (valid values are UP, DOWN, NEAREST and NONE)
  49. roundPrices: none
  50. #Define whether main menu (/shop command) should be disabled. The only way to access shops will be to use /shop <id> when you disable it.
  51. disableMainMenu: false
  52. #Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  53. useDifferentMessagesForFreeItems: true
  54. #Choose which items stack size should be capped at 16 inside the amount selection GUI so players can't buy eg. oversized ender pearl stacks
  55. #Format is same as for regular items in shops.yml
  56. itemStackSizeCappedAt:
  57.   1:
  58.     material: ENDER_PEARL
  59.     size: 16
  60.   2:
  61.     material: SNOW_BALL
  62.     size: 16
  63.   3:
  64.     material: SIGN
  65.     size: 16
  66.   4:
  67.     material: EGG
  68.     size: 16
  69.   5:
  70.     material: BUCKET
  71.     size: 1
  72. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  73. disableShopsInGamemodes:
  74.  - ADVENTURE
  75.   - CREATIVE
  76.   - SPECTATOR
  77. #Choose whether price modifiers should be displayed in percents instead of decimals (eg. 10% instead of 0.10), remember you will still have to use the decimal way in commands
  78. displayPriceModifiersInPercents: true
  79.  
  80. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  81. shopItemLoreFormat:
  82.  #This lore will be applied to items
  83.   item:
  84.     - "&7Buy price: &c%buy%$"
  85.     - "&7Sell price: &a%sell%$"
  86.     - "&9Click with MMB to sell all"
  87.   #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  88.   itemBuyGUI:
  89.     - "&7Buy price: &c%buy%$"  
  90.   #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  91.   itemSellGUI:
  92.     - "&7Sell price: &a%sell%$"
  93.   #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  94.   itemSellGUISellAll:
  95.     - "&7Sell all for: &a%sell%$"
  96.   #This one to permissions
  97.   permission:
  98.     - "&7Buy price: &c%buy%$"
  99.   #And this one to enchantments
  100.   enchantment:
  101.     - "&7Buy price: &c%buy%$"
  102.   #And the last one to commands
  103.   command:
  104.     - "&7Buy price: &c%buy%$"
  105.  
  106. #Logging settings
  107. log:
  108.  #Define whether transactions will be logged to the console/main server log
  109.   toConsole: true
  110.   #Define whether transactions will be logged to a separate log
  111.   toFile: false
  112.   #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  113.   formatDate: "yyyy/MM/dd HH:mm:ss"
  114.   #Log message for bought items
  115.   formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  116.   #Log message for sold items
  117.   formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  118.   #Log message for sold all items
  119.   formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  120.  
  121. buttons:
  122.  #"Go back button"
  123.   goBack:
  124.     item:
  125.      #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  126.       material: NETHER_STAR
  127.       #Amount of the item
  128.       amount: 1
  129.       #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  130.       damage: 0
  131.       #(optional) Custom name
  132.       name: "&cBack to categories"
  133.       #(optional) Lore, can contain multiple lines
  134.       lore:
  135.         - "&aClick here to return to the main menu"
  136.     #Slot in each shop's GUI
  137.     slot: 49
  138.   #"Previous page" button
  139.   previousPage:
  140.     item:
  141.       material: PAPER
  142.       quantity: 1
  143.       name: "&e&lPrevious page"
  144.     slot: 45
  145.   #"Next page" button
  146.   nextPage:
  147.     item:
  148.       material: PAPER
  149.       quantity: 1
  150.       name: "&e&lNext page"
  151.     slot: 53
  152.  
  153. #Elements of the buy/sell GUI
  154. amountSelectionGUI:
  155.  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  156.   size: 54
  157.   #Slot of the item being bought/sold
  158.   itemSlot: 22
  159.   #Buttons
  160.   buttons:
  161.    #"Set to 1" button
  162.     set1:
  163.       item:
  164.         material: STAINED_GLASS_PANE
  165.         quantity: 1
  166.         damage: 14
  167.         name: "&c&lSet to 1"
  168.       slot: 18
  169.     #"Remove 10" button
  170.     remove10:
  171.       item:
  172.         material: STAINED_GLASS_PANE
  173.         quantity: 10
  174.         damage: 14
  175.         name: "&c&lRemove 10"
  176.       slot: 19
  177.     #"Remove 1" button
  178.     remove1:
  179.       item:
  180.         material: STAINED_GLASS_PANE
  181.         quantity: 1
  182.         damage: 14
  183.         name: "&c&lRemove 1"
  184.       slot: 20
  185.     #"Add 1" button
  186.     add1:
  187.       item:
  188.         material: STAINED_GLASS_PANE
  189.         quantity: 1
  190.         damage: 5
  191.         name: "&a&lAdd 1"
  192.       slot: 24
  193.     #"Add 10" button
  194.     add10:
  195.       item:
  196.         material: STAINED_GLASS_PANE
  197.         quantity: 10
  198.         damage: 5
  199.         name: "&a&lAdd 10"
  200.       slot: 25
  201.     #"Set to 16" button
  202.     set16:
  203.       item:
  204.         material: STAINED_GLASS_PANE
  205.         quantity: 16
  206.         damage: 5
  207.         name: "&a&lSet to 16"
  208.       slot: 26
  209.     #"Set to 64" button
  210.     set64:
  211.       item:
  212.         material: STAINED_GLASS_PANE
  213.         quantity: 64
  214.         damage: 5
  215.         name: "&a&lSet to 64"
  216.       slot: 26
  217.     #"Confirm" button
  218.     confirm:
  219.       item:
  220.         material: STAINED_GLASS
  221.         quantity: 1
  222.         damage: 5
  223.         name: "&a&lConfirm"  
  224.       slot: 39
  225.     #"Sell all" button
  226.     sellAll:
  227.       item:
  228.         material: STAINED_GLASS
  229.         quantity: 1
  230.         damage: 5
  231.         name: "&a&lSell all"      
  232.       slot: 40
  233.     #"Cancel" button      
  234.     cancel:
  235.       item:
  236.         material: STAINED_GLASS
  237.         quantity: 1
  238.         damage: 14
  239.         name: "&c&lCancel"  
  240.       slot: 41
  241.      
  242. shopMenuItems:
  243.  #Has to be unique, value doesn't matter
  244.   1:
  245.     item:
  246.      #The same rules apply for material, amount, damage and lore as for goBackButton
  247.       material: GRASS
  248.       quantity: 1
  249.       name: "&9&lBlocks"
  250.     #Shop ID from shops.yml
  251.     shop: "blocks"
  252.     #Slot in shops menu, counting from 0 to 53
  253.     slot: 0
  254.   2:
  255.     item:
  256.       material: COOKED_CHICKEN
  257.       quantity: 1
  258.       damage: 0
  259.       name: "&2&lFood"
  260.       lore:
  261.        - "&7Get some yummy food here!"
  262.     shop: "food"
  263.     slot: 1
  264.   3:
  265.     item:
  266.       material: GOLD_INGOT
  267.       quantity: 1
  268.       damage: 0
  269.       name: "&3&lOres"
  270.     shop: "ores"
  271.     slot: 2
  272.   4:
  273.     item:
  274.       material: IRON_PICKAXE
  275.       quantity: 1
  276.       name: "&8&lTools"
  277.     shop: "tools"
  278.     slot: 3
  279.   5:
  280.     item:
  281.       material: DIAMOND_CHESTPLATE
  282.       quantity: 1
  283.       name: "&4&lArmor"
  284.     shop: "armor"
  285.     slot: 4
  286.   6:
  287.     item:
  288.       material: WHEAT
  289.       quantity: 1
  290.       name: "&5&lFarming"
  291.     shop: "farming"
  292.     slot: 5
  293.   7:
  294.     item:
  295.       material: SPIDER_EYE
  296.       quantity: 1
  297.       name: "&9&lMob drops"
  298.     shop: "drops"
  299.     slot: 6
  300.   8:
  301.     item:
  302.       material: INK_SACK
  303.       quantity: 1
  304.       damage: 12
  305.       name: "&2&lDyes"
  306.     shop: "dyes"
  307.     slot: 7
  308.   9:
  309.     item:
  310.       material: SADDLE
  311.       quantity: 1
  312.       name: "&3&lMiscellanous"
  313.     shop: "miscellanous"
  314.     slot: 8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement