Advertisement
Guest User

Untitled

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