Advertisement
Guest User

Untitled

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