Advertisement
Guest User

Untitled

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