Advertisement
Guest User

Untitled

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