Advertisement
Guest User

Untitled

a guest
Jun 9th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.93 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. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  75. disableShopsInWorlds: []
  76.  
  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. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  81. disableSudoWorldPermissionCheck: false
  82.  
  83. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  84. disableSudoShopPermissionCheck: false
  85.  
  86. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  87. shopItemLoreFormat:
  88. #This lore will be applied to items
  89. item:
  90. - "&7Buy price: &c%buy%$"
  91. - "&7Sell price: &a%sell%$"
  92. - "&9Click with MMB to sell all"
  93. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  94. itemBuyGUI:
  95. - "&7Buy price: &c%buy%$"
  96. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  97. itemSellGUI:
  98. - "&7Sell price: &a%sell%$"
  99. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  100. itemSellGUISellAll:
  101. - "&7Sell all for: &a%sell%$"
  102. #This one to permissions
  103. permission:
  104. - "&7Buy price: &c%buy%$"
  105. #And this one to enchantments
  106. enchantment:
  107. - "&7Buy price: &c%buy%$"
  108. #And the last one to commands
  109. command:
  110. - "&7Buy price: &c%buy%$"
  111.  
  112. #Logging settings
  113. log:
  114. #Define whether transactions will be logged to the console/main server log
  115. toConsole: false
  116. #Define whether transactions will be logged to a separate log
  117. toFile: false
  118. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  119. formatDate: "yyyy/MM/dd HH:mm:ss"
  120. #Log message for bought items
  121. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  122. #Log message for sold items
  123. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  124. #Log message for sold all items
  125. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  126.  
  127. buttons:
  128. #"Go back button"
  129. goBack:
  130. item:
  131. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  132. material: NETHER_STAR
  133. #Amount of the item
  134. amount: 1
  135. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  136. damage: 0
  137. #(optional) Custom name
  138. name: "&cBack to categories"
  139. #(optional) Lore, can contain multiple lines
  140. lore:
  141. - "&aClick here to return to the main menu"
  142. #Slot in each shop's GUI
  143. slot: 49
  144. #"Previous page" button
  145. previousPage:
  146. item:
  147. material: PAPER
  148. quantity: 1
  149. name: "&e&lPrevious page"
  150. slot: 45
  151. #"Next page" button
  152. nextPage:
  153. item:
  154. material: PAPER
  155. quantity: 1
  156. name: "&e&lNext page"
  157. slot: 53
  158.  
  159. #Elements of the buy/sell GUI
  160. amountSelectionGUI:
  161. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  162. size: 54
  163. #Slot of the item being bought/sold
  164. itemSlot: 22
  165. #Buttons
  166. buttons:
  167. #"Set to 1" button
  168. set1:
  169. item:
  170. material: STAINED_GLASS_PANE
  171. quantity: 1
  172. damage: 14
  173. name: "&c&lSet to 1"
  174. slot: 18
  175. #"Remove 10" button
  176. remove10:
  177. item:
  178. material: STAINED_GLASS_PANE
  179. quantity: 10
  180. damage: 14
  181. name: "&c&lRemove 10"
  182. slot: 19
  183. #"Remove 1" button
  184. remove1:
  185. item:
  186. material: STAINED_GLASS_PANE
  187. quantity: 1
  188. damage: 14
  189. name: "&c&lRemove 1"
  190. slot: 20
  191. #"Add 1" button
  192. add1:
  193. item:
  194. material: STAINED_GLASS_PANE
  195. quantity: 1
  196. damage: 5
  197. name: "&a&lAdd 1"
  198. slot: 24
  199. #"Add 10" button
  200. add10:
  201. item:
  202. material: STAINED_GLASS_PANE
  203. quantity: 10
  204. damage: 5
  205. name: "&a&lAdd 10"
  206. slot: 25
  207. #"Set to 16" button
  208. set16:
  209. item:
  210. material: STAINED_GLASS_PANE
  211. quantity: 16
  212. damage: 5
  213. name: "&a&lSet to 16"
  214. slot: 26
  215. #"Set to 64" button
  216. set64:
  217. item:
  218. material: STAINED_GLASS_PANE
  219. quantity: 64
  220. damage: 5
  221. name: "&a&lSet to 64"
  222. slot: 26
  223. #"Confirm" button
  224. confirm:
  225. item:
  226. material: STAINED_GLASS
  227. quantity: 1
  228. damage: 5
  229. name: "&a&lConfirm"
  230. slot: 39
  231. #"Sell all" button
  232. sellAll:
  233. item:
  234. material: STAINED_GLASS
  235. quantity: 1
  236. damage: 5
  237. name: "&a&lSell all"
  238. slot: 40
  239. #"Cancel" button
  240. cancel:
  241. item:
  242. material: STAINED_GLASS
  243. quantity: 1
  244. damage: 14
  245. name: "&c&lCancel"
  246. slot: 41
  247.  
  248. shopMenuItems:
  249. #Has to be unique, value doesn't matter
  250. 1:
  251. item:
  252. #The same rules apply for material, amount, damage and lore as for goBackButton
  253. material: CAKE
  254. quantity: 0
  255. name: "&9&lFood"
  256. #Shop ID from shops.yml
  257. shop: "food"
  258. #Slot in shops menu, counting from 0 to 53
  259. slot: 0
  260. 2:
  261. item:
  262. material: 278
  263. quantity: 1
  264. damage: 0
  265. name: "&2&lTools"
  266. lore:
  267. - "&7Get some cool tools here!"
  268. shop: "Tools"
  269. slot: 1
  270. 3:
  271. item:
  272. material: 327
  273. quantity: 1
  274. damage: 0
  275. name: "&3&lMiscellaneous"
  276. shop: "Miscellaneous"
  277. slot: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement