Advertisement
Guest User

Untitled

a guest
Mar 13th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.48 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: "&cShop Menu"
  20. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  21. shopMenuSize: 18
  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: false
  36. #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  37. hideSellPriceForUnsellable: false
  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: 64
  72. 6:
  73. material: WATER_BUCKET
  74. size: 64
  75. 7:
  76. material: LAVA_BUCKET
  77. size: 64
  78. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  79. disableShopsInGamemodes:
  80. - ADVENTURE
  81. - CREATIVE
  82. - SPECTATOR
  83. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  84. disableShopsInWorlds: []
  85.  
  86. #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
  87. displayPriceModifiersInPercents: true
  88.  
  89. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  90. disableSudoWorldPermissionCheck: false
  91.  
  92. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  93. disableSudoShopPermissionCheck: false
  94.  
  95. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  96. shopItemLoreFormat:
  97. #This lore will be applied to items
  98. item:
  99. - "&7Buy price: &e$%buy%"
  100. - "&7Sell price: &e$%sell%"
  101. - ""
  102. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  103. itemBuyGUI:
  104. - "&7Buy price: &e$%buy%"
  105. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  106. itemSellGUI:
  107. - "&7Sell price: &e$%sell%"
  108. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  109. itemSellGUISellAll:
  110. - "&7Sell all for: &e$%sell%"
  111. #This one to permissions
  112. permission:
  113. - "&7Buy price: &e$%buy%"
  114. #And this one to enchantments
  115. enchantment:
  116. - "&7Buy price: &e$%buy%"
  117. #And the last one to commands
  118. command:
  119. - "&7Buy price: &e$%buy%"
  120.  
  121. #Logging settings
  122. log:
  123. #Define whether transactions will be logged to the console/main server log
  124. toConsole: true
  125. #Define whether transactions will be logged to a separate log
  126. toFile: false
  127. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  128. formatDate: "yyyy/MM/dd HH:mm:ss"
  129. #Log message for bought items
  130. formatBuy: "%player% bought %amount% x %item% for $%price% from %shop% shop"
  131. #Log message for sold items
  132. formatSell: "%player% sold %amount% x %item% for $%price% to %shop% shop"
  133. #Log message for sold all items
  134. formatSellAll: "%player% sold all %amount% x %item% for $%price% to %shop% shop"
  135.  
  136. buttons:
  137. #"Go back button"
  138. goBack:
  139. item:
  140. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  141. material: NETHER_STAR
  142. #Amount of the item
  143. amount: 1
  144. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  145. damage: 0
  146. #(optional) Custom name
  147. name: "&cBack to categories"
  148. #(optional) Lore, can contain multiple lines
  149. lore:
  150. - "&aClick here to return to the main menu"
  151. #Slot in each shop's GUI
  152. slot: 49
  153. #"Previous page" button
  154. previousPage:
  155. item:
  156. material: PAPER
  157. quantity: 1
  158. name: "&e&lPrevious page"
  159. slot: 45
  160. #"Next page" button
  161. nextPage:
  162. item:
  163. material: PAPER
  164. quantity: 1
  165. name: "&e&lNext page"
  166. slot: 53
  167.  
  168. #Elements of the buy/sell GUI
  169. amountSelectionGUI:
  170. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  171. size: 54
  172. #Slot of the item being bought/sold
  173. itemSlot: 22
  174. #Buttons
  175. buttons:
  176. #"Set to 1" button
  177. set1:
  178. item:
  179. material: STAINED_GLASS_PANE
  180. quantity: 1
  181. damage: 14
  182. name: "&c&lSet to 1"
  183. slot: 18
  184. #"Remove 10" button
  185. remove10:
  186. item:
  187. material: STAINED_GLASS_PANE
  188. quantity: 10
  189. damage: 14
  190. name: "&c&lRemove 10"
  191. slot: 19
  192. #"Remove 1" button
  193. remove1:
  194. item:
  195. material: STAINED_GLASS_PANE
  196. quantity: 1
  197. damage: 14
  198. name: "&c&lRemove 1"
  199. slot: 20
  200. #"Add 1" button
  201. add1:
  202. item:
  203. material: STAINED_GLASS_PANE
  204. quantity: 1
  205. damage: 5
  206. name: "&a&lAdd 1"
  207. slot: 24
  208. #"Add 10" button
  209. add10:
  210. item:
  211. material: STAINED_GLASS_PANE
  212. quantity: 10
  213. damage: 5
  214. name: "&a&lAdd 10"
  215. slot: 25
  216. #"Set to 16" button
  217. set16:
  218. item:
  219. material: STAINED_GLASS_PANE
  220. quantity: 16
  221. damage: 5
  222. name: "&a&lSet to 16"
  223. slot: 26
  224. #"Set to 64" button
  225. set64:
  226. item:
  227. material: STAINED_GLASS_PANE
  228. quantity: 64
  229. damage: 5
  230. name: "&a&lSet to 64"
  231. slot: 26
  232. #"Confirm" button
  233. confirm:
  234. item:
  235. material: STAINED_GLASS
  236. quantity: 1
  237. damage: 5
  238. name: "&a&lConfirm"
  239. slot: 39
  240. #"Sell all" button
  241. sellAll:
  242. item:
  243. material: STAINED_GLASS
  244. quantity: 1
  245. damage: 5
  246. name: "&a&lSell all"
  247. slot: 40
  248. #"Cancel" button
  249. cancel:
  250. item:
  251. material: STAINED_GLASS
  252. quantity: 1
  253. damage: 14
  254. name: "&c&lCancel"
  255. slot: 41
  256.  
  257. shopMenuItems:
  258. #Has to be unique, value doesn't matter
  259. 1:
  260. item:
  261. #The same rules apply for material, amount, damage and lore as for goBackButton
  262. material: TNT
  263. quantity: 1
  264. name: "&8[&a+&8] &7Raiding &8[&a+&8]"
  265. lore:
  266. - "&cRaiding someone, huh?"
  267. #Shop ID from shops.yml
  268. shop: "raiding"
  269. #Slot in shops menu, counting from 0 to 53
  270. slot: 0
  271. 2:
  272. item:
  273. material: DIAMOND
  274. quantity: 1
  275. damage: 0
  276. name: "&8[&a+&8] &7Minerals &8[&a+&8]"
  277. lore:
  278. - "&cMining is fun!"
  279. shop: "ores"
  280. slot: 1
  281. 3:
  282. item:
  283. material: PUMPKIN
  284. quantity: 1
  285. damage: 0
  286. name: "&8[&a+&8] &7Farming &8[&a+&8]"
  287. lore:
  288. - "&cFarming like a boss"
  289. shop: "farming"
  290. slot: 2
  291. 4:
  292. item:
  293. material: COOKED_BEEF
  294. quantity: 1
  295. name: "&8[&a+&8] &7Food &8[&a+&8]"
  296. lore:
  297. - "&cThis is the right place"
  298. shop: "food"
  299. slot: 3
  300. 5:
  301. item:
  302. material: BONE
  303. quantity: 1
  304. name: "&8[&a+&8] &7Drops &8[&a+&8]"
  305. lore:
  306. - "&cBones are fun to play with"
  307. shop: "drops"
  308. slot: 4
  309. 6:
  310. item:
  311. material: GRASS
  312. quantity: 1
  313. damage: 12
  314. name: "&8[&a+&8] &7Blocks &8[&a+&8]"
  315. lore:
  316. - "&cBuild me a house!"
  317. shop: "blocks"
  318. slot: 5
  319. 7:
  320. item:
  321. material: MOB_SPAWNER
  322. quantity: 1
  323. name: "&8[&a+&8] &7Spawners &8[&a+&8]"
  324. lore:
  325. - "&cFeeling rich?"
  326. shop: "spawners"
  327. slot: 6
  328. 8:
  329. item:
  330. material: POTION
  331. quantity: 1
  332. name: "&8[&a+&8] &7Potions &8[&a+&8]"
  333. lore:
  334. - "&cNeceasarry for battle!"
  335. shop: "potions"
  336. slot: 7
  337. 9:
  338. item:
  339. material: BEACON
  340. quantity: 1
  341. name: "&8[&a+&8] &7Misc &8[&a+&8]"
  342. lore:
  343. - "&cColors, a lot of them"
  344. shop: "misc"
  345. slot: 8
  346. 10:
  347. item:
  348. material: CLAY
  349. quantity: 1
  350. name: "&8[&a+&8] &7Design &8[&a+&8]"
  351. lore:
  352. - "&cDesign your base!"
  353. shop: "design"
  354. slot: 13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement