Advertisement
Guest User

Untitled

a guest
Sep 16th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.53 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/), TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
  19. economyType: VAULT
  20. #Name of the main GUI
  21. shopMenuName: "&8&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: -1
  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: true
  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: 8
  76. 6:
  77. material: LAVA_BUCKET
  78. size: 8
  79. 7:
  80. material: WATER_BUCKET
  81. size: 8
  82. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  83. disableShopsInGamemodes:
  84. - ADVENTURE
  85. - CREATIVE
  86. - SPECTATOR
  87. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  88. disableShopsInWorlds: []
  89.  
  90. #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
  91. displayPriceModifiersInPercents: true
  92.  
  93. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  94. disableSudoWorldPermissionCheck: false
  95.  
  96. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  97. disableSudoShopPermissionCheck: false
  98.  
  99. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  100. shopItemLoreFormat:
  101. #This lore will be applied to items
  102. item:
  103. - "&7Buy price: &c%buy%$"
  104. - "&7Sell price: &a%sell%$"
  105. - "&6Click scroll wheel to sell all."
  106. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  107. itemBuyGUI:
  108. - "&7Buy price: &c%buy%$"
  109. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  110. itemSellGUI:
  111. - "&7Sell price: &a%sell%$"
  112. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  113. itemSellGUISellAll:
  114. - "&7Sell all for: &a%sell%$"
  115. #This one to permissions
  116. permission:
  117. - "&7Buy price: &c%buy%$"
  118. #And this one to enchantments
  119. enchantment:
  120. - "&7Buy price: &c%buy%$"
  121. #And the last one to commands
  122. command:
  123. - "&7Buy price: &c%buy%$"
  124.  
  125. #Logging settings
  126. log:
  127. #Define whether transactions will be logged to the console/main server log
  128. toConsole: false
  129. #Define whether transactions will be logged to a separate log
  130. toFile: false
  131. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  132. formatDate: "yyyy/MM/dd HH:mm:ss"
  133. #Log message for bought items
  134. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  135. #Log message for sold items
  136. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  137. #Log message for sold all items
  138. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  139.  
  140. buttons:
  141. #"Go back button"
  142. goBack:
  143. item:
  144. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  145. material: ARROW
  146. #Amount of the item
  147. amount: 1
  148. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  149. damage: 0
  150. #(optional) Custom name
  151. name: "&e&lBack"
  152. #(optional) Lore, can contain multiple lines
  153. lore: []
  154. #Slot in each shop's GUI
  155. slot: 49
  156. #"Previous page" button
  157. previousPage:
  158. item:
  159. material: PAPER
  160. quantity: 1
  161. name: "&e&lPrevious page"
  162. slot: 45
  163. #"Next page" button
  164. nextPage:
  165. item:
  166. material: PAPER
  167. quantity: 1
  168. name: "&e&lNext page"
  169. slot: 53
  170.  
  171. #Elements of the bulk buy GUI
  172. amountSelectionGUIBulkBuy:
  173. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  174. size: 9
  175. #Choose if buttons type should be replaced with the bought item's type
  176. replaceButtonsType: true
  177. #Buttons
  178. buttons:
  179. #"Buy 1 stack" button
  180. buy1:
  181. #When no material is specified it will be the type of the item being bought
  182. item:
  183. quantity: 1
  184. name: "&aBuy 1 stack"
  185. lore:
  186. - "&7Price: &c%buy%$"
  187. #Value indicated the amount of stacks
  188. value: 1
  189. slot: 0
  190. #"Buy 2 stacks" button
  191. buy2:
  192. item:
  193. quantity: 2
  194. name: "&aBuy 2 stacks"
  195. lore:
  196. - "&7Price: &c%buy%$"
  197. value: 2
  198. slot: 1
  199. #"Buy 3 stacks" button
  200. buy3:
  201. item:
  202. quantity: 3
  203. name: "&aBuy 3 stacks"
  204. lore:
  205. - "&7Price: &c%buy%$"
  206. value: 3
  207. slot: 2
  208. #"Buy 4 stacks" button
  209. buy4:
  210. item:
  211. quantity: 4
  212. name: "&aBuy 4 stacks"
  213. lore:
  214. - "&7Price: &c%buy%$"
  215. value: 4
  216. slot: 3
  217. #"Buy 5 stacks" button
  218. buy5:
  219. item:
  220. quantity: 5
  221. name: "&aBuy 5 stacks"
  222. lore:
  223. - "&7Price: &c%buy%$"
  224. value: 5
  225. slot: 4
  226. #"Buy 6 stacks" button
  227. buy6:
  228. item:
  229. quantity: 6
  230. name: "&aBuy 6 stacks"
  231. lore:
  232. - "&7Price: &c%buy%$"
  233. value: 6
  234. slot: 5
  235. #"Buy 7 stacks" button
  236. buy7:
  237. item:
  238. quantity: 7
  239. name: "&aBuy 7 stacks"
  240. lore:
  241. - "&7Price: &c%buy%$"
  242. value: 7
  243. slot: 6
  244. #"Buy 8 stacks" button
  245. buy8:
  246. item:
  247. quantity: 8
  248. name: "&aBuy 8 stacks"
  249. lore:
  250. - "&7Price: &c%buy%$"
  251. value: 8
  252. slot: 7
  253. #"Buy 9 stacks" button
  254. buy9:
  255. item:
  256. quantity: 9
  257. name: "&aBuy 9 stacks"
  258. lore:
  259. - "&7Price: &c%buy%$"
  260. value: 9
  261. slot: 8
  262.  
  263. #Elements of the bulk buy GUI
  264. amountSelectionGUIBulkSell:
  265. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  266. size: 9
  267. #Choose if buttons type should be replaced with the sold item's type
  268. replaceButtonsType: true
  269. #Buttons
  270. buttons:
  271. #"Sell 1 stack" button
  272. sell1:
  273. #When no material is specified it will be the type of the item being bought
  274. item:
  275. quantity: 1
  276. name: "&aSell 1 stack"
  277. lore:
  278. - "&7Price: &c%sell%$"
  279. #Value indicated the amount of stacks
  280. value: 1
  281. slot: 0
  282. #"Sell 2 stacks" button
  283. sell2:
  284. item:
  285. quantity: 2
  286. name: "&aSell 2 stacks"
  287. lore:
  288. - "&7Price: &c%sell%$"
  289. value: 2
  290. slot: 1
  291. #"Sell 3 stacks" button
  292. sell3:
  293. item:
  294. quantity: 3
  295. name: "&aSell 3 stacks"
  296. lore:
  297. - "&7Price: &c%sell%$"
  298. value: 3
  299. slot: 2
  300. #"Sell 4 stacks" button
  301. sell4:
  302. item:
  303. quantity: 4
  304. name: "&aSell 4 stacks"
  305. lore:
  306. - "&7Price: &c%sell%$"
  307. value: 4
  308. slot: 3
  309. #"Sell 5 stacks" button
  310. sell5:
  311. item:
  312. quantity: 5
  313. name: "&aSell 5 stacks"
  314. lore:
  315. - "&7Price: &c%sell%$"
  316. value: 5
  317. slot: 4
  318. #"Sell 6 stacks" button
  319. sell6:
  320. item:
  321. quantity: 6
  322. name: "&aSell 6 stacks"
  323. lore:
  324. - "&7Price: &c%sell%$"
  325. value: 6
  326. slot: 5
  327. #"Sell 7 stacks" button
  328. sell7:
  329. item:
  330. quantity: 7
  331. name: "&aSell 7 stacks"
  332. lore:
  333. - "&7Price: &c%sell%$"
  334. value: 7
  335. slot: 6
  336. #"Sell 8 stacks" button
  337. sell8:
  338. item:
  339. quantity: 8
  340. name: "&aSell 8 stacks"
  341. lore:
  342. - "&7Price: &c%sell%$"
  343. value: 8
  344. slot: 7
  345. #"Sell 9 stacks" button
  346. sell9:
  347. item:
  348. quantity: 9
  349. name: "&aSell 9 stacks"
  350. lore:
  351. - "&7Price: &c%sell%$"
  352. value: 9
  353. slot: 8
  354.  
  355. #Elements of the regular buy/sell GUI
  356. amountSelectionGUI:
  357. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  358. size: 54
  359. #Slot of the item being bought/sold
  360. itemSlot: 22
  361. #Buttons
  362. buttons:
  363. #"Set to 1" button
  364. set1:
  365. item:
  366. material: STAINED_GLASS_PANE
  367. quantity: 1
  368. damage: 14
  369. name: "&c&lSet to 1"
  370. slot: 18
  371. #"Remove 10" button
  372. remove10:
  373. item:
  374. material: STAINED_GLASS_PANE
  375. quantity: 10
  376. damage: 14
  377. name: "&c&lRemove 10"
  378. slot: 19
  379. #"Remove 1" button
  380. remove1:
  381. item:
  382. material: STAINED_GLASS_PANE
  383. quantity: 1
  384. damage: 14
  385. name: "&c&lRemove 1"
  386. slot: 20
  387. #"Add 1" button
  388. add1:
  389. item:
  390. material: STAINED_GLASS_PANE
  391. quantity: 1
  392. damage: 5
  393. name: "&a&lAdd 1"
  394. slot: 24
  395. #"Add 10" button
  396. add10:
  397. item:
  398. material: STAINED_GLASS_PANE
  399. quantity: 10
  400. damage: 5
  401. name: "&a&lAdd 10"
  402. slot: 25
  403. #"Set to 16" button
  404. set16:
  405. item:
  406. material: STAINED_GLASS_PANE
  407. quantity: 16
  408. damage: 5
  409. name: "&a&lSet to 16"
  410. slot: 26
  411. #"Set to 64" button
  412. set64:
  413. item:
  414. material: STAINED_GLASS_PANE
  415. quantity: 64
  416. damage: 5
  417. name: "&a&lSet to 64"
  418. slot: 26
  419. #"Confirm" button
  420. confirm:
  421. item:
  422. material: STAINED_GLASS
  423. quantity: 1
  424. damage: 5
  425. name: "&a&lConfirm"
  426. slot: 39
  427. #"Sell all" button
  428. sellAll:
  429. item:
  430. material: STAINED_GLASS
  431. quantity: 1
  432. damage: 5
  433. name: "&a&lSell all"
  434. slot: 40
  435. #"Buy more" button
  436. buyMore:
  437. item:
  438. material: STAINED_GLASS
  439. quantity: 64
  440. damage: 5
  441. name: "&a&lBuy more"
  442. slot: 49
  443. #"Sell more" button
  444. sellMore:
  445. item:
  446. material: STAINED_GLASS
  447. quantity: 64
  448. damage: 5
  449. name: "&a&lSell more"
  450. slot: 49
  451. #"Cancel" button
  452. cancel:
  453. item:
  454. material: STAINED_GLASS
  455. quantity: 1
  456. damage: 14
  457. name: "&c&lCancel"
  458. slot: 41
  459.  
  460. shopMenuItems:
  461. #Has to be unique, value doesn't matter
  462. 1:
  463. item:
  464. #The same rules apply for material, amount, damage and lore as for goBackButton
  465. material: GRASS
  466. quantity: 1
  467. name: "&eBlocks"
  468. #Shop ID from shops.yml
  469. shop: "blocks"
  470. #Slot in shops menu, counting from 0 to 53
  471. slot: 0
  472. 2:
  473. item:
  474. material: COOKED_CHICKEN
  475. quantity: 1
  476. damage: 0
  477. name: "&eFood"
  478. shop: "food"
  479. slot: 1
  480. 3:
  481. item:
  482. material: GOLD_INGOT
  483. quantity: 1
  484. damage: 0
  485. name: "&eOres"
  486. shop: "ores"
  487. slot: 2
  488. 4:
  489. item:
  490. material: BEACON
  491. quantity: 1
  492. name: "&eMiscellaneous"
  493. shop: "misc"
  494. slot: 3
  495. 5:
  496. item:
  497. material: REDSTONE
  498. quantity: 1
  499. name: "&eRedstone"
  500. shop: "redstone"
  501. slot: 4
  502. 6:
  503. item:
  504. material: WHEAT
  505. quantity: 1
  506. name: "&eFarming"
  507. shop: "farming"
  508. slot: 5
  509. 7:
  510. item:
  511. material: SPIDER_EYE
  512. quantity: 1
  513. name: "&eMob Drops"
  514. shop: "drops"
  515. slot: 6
  516. 8:
  517. item:
  518. material: GLASS_BOTTLE
  519. quantity: 1
  520. name: "&ePotion Ingredients"
  521. shop: "potion"
  522. slot: 7
  523. 9:
  524. item:
  525. material: MOB_SPAWNER
  526. quantity: 1
  527. name: "&6Spawners"
  528. shop: "spawners"
  529. slot: 8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement