Advertisement
Guest User

Untitled

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