Guest User

Untitled

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