Guest User

Untitled

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