Advertisement
Guest User

Untitled

a guest
Mar 14th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.33 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.
  19. # Supported economies:
  20. # - EXP (default Minecraft experience points)
  21. # - VAULT (requires http://dev.bukkit.org/bukkit-plugins/vault/)
  22. # - MYSQL_TOKENS (requires https://www.spigotmc.org/resources/mysql-tokens.7535/)
  23. # - PLAYER_POINTS (requires https://dev.bukkit.org/projects/playerpoints)
  24. # - TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
  25. economyType: VAULT
  26. # Name of the main GUI
  27. shopMenuName: "&3&lShop menu"
  28. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  29. shopMenuSize: 54
  30. # Define whether selling all with middle mouse button is enabled
  31. enableSellAll: true
  32. # Define whether the buy GUI with option to select quantity is enabled
  33. enableBuyGUI: true
  34. # Define whether the sell GUI with option to select quantity is enabled
  35. enableSellGUI: true
  36. # Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  37. enableSellGUISellAll: true
  38. # Define whether after closing/buying/selling the shop GUI should be opened again
  39. returnToShop: true
  40. # Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  41. quickBuySell: false
  42. # Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  43. hideBuyPriceForUnbuyable: true
  44. # Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  45. hideSellPriceForUnsellable: true
  46. # Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  47. invertBuySell: false
  48. # Maximum amount of enchantments players can add to an item, set to -1 for no limit
  49. maxEnchantments: 3
  50. # 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)
  51. limitEnchantmentLevelDiff: false
  52. # Define whether the amount selection double click bug fix should be enabled
  53. enableAmountSelectionFix: true
  54. # 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)
  55. allowAllSellAllStackSizes: false
  56. # 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)
  57. roundPrices: none
  58. # 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.
  59. disableMainMenu: false
  60. # Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  61. useDifferentMessagesForFreeItems: true
  62. # Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  63. capitalizeItemNames: true
  64. # Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  65. priceModifiersType: BOTH
  66. # Choose if the gui shall be closed after using the Sell All feature
  67. closeGuiAfterSellAll: false
  68. # Choose if bulk buy/sell guis should be opened immediately after clicking an item (enableBuyGUI and enableSellGUI have to be enabled as well and players need the bulk buy/sell permissions)
  69. openBulkGuiImmediately: false
  70. # 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
  71. # Format is same as for regular items in shops.yml
  72. itemStackSizeCappedAt:
  73. 1:
  74. material: ENDER_PEARL
  75. size: 16
  76. 2:
  77. material: SNOW_BALL
  78. size: 16
  79. 3:
  80. material: SIGN
  81. size: 16
  82. 4:
  83. material: EGG
  84. size: 16
  85. 5:
  86. material: BUCKET
  87. size: 1
  88. # Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  89. disableShopsInGamemodes:
  90. # Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  91. disableShopsInWorlds: []
  92.  
  93. # 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
  94. displayPriceModifiersInPercents: true
  95.  
  96. # Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  97. disableSudoWorldPermissionCheck: false
  98.  
  99. # Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  100. disableSudoShopPermissionCheck: false
  101.  
  102. # Choose whether free items (with sell price of $0) should be excluded from being sold using /sell hand and /sell all
  103. sellHandAllExcludeFreeItems: true
  104.  
  105. # Choose predefined settings for all items (will be overriden when set explicitly for an item in shops.yml)
  106. defaultItemSettings:
  107. # Choose whether item meta (name, lore etc.) should be compared when players attempt to sell an item
  108. compareMeta: false
  109. # Choose whether item meta should be removed from an item when it's purchased by a player from the shop
  110. stripItemMeta: false
  111.  
  112. # Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  113. shopItemLoreFormat:
  114. # This lore will be applied to items
  115. item:
  116. - "&7Buy price: &c%buy%$"
  117. - "&7Sell price: &a%sell%$"
  118. - "&9Click with MMB to sell all"
  119. # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  120. itemBuyGUI:
  121. - "&7Buy price: &c%buy%$"
  122. # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  123. itemSellGUI:
  124. - "&7Sell price: &a%sell%$"
  125. # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  126. itemSellGUISellAll:
  127. - "&7Sell all for: &a%sell%$"
  128. # This one to permissions
  129. permission:
  130. - "&7Buy price: &c%buy%$"
  131. # And this one to enchantments
  132. enchantment:
  133. - "&7Buy price: &c%buy%$"
  134. # And the last one to commands
  135. command:
  136. - "&7Buy price: &c%buy%$"
  137.  
  138. # Logging settings
  139. log:
  140. # Define whether transactions will be logged to the console/main server log
  141. toConsole: true
  142. # Define whether transactions will be logged to a separate log
  143. toFile: false
  144. # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  145. formatDate: "yyyy/MM/dd HH:mm:ss"
  146. # Log message for bought items
  147. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  148. # Log message for sold items
  149. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  150. # Log message for sold all items
  151. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  152.  
  153. # Sell hand command settings
  154. sellHand:
  155. # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  156. allowAllQuantites: true
  157. # When set to true, /sell hand will work same way as /sell handall does
  158. sellsAllItems: false
  159.  
  160. # Sell all command settings
  161. sellAll:
  162. # When set to true, players will get a detailed summary with prices of each item stack sold
  163. detailedSummary: false
  164.  
  165. buttons:
  166. # "Go back button"
  167. goBack:
  168. item:
  169. # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  170. material: BARRIER
  171. # Amount of the item
  172. amount: 1
  173. # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  174. damage: 0
  175. # (optional) Custom name
  176. name: "&c&l&oGo back"
  177. # (optional) Lore, can contain multiple lines
  178. lore:
  179. - "&7Click here to return"
  180. - "&7to the main menu"
  181. # Slot in each shop's GUI
  182. slot: 49
  183. # "Previous page" button
  184. previousPage:
  185. item:
  186. material: 38
  187. damage: 4
  188. quantity: 1
  189. name: "&c&l&oPrevious page"
  190. slot: 45
  191. # "Next page" button
  192. nextPage:
  193. item:
  194. material: 31
  195. damage: 2
  196. quantity: 1
  197. name: "&a&l&oNext page"
  198. slot: 53
  199.  
  200. # Elements of the bulk buy GUI
  201. amountSelectionGUIBulkBuy:
  202. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  203. size: 18
  204. # Choose if buttons type should be replaced with the bought item's type
  205. replaceButtonsType: true
  206. # Buttons
  207. buttons:
  208. # "Buy 1 stack" button
  209. buy1:
  210. # When no material is specified it will be the type of the item being bought
  211. item:
  212. quantity: 1
  213. name: "&aBuy 1 stack"
  214. lore:
  215. - "&7Price: &c%buy%$"
  216. # Value indicated the amount of stacks
  217. value: 1
  218. slot: 0
  219. # "Buy 2 stacks" button
  220. buy2:
  221. item:
  222. quantity: 2
  223. name: "&aBuy 2 stacks"
  224. lore:
  225. - "&7Price: &c%buy%$"
  226. value: 2
  227. slot: 1
  228. # "Buy 3 stacks" button
  229. buy3:
  230. item:
  231. quantity: 3
  232. name: "&aBuy 3 stacks"
  233. lore:
  234. - "&7Price: &c%buy%$"
  235. value: 3
  236. slot: 2
  237. # "Buy 4 stacks" button
  238. buy4:
  239. item:
  240. quantity: 4
  241. name: "&aBuy 4 stacks"
  242. lore:
  243. - "&7Price: &c%buy%$"
  244. value: 4
  245. slot: 3
  246. # "Buy 5 stacks" button
  247. buy5:
  248. item:
  249. quantity: 5
  250. name: "&aBuy 5 stacks"
  251. lore:
  252. - "&7Price: &c%buy%$"
  253. value: 5
  254. slot: 4
  255. # "Buy 6 stacks" button
  256. buy6:
  257. item:
  258. quantity: 6
  259. name: "&aBuy 6 stacks"
  260. lore:
  261. - "&7Price: &c%buy%$"
  262. value: 6
  263. slot: 5
  264. # "Buy 7 stacks" button
  265. buy7:
  266. item:
  267. quantity: 7
  268. name: "&aBuy 7 stacks"
  269. lore:
  270. - "&7Price: &c%buy%$"
  271. value: 7
  272. slot: 6
  273. # "Buy 8 stacks" button
  274. buy8:
  275. item:
  276. quantity: 8
  277. name: "&aBuy 8 stacks"
  278. lore:
  279. - "&7Price: &c%buy%$"
  280. value: 8
  281. slot: 7
  282. # "Buy 9 stacks" button
  283. buy9:
  284. item:
  285. quantity: 9
  286. name: "&aBuy 9 stacks"
  287. lore:
  288. - "&7Price: &c%buy%$"
  289. value: 9
  290. slot: 8
  291. # "Cancel" button
  292. cancel:
  293. item:
  294. material: STAINED_GLASS
  295. quantity: 1
  296. damage: 14
  297. name: "&c&lCancel"
  298. slot: 13
  299.  
  300. # Elements of the bulk buy GUI
  301. amountSelectionGUIBulkSell:
  302. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  303. size: 18
  304. # Choose if buttons type should be replaced with the sold item's type
  305. replaceButtonsType: true
  306. # Buttons
  307. buttons:
  308. # "Sell 1 stack" button
  309. sell1:
  310. # When no material is specified it will be the type of the item being bought
  311. item:
  312. quantity: 1
  313. name: "&aSell 1 stack"
  314. lore:
  315. - "&7Price: &c%sell%$"
  316. # Value indicated the amount of stacks
  317. value: 1
  318. slot: 0
  319. # "Sell 2 stacks" button
  320. sell2:
  321. item:
  322. quantity: 2
  323. name: "&aSell 2 stacks"
  324. lore:
  325. - "&7Price: &c%sell%$"
  326. value: 2
  327. slot: 1
  328. # "Sell 3 stacks" button
  329. sell3:
  330. item:
  331. quantity: 3
  332. name: "&aSell 3 stacks"
  333. lore:
  334. - "&7Price: &c%sell%$"
  335. value: 3
  336. slot: 2
  337. # "Sell 4 stacks" button
  338. sell4:
  339. item:
  340. quantity: 4
  341. name: "&aSell 4 stacks"
  342. lore:
  343. - "&7Price: &c%sell%$"
  344. value: 4
  345. slot: 3
  346. # "Sell 5 stacks" button
  347. sell5:
  348. item:
  349. quantity: 5
  350. name: "&aSell 5 stacks"
  351. lore:
  352. - "&7Price: &c%sell%$"
  353. value: 5
  354. slot: 4
  355. # "Sell 6 stacks" button
  356. sell6:
  357. item:
  358. quantity: 6
  359. name: "&aSell 6 stacks"
  360. lore:
  361. - "&7Price: &c%sell%$"
  362. value: 6
  363. slot: 5
  364. # "Sell 7 stacks" button
  365. sell7:
  366. item:
  367. quantity: 7
  368. name: "&aSell 7 stacks"
  369. lore:
  370. - "&7Price: &c%sell%$"
  371. value: 7
  372. slot: 6
  373. # "Sell 8 stacks" button
  374. sell8:
  375. item:
  376. quantity: 8
  377. name: "&aSell 8 stacks"
  378. lore:
  379. - "&7Price: &c%sell%$"
  380. value: 8
  381. slot: 7
  382. # "Sell 9 stacks" button
  383. sell9:
  384. item:
  385. quantity: 9
  386. name: "&aSell 9 stacks"
  387. lore:
  388. - "&7Price: &c%sell%$"
  389. value: 9
  390. slot: 8
  391. # "Cancel" button
  392. cancel:
  393. item:
  394. material: STAINED_GLASS
  395. quantity: 1
  396. damage: 14
  397. name: "&c&lCancel"
  398. slot: 13
  399.  
  400. # Elements of the regular buy/sell GUI
  401. amountSelectionGUI:
  402. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  403. size: 54
  404. # Slot of the item being bought/sold
  405. itemSlot: 22
  406. # Buttons
  407. buttons:
  408. # "Set to 1" button
  409. set1:
  410. item:
  411. material: STAINED_GLASS_PANE
  412. quantity: 1
  413. damage: 14
  414. name: "&c&lSet to 1"
  415. slot: 18
  416. # "Remove 10" button
  417. remove10:
  418. item:
  419. material: STAINED_GLASS_PANE
  420. quantity: 10
  421. damage: 14
  422. name: "&c&lRemove 10"
  423. slot: 19
  424. # "Remove 1" button
  425. remove1:
  426. item:
  427. material: STAINED_GLASS_PANE
  428. quantity: 1
  429. damage: 14
  430. name: "&c&lRemove 1"
  431. slot: 20
  432. # "Add 1" button
  433. add1:
  434. item:
  435. material: STAINED_GLASS_PANE
  436. quantity: 1
  437. damage: 5
  438. name: "&a&lAdd 1"
  439. slot: 24
  440. # "Add 10" button
  441. add10:
  442. item:
  443. material: STAINED_GLASS_PANE
  444. quantity: 10
  445. damage: 5
  446. name: "&a&lAdd 10"
  447. slot: 25
  448. # "Set to 16" button
  449. set16:
  450. item:
  451. material: STAINED_GLASS_PANE
  452. quantity: 16
  453. damage: 5
  454. name: "&a&lSet to 16"
  455. slot: 26
  456. # "Set to 64" button
  457. set64:
  458. item:
  459. material: STAINED_GLASS_PANE
  460. quantity: 64
  461. damage: 5
  462. name: "&a&lSet to 64"
  463. slot: 26
  464. # "Confirm" button
  465. confirm:
  466. item:
  467. material: STAINED_GLASS
  468. quantity: 1
  469. damage: 5
  470. name: "&a&lConfirm"
  471. slot: 39
  472. # "Sell all" button
  473. sellAll:
  474. item:
  475. material: STAINED_GLASS
  476. quantity: 1
  477. damage: 5
  478. name: "&a&lSell all"
  479. slot: 40
  480. # "Buy more" button
  481. buyMore:
  482. item:
  483. material: STAINED_GLASS
  484. quantity: 64
  485. damage: 5
  486. name: "&a&lBuy more"
  487. slot: 49
  488. # "Sell more" button
  489. sellMore:
  490. item:
  491. material: STAINED_GLASS
  492. quantity: 64
  493. damage: 5
  494. name: "&a&lSell more"
  495. slot: 49
  496. # "Cancel" button
  497. cancel:
  498. item:
  499. material: STAINED_GLASS
  500. quantity: 1
  501. damage: 14
  502. name: "&c&lCancel"
  503. slot: 41
  504.  
  505. shopMenuItems:
  506. # Has to be unique, value doesn't matter
  507. 1:
  508. item:
  509. # The same rules apply for material, amount, damage and lore as for goBackButton
  510. material: GRASS
  511. quantity: 1
  512. name: "&9&lBlocks"
  513. # Shop ID from shops.yml
  514. shop: "blocks"
  515. # Slot in shops menu, counting from 0 to 53
  516. slot: 20
  517. 2:
  518. item:
  519. material: COOKED_CHICKEN
  520. quantity: 1
  521. damage: 0
  522. name: "&2&lFood"
  523. lore:
  524. - "&7Get some yummy food here!"
  525. shop: "food"
  526. slot: 21
  527. 3:
  528. item:
  529. material: GOLD_INGOT
  530. quantity: 1
  531. damage: 0
  532. name: "&3&lOres"
  533. shop: "ores"
  534. slot: 22
  535. 5:
  536. item:
  537. material: MOB_SPAWNER
  538. quantity: 1
  539. name: "&5&lSpawners"
  540. shop: "spawner"
  541. slot: 23
  542. 6:
  543. item:
  544. material: WHEAT
  545. quantity: 1
  546. name: "&5&lFarming"
  547. shop: "farming"
  548. slot: 24
  549. 7:
  550. item:
  551. material: SPIDER_EYE
  552. quantity: 1
  553. name: "&9&lMob drops"
  554. shop: "drops"
  555. slot: 30
  556. 8:
  557. item:
  558. material: INK_SACK
  559. quantity: 1
  560. damage: 1
  561. name: "&2&lDyes"
  562. shop: "dyes"
  563. slot: 31
  564. 9:
  565. item:
  566. material: SADDLE
  567. quantity: 1
  568. name: "&3&lMiscellanous"
  569. shop: "miscellanous"
  570. slot: 32
  571. g0a:
  572. item:
  573. material: 160
  574. quantity: 1
  575. damage: 11
  576. name: " "
  577. slot: 53
  578. g1a:
  579. item:
  580. material: 160
  581. quantity: 1
  582. damage: 3
  583. name: " "
  584. slot: 52
  585. g2a:
  586. item:
  587. material: 160
  588. quantity: 1
  589. damage: 11
  590. name: " "
  591. slot: 51
  592. g3a:
  593. item:
  594. material: 160
  595. quantity: 1
  596. damage: 3
  597. name: " "
  598. slot: 50
  599. g4a:
  600. item:
  601. material: 160
  602. quantity: 1
  603. damage: 11
  604. name: " "
  605. slot: 49
  606. g6a:
  607. item:
  608. material: 160
  609. quantity: 1
  610. damage: 3
  611. name: " "
  612. slot: 48
  613. g7a:
  614. item:
  615. material: 160
  616. quantity: 1
  617. damage: 11
  618. name: " "
  619. slot: 47
  620. g8aa:
  621. item:
  622. material: 160
  623. quantity: 1
  624. damage: 3
  625. name: " "
  626. slot: 46
  627. g8a:
  628. item:
  629. material: 160
  630. quantity: 1
  631. damage: 11
  632. name: " "
  633. slot: 45
  634. g0:
  635. item:
  636. material: 160
  637. quantity: 1
  638. damage: 3
  639. name: " "
  640. slot: 0
  641. g1:
  642. item:
  643. material: 160
  644. quantity: 1
  645. damage: 11
  646. name: " "
  647. slot: 1
  648. g2:
  649. item:
  650. material: 160
  651. quantity: 1
  652. damage: 3
  653. name: " "
  654. slot: 2
  655. g3:
  656. item:
  657. material: 160
  658. quantity: 1
  659. damage: 11
  660. name: " "
  661. slot: 3
  662. g4:
  663. item:
  664. material: 160
  665. quantity: 1
  666. damage: 11
  667. name: " "
  668. slot: 5
  669. g6:
  670. item:
  671. material: 160
  672. quantity: 1
  673. damage: 3
  674. name: " "
  675. slot: 6
  676. g7:
  677. item:
  678. material: 160
  679. quantity: 1
  680. damage: 11
  681. name: " "
  682. slot: 7
  683. g8:
  684. item:
  685. material: 160
  686. quantity: 1
  687. damage: 3
  688. name: " "
  689. slot: 8
  690. g5558:
  691. item:
  692. material: 160
  693. quantity: 1
  694. damage: 3
  695. name: " "
  696. slot: 4
  697. p1:
  698. item:
  699. material: 160
  700. quantity: 1
  701. damage: 11
  702. name: " "
  703. slot: 17
  704. p2:
  705. item:
  706. material: 160
  707. quantity: 1
  708. damage: 11
  709. name: " "
  710. slot: 9
  711. p3:
  712. item:
  713. material: 160
  714. quantity: 1
  715. damage: 3
  716. name: " "
  717. slot: 18
  718. p4:
  719. item:
  720. material: 160
  721. quantity: 1
  722. damage: 3
  723. name: " "
  724. slot: 26
  725. p5:
  726. item:
  727. material: 160
  728. quantity: 1
  729. damage: 11
  730. name: " "
  731. slot: 27
  732. p6:
  733. item:
  734. material: 160
  735. quantity: 1
  736. damage: 3
  737. name: " "
  738. slot: 36
  739. p7:
  740. item:
  741. material: 160
  742. quantity: 1
  743. damage: 11
  744. name: " "
  745. slot: 35
  746. p8:
  747. item:
  748. material: 160
  749. quantity: 1
  750. damage: 3
  751. name: " "
  752. slot: 44
  753.  
  754.  
  755. specialElements:
  756. balance:
  757. item:
  758. material: GOLD_NUGGET
  759. quantity: 1
  760. name: "&6&lYour balance"
  761. lore:
  762. - "&7$%BALANCE%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement