Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.43 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: "&f&nGeneral | Shop"
  22. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  23. shopMenuSize: 27
  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 the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  59. priceModifiersType: BOTH
  60. #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
  61. #Format is same as for regular items in shops.yml
  62. itemStackSizeCappedAt:
  63. 1:
  64. material: ENDER_PEARL
  65. size: 16
  66. 2:
  67. material: SNOW_BALL
  68. size: 16
  69. 3:
  70. material: SIGN
  71. size: 16
  72. 4:
  73. material: EGG
  74. size: 16
  75. 5:
  76. material: BUCKET
  77. size: 1
  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: &c%buy%$"
  100. - "&7Sell price: &a%sell%$"
  101. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  102. itemBuyGUI:
  103. - "&7Buy price: &c%buy%$"
  104. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  105. itemSellGUI:
  106. - "&7Sell price: &a%sell%$"
  107. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  108. itemSellGUISellAll:
  109. - "&7Sell all price: &a%sell%$"
  110. #This one to permissions
  111. permission:
  112. - "&7Buy price: &c%buy%$"
  113. #And this one to enchantments
  114. enchantment:
  115. - "&7Buy price: &c%buy%$"
  116. #And the last one to commands
  117. command:
  118. - "&7Buy price: &c%buy%$"
  119.  
  120. #Logging settings
  121. log:
  122. #Define whether transactions will be logged to the console/main server log
  123. toConsole: true
  124. #Define whether transactions will be logged to a separate log
  125. toFile: false
  126. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  127. formatDate: "yyyy/MM/dd HH:mm:ss"
  128. #Log message for bought items
  129. formatBuy: "%player% has bought %amount% x %item% for %price%$"
  130. #Log message for sold items
  131. formatSell: "%player% has sold %amount% x %item% for %price%$"
  132. #Log message for sold all items
  133. formatSellAll: "%player% has sold all %amount% x %item% for %price%$"
  134.  
  135. buttons:
  136. #"Go back button"
  137. goBack:
  138. item:
  139. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  140. material: BARRIER
  141. #Amount of the item
  142. amount: 1
  143. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  144. damage: 0
  145. #(optional) Custom name
  146. name: "&b&lBack"
  147. #(optional) Lore, can contain multiple lines
  148. lore:
  149. - "&8▪ &7Right click to go back"
  150. #Slot in each shop's GUI
  151. slot: 49
  152. #"Previous page" button
  153. previousPage:
  154. item:
  155. material: PAPER
  156. quantity: 1
  157. name: "&b&lPrevious page"
  158. slot: 45
  159. #"Next page" button
  160. nextPage:
  161. item:
  162. material: PAPER
  163. quantity: 1
  164. name: "&b&lNext page"
  165. slot: 53
  166.  
  167. #Elements of the bulk buy GUI
  168. amountSelectionGUIBulkBuy:
  169. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  170. size: 9
  171. #Choose if buttons type should be replaced with the bought item's type
  172. replaceButtonsType: true
  173. #Buttons
  174. buttons:
  175. #"Buy 1 stack" button
  176. buy1:
  177. #When no material is specified it will be the type of the item being bought
  178. item:
  179. quantity: 1
  180. name: "&aBuy [1] stack"
  181. lore:
  182. - "&7Price: &c%buy%$"
  183. #Value indicated the amount of stacks
  184. value: 1
  185. slot: 0
  186. #"Buy 2 stacks" button
  187. buy2:
  188. item:
  189. quantity: 2
  190. name: "&aBuy [2] stacks"
  191. lore:
  192. - "&7Price: &c%buy%$"
  193. value: 2
  194. slot: 1
  195. #"Buy 3 stacks" button
  196. buy3:
  197. item:
  198. quantity: 3
  199. name: "&aBuy [3] stacks"
  200. lore:
  201. - "&7Price: &c%buy%$"
  202. value: 3
  203. slot: 2
  204. #"buy 4 stacks" button
  205. buy4:
  206. item:
  207. quantity: 4
  208. name: "&aBuy [4] stacks"
  209. lore:
  210. - "&7Price: &c%buy%$"
  211. value: 4
  212. slot: 3
  213. #"Buy 5 stacks" button
  214. buy5:
  215. item:
  216. quantity: 5
  217. name: "&aBuy [5] stacks"
  218. lore:
  219. - "&7Price: &c%buy%$"
  220. value: 5
  221. slot: 4
  222. #"Buy 6 stacks" button
  223. buy6:
  224. item:
  225. quantity: 6
  226. name: "&aBuy [6] stacks"
  227. lore:
  228. - "&7Price: &c%buy%$"
  229. value: 6
  230. slot: 5
  231. #"Buy 7 stacks" button
  232. buy7:
  233. item:
  234. quantity: 7
  235. name: "&aBuy [7] stacks"
  236. lore:
  237. - "&7Price: &c%buy%$"
  238. value: 7
  239. slot: 6
  240. #"Buy 8 stacks" button
  241. buy8:
  242. item:
  243. quantity: 8
  244. name: "&aBuy [8] stacks"
  245. lore:
  246. - "&7Price: &c%buy%$"
  247. value: 8
  248. slot: 7
  249. #"Buy 9 stacks" button
  250. buy9:
  251. item:
  252. quantity: 9
  253. name: "&aBuy [9] stacks"
  254. lore:
  255. - "&7Price: &c%buy%$"
  256. value: 9
  257. slot: 8
  258.  
  259. #Elements of the bulk buy GUI
  260. amountSelectionGUIBulkSell:
  261. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  262. size: 9
  263. #Choose if buttons type should be replaced with the sold item's type
  264. replaceButtonsType: true
  265. #Buttons
  266. buttons:
  267. #"Sell 1 stack" button
  268. sell1:
  269. #When no material is specified it will be the type of the item being bought
  270. item:
  271. quantity: 1
  272. name: "&4Sell [1] stack"
  273. lore:
  274. - "&7Price: &c%sell%$"
  275. #Value indicated the amount of stacks
  276. value: 1
  277. slot: 0
  278. #"Sell 2 stacks" button
  279. sell2:
  280. item:
  281. quantity: 2
  282. name: "&4Sell [2] stacks"
  283. lore:
  284. - "&7Price: &c%sell%$"
  285. value: 2
  286. slot: 1
  287. #"Sell 3 stacks" button
  288. sell3:
  289. item:
  290. quantity: 3
  291. name: "&4Sell [3] stacks"
  292. lore:
  293. - "&7Price: &c%sell%$"
  294. value: 3
  295. slot: 2
  296. #"Sell 4 stacks" button
  297. sell4:
  298. item:
  299. quantity: 4
  300. name: "&4Sell [4] stacks"
  301. lore:
  302. - "&7Price: &c%sell%$"
  303. value: 4
  304. slot: 3
  305. #"Sell 5 stacks" button
  306. sell5:
  307. item:
  308. quantity: 5
  309. name: "&4Sell [5] stacks"
  310. lore:
  311. - "&7Price: &c%sell%$"
  312. value: 5
  313. slot: 4
  314. #"Sell 6 stacks" button
  315. sell6:
  316. item:
  317. quantity: 6
  318. name: "&4Sell [6] stacks"
  319. lore:
  320. - "&7Price: &c%sell%$"
  321. value: 6
  322. slot: 5
  323. #"Sell 7 stacks" button
  324. sell7:
  325. item:
  326. quantity: 7
  327. name: "&4Sell [7] stacks"
  328. lore:
  329. - "&7Price: &c%sell%$"
  330. value: 7
  331. slot: 6
  332. #"Sell 8 stacks" button
  333. sell8:
  334. item:
  335. quantity: 8
  336. name: "&4Sell [8] stacks"
  337. lore:
  338. - "&7Price: &c%sell%$"
  339. value: 8
  340. slot: 7
  341. #"Sell 9 stacks" button
  342. sell9:
  343. item:
  344. quantity: 9
  345. name: "&4Sell [9] stacks"
  346. lore:
  347. - "&7Price: &c%sell%$"
  348. value: 9
  349. slot: 8
  350.  
  351. #Elements of the regular buy/sell GUI
  352. amountSelectionGUI:
  353. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  354. size: 54
  355. #Slot of the item being bought/sold
  356. itemSlot: 22
  357. #Buttons
  358. buttons:
  359. #"Set to 1" button
  360. set1:
  361. item:
  362. material: STAINED_GLASS_PANE
  363. quantity: 1
  364. damage: 14
  365. name: "&2&lAdd 1"
  366. slot: 18
  367. #"Remove 10" button
  368. remove10:
  369. item:
  370. material: STAINED_GLASS_PANE
  371. quantity: 10
  372. damage: 14
  373. name: "&c&lRemove 10"
  374. slot: 19
  375. #"Remove 1" button
  376. remove1:
  377. item:
  378. material: STAINED_GLASS_PANE
  379. quantity: 1
  380. damage: 14
  381. name: "&c&lRemove 1"
  382. slot: 20
  383. #"Add 1" button
  384. add1:
  385. item:
  386. material: STAINED_GLASS_PANE
  387. quantity: 1
  388. damage: 5
  389. name: "&a&lAdd 1"
  390. slot: 24
  391. #"Add 10" button
  392. add10:
  393. item:
  394. material: STAINED_GLASS_PANE
  395. quantity: 10
  396. damage: 5
  397. name: "&a&lAdd 10"
  398. slot: 25
  399. #"Set to 16" button
  400. set16:
  401. item:
  402. material: STAINED_GLASS_PANE
  403. quantity: 16
  404. damage: 5
  405. name: "&a&lSet to 16"
  406. slot: 26
  407. #"Set to 64" button
  408. set64:
  409. item:
  410. material: STAINED_GLASS_PANE
  411. quantity: 64
  412. damage: 5
  413. name: "&a&lSet to 64"
  414. slot: 26
  415. #"Confirm" button
  416. confirm:
  417. item:
  418. material: STAINED_GLASS
  419. quantity: 1
  420. damage: 5
  421. name: "&a&lConfirm"
  422. slot: 39
  423. #"Sell all" button
  424. sellAll:
  425. item:
  426. material: STAINED_GLASS
  427. quantity: 1
  428. damage: 5
  429. name: "&a&lSell all"
  430. slot: 40
  431. #"Buy more" button
  432. buyMore:
  433. item:
  434. material: STAINED_GLASS
  435. quantity: 64
  436. damage: 5
  437. name: "&a&lBuy more"
  438. slot: 49
  439. #"Sell more" button
  440. sellMore:
  441. item:
  442. material: STAINED_GLASS
  443. quantity: 64
  444. damage: 5
  445. name: "&a&lSell more"
  446. slot: 49
  447. #"Cancel" button
  448. cancel:
  449. item:
  450. material: STAINED_GLASS
  451. quantity: 1
  452. damage: 14
  453. name: "&c&lCancel"
  454. slot: 41
  455.  
  456. shopMenuItems:
  457. #Has to be unique, value doesn't matter
  458. 1:
  459. item:
  460. #The same rules apply for material, amount, damage and lore as for goBackButton
  461. material: GRASS
  462. quantity: 1
  463. name: "&b&lBlocks"
  464. lore:
  465. - "&8▪ &7Right click to open"
  466. shop: "blocks"
  467. slot: 9
  468. 2:
  469. item:
  470. material: COOKED_BEEF
  471. quantity: 1
  472. damage: 0
  473. name: "&b&lFood"
  474. lore:
  475. - "&8▪ &7Right click to open"
  476. shop: "food"
  477. slot: 10
  478. 3:
  479. item:
  480. material: DIAMOND_SWORD
  481. quantity: 1
  482. damage: 0
  483. name: "&b&lTools"
  484. lore:
  485. - "&8▪ &7Right click to open"
  486. shop: "tools"
  487. slot: 11
  488. 5:
  489. item:
  490. material: DIAMOND
  491. quantity: 1
  492. name: "&b&lOres"
  493. lore:
  494. - "&8▪ &7Right click to open"
  495. shop: "ores"
  496. slot: 12
  497. 6:
  498. item:
  499. material: BLAZE_POWDER
  500. quantity: 1
  501. name: "&b&lPotions"
  502. lore:
  503. - "&8▪ &7Right click to open"
  504. shop: "potions"
  505. slot: 13
  506. 7:
  507. item:
  508. material: WHEAT
  509. quantity: 1
  510. name: "&b&lFarming"
  511. lore:
  512. - "&8▪ &7Right click to open"
  513. shop: "farming"
  514. slot: 14
  515. 8:
  516. item:
  517. material: BUCKET
  518. quantity: 1
  519. name: "&b&lMiscellanous"
  520. lore:
  521. - "&8▪ &7Right click to open"
  522. shop: "miscellanous"
  523. slot: 15
  524. 9:
  525. item:
  526. material: MOB_SPAWNER
  527. quantity: 1
  528. name: "&b&lSpawners"
  529. lore:
  530. - "&8▪ &7Right click to open"
  531. shop: "spawners"
  532. slot: 16
  533. 10:
  534. item:
  535. material: DOUBLE_PLANT
  536. quantity: 1
  537. name: "&b&LEggs"
  538. lore:
  539. - "&8▪ &7Right click to open"
  540. shop: "egg"
  541. slot: 17
  542. 11:
  543. item:
  544. material: STAINED_GLASS_PANE
  545. quantity: 1
  546. damage: 7
  547. name: "&5"
  548. shop: ""
  549. slot: 0
  550. 12:
  551. item:
  552. material: STAINED_GLASS_PANE
  553. quantity: 1
  554. damage: 7
  555. name: "&5"
  556. shop: ""
  557. slot: 1
  558. 13:
  559. item:
  560. material: STAINED_GLASS_PANE
  561. quantity: 1
  562. damage: 7
  563. name: "&5"
  564. shop: ""
  565. slot: 2
  566. 14:
  567. item:
  568. material: STAINED_GLASS_PANE
  569. quantity: 1
  570. damage: 7
  571. name: "&5"
  572. shop: ""
  573. slot: 3
  574. 15:
  575. item:
  576. material: STAINED_GLASS_PANE
  577. quantity: 1
  578. damage: 7
  579. name: "&5"
  580. shop: ""
  581. slot: 4
  582. 16:
  583. item:
  584. material: STAINED_GLASS_PANE
  585. quantity: 1
  586. damage: 7
  587. name: "&5"
  588. shop: ""
  589. slot: 5
  590. 17:
  591. item:
  592. material: STAINED_GLASS_PANE
  593. quantity: 1
  594. damage: 7
  595. name: "&5"
  596. shop: ""
  597. slot: 6
  598. 18:
  599. item:
  600. material: STAINED_GLASS_PANE
  601. quantity: 1
  602. damage: 7
  603. name: "&5"
  604. shop: ""
  605. slot: 7
  606. 19:
  607. item:
  608. material: STAINED_GLASS_PANE
  609. quantity: 1
  610. damage: 7
  611. name: "&5"
  612. shop: ""
  613. slot: 8
  614. 20:
  615. item:
  616. material: STAINED_GLASS_PANE
  617. quantity: 1
  618. damage: 7
  619. name: "&5"
  620. shop: ""
  621. slot: 18
  622. 21:
  623. item:
  624. material: STAINED_GLASS_PANE
  625. quantity: 1
  626. damage: 7
  627. name: "&5"
  628. shop: ""
  629. slot: 19
  630. 22:
  631. item:
  632. material: STAINED_GLASS_PANE
  633. quantity: 1
  634. damage: 7
  635. name: "&5"
  636. shop: ""
  637. slot: 20
  638. 23:
  639. item:
  640. material: STAINED_GLASS_PANE
  641. quantity: 1
  642. damage: 7
  643. name: "&5"
  644. shop: ""
  645. slot: 21
  646. 24:
  647. item:
  648. material: STAINED_GLASS_PANE
  649. quantity: 1
  650. damage: 7
  651. name: "&5"
  652. shop: ""
  653. slot: 22
  654. 25:
  655. item:
  656. material: STAINED_GLASS_PANE
  657. quantity: 1
  658. damage: 7
  659. name: "&5"
  660. shop: ""
  661. slot: 23
  662. 26:
  663. item:
  664. material: STAINED_GLASS_PANE
  665. quantity: 1
  666. damage: 7
  667. name: "&5"
  668. shop: ""
  669. slot: 24
  670. 27:
  671. item:
  672. material: STAINED_GLASS_PANE
  673. quantity: 1
  674. damage: 7
  675. name: "&5"
  676. shop: ""
  677. slot: 25
  678. slot: 25
  679. 28:
  680. item:
  681. material: STAINED_GLASS_PANE
  682. quantity: 1
  683. damage: 7
  684. name: "&5"
  685. shop: ""
  686. slot: 26
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement