Advertisement
Guest User

Untitled

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