Advertisement
Guest User

Untitled

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