Advertisement
Guest User

ShopGUIPlus

a guest
Apr 27th, 2017
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.23 KB | None | 0 0
  1. database:
  2. #Database backend type, can be set to mysql or sqlite
  3. type: mysql
  4. mySQLHost:
  5. mySQLPort:
  6. mySQLDatabase:
  7. mySQLUser:
  8. mySQLPassword:
  9. tableNames:
  10. players: "players"
  11.  
  12. #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/)
  13. economyType: VAULT
  14. #Name of the main GUI
  15. shopMenuName: "&a&lBlitz Shop"
  16. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  17. shopMenuSize: 27
  18. #Define whether selling all with middle mouse button is enabled
  19. enableSellAll: true
  20. #Define whether the buy GUI with option to select quantity is enabled
  21. enableBuyGUI: true
  22. #Define whether the sell GUI with option to select quantity is enabled
  23. enableSellGUI: true
  24. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  25. enableSellGUISellAll: true
  26. #Define whether after closing/buying/selling the shop GUI should be opened again
  27. returnToShop: true
  28. #Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  29. quickBuySell: false
  30. #Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  31. hideBuyPriceForUnbuyable: true
  32. #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  33. hideSellPriceForUnsellable: true
  34. #Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  35. invertBuySell: false
  36. #Maximum amount of enchantments players can add to an item, set to -1 for no limit
  37. maxEnchantments: 3
  38. #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)
  39. limitEnchantmentLevelDiff: false
  40. #Define whether the amount selection double click bug fix should be enabled
  41. enableAmountSelectionFix: true
  42. #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)
  43. allowAllSellAllStackSizes: false
  44. #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)
  45. roundPrices: none
  46. #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.
  47. disableMainMenu: false
  48. #Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  49. useDifferentMessagesForFreeItems: true
  50. #Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  51. capitalizeItemNames: true
  52. #Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  53. priceModifiersType: BOTH
  54. #Choose if the gui shall be closed after using the Sell All feature
  55. closeGuiAfterSellAll: false
  56. #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
  57. #Format is same as for regular items in shops.yml
  58. itemStackSizeCappedAt:
  59. 1:
  60. material: ENDER_PEARL
  61. size: 16
  62. 2:
  63. material: SNOW_BALL
  64. size: 16
  65. 3:
  66. material: SIGN
  67. size: 16
  68. 4:
  69. material: EGG
  70. size: 16
  71. 5:
  72. material: BUCKET
  73. size: 1
  74. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  75. disableShopsInGamemodes:
  76. - ADVENTURE
  77. - CREATIVE
  78. - SPECTATOR
  79. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  80. disableShopsInWorlds: []
  81.  
  82. #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
  83. displayPriceModifiersInPercents: true
  84.  
  85. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  86. disableSudoWorldPermissionCheck: false
  87.  
  88. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  89. disableSudoShopPermissionCheck: false
  90.  
  91. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  92. shopItemLoreFormat:
  93. #This lore will be applied to items
  94. item:
  95. - "&7Buy price: &c%buy%$"
  96. - "&7Sell price: &a%sell%$"
  97. - "&9Click with MMB to sell all"
  98. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  99. itemBuyGUI:
  100. - "&7Buy price: &c%buy%$"
  101. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  102. itemSellGUI:
  103. - "&7Sell price: &a%sell%$"
  104. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  105. itemSellGUISellAll:
  106. - "&7Sell all for: &a%sell%$"
  107. #This one to permissions
  108. permission:
  109. - "&7Buy price: &c%buy%$"
  110. #And this one to enchantments
  111. enchantment:
  112. - "&7Buy price: &c%buy%$"
  113. #And the last one to commands
  114. command:
  115. - "&7Buy price: &c%buy%$"
  116.  
  117. #Logging settings
  118. log:
  119. #Define whether transactions will be logged to the console/main server log
  120. toConsole: true
  121. #Define whether transactions will be logged to a separate log
  122. toFile: false
  123. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  124. formatDate: "yyyy/MM/dd HH:mm:ss"
  125. #Log message for bought items
  126. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  127. #Log message for sold items
  128. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  129. #Log message for sold all items
  130. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  131.  
  132. buttons:
  133. #"Go back button"
  134. goBack:
  135. item:
  136. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  137. material: NETHER_STAR
  138. #Amount of the item
  139. amount: 1
  140. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  141. damage: 0
  142. #(optional) Custom name
  143. name: "&c&lGo back to categories"
  144. #(optional) Lore, can contain multiple lines
  145. lore:
  146. - "&7Click here to return"
  147. - "&7to the main menu"
  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: "&e&lPrevious page"
  156. slot: 45
  157. #"Next page" button
  158. nextPage:
  159. item:
  160. material: PAPER
  161. quantity: 1
  162. name: "&e&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: 18
  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. #"Cancel" button
  257. cancel:
  258. item:
  259. material: STAINED_GLASS
  260. quantity: 1
  261. damage: 14
  262. name: "&c&lCancel"
  263. slot: 13
  264.  
  265. #Elements of the bulk buy GUI
  266. amountSelectionGUIBulkSell:
  267. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  268. size: 18
  269. #Choose if buttons type should be replaced with the sold item's type
  270. replaceButtonsType: true
  271. #Buttons
  272. buttons:
  273. #"Sell 1 stack" button
  274. sell1:
  275. #When no material is specified it will be the type of the item being bought
  276. item:
  277. quantity: 1
  278. name: "&aSell 1 stack"
  279. lore:
  280. - "&7Price: &c%sell%$"
  281. #Value indicated the amount of stacks
  282. value: 1
  283. slot: 0
  284. #"Sell 2 stacks" button
  285. sell2:
  286. item:
  287. quantity: 2
  288. name: "&aSell 2 stacks"
  289. lore:
  290. - "&7Price: &c%sell%$"
  291. value: 2
  292. slot: 1
  293. #"Sell 3 stacks" button
  294. sell3:
  295. item:
  296. quantity: 3
  297. name: "&aSell 3 stacks"
  298. lore:
  299. - "&7Price: &c%sell%$"
  300. value: 3
  301. slot: 2
  302. #"Sell 4 stacks" button
  303. sell4:
  304. item:
  305. quantity: 4
  306. name: "&aSell 4 stacks"
  307. lore:
  308. - "&7Price: &c%sell%$"
  309. value: 4
  310. slot: 3
  311. #"Sell 5 stacks" button
  312. sell5:
  313. item:
  314. quantity: 5
  315. name: "&aSell 5 stacks"
  316. lore:
  317. - "&7Price: &c%sell%$"
  318. value: 5
  319. slot: 4
  320. #"Sell 6 stacks" button
  321. sell6:
  322. item:
  323. quantity: 6
  324. name: "&aSell 6 stacks"
  325. lore:
  326. - "&7Price: &c%sell%$"
  327. value: 6
  328. slot: 5
  329. #"Sell 7 stacks" button
  330. sell7:
  331. item:
  332. quantity: 7
  333. name: "&aSell 7 stacks"
  334. lore:
  335. - "&7Price: &c%sell%$"
  336. value: 7
  337. slot: 6
  338. #"Sell 8 stacks" button
  339. sell8:
  340. item:
  341. quantity: 8
  342. name: "&aSell 8 stacks"
  343. lore:
  344. - "&7Price: &c%sell%$"
  345. value: 8
  346. slot: 7
  347. #"Sell 9 stacks" button
  348. sell9:
  349. item:
  350. quantity: 9
  351. name: "&aSell 9 stacks"
  352. lore:
  353. - "&7Price: &c%sell%$"
  354. value: 9
  355. slot: 8
  356. #"Cancel" button
  357. cancel:
  358. item:
  359. material: STAINED_GLASS
  360. quantity: 1
  361. damage: 14
  362. name: "&c&lCancel"
  363. slot: 13
  364.  
  365. #Elements of the regular buy/sell GUI
  366. amountSelectionGUI:
  367. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  368. size: 54
  369. #Slot of the item being bought/sold
  370. itemSlot: 22
  371. #Buttons
  372. buttons:
  373. #"Set to 1" button
  374. set1:
  375. item:
  376. material: STAINED_GLASS_PANE
  377. quantity: 1
  378. damage: 14
  379. name: "&c&lSet to 1"
  380. slot: 18
  381. #"Remove 10" button
  382. remove10:
  383. item:
  384. material: STAINED_GLASS_PANE
  385. quantity: 10
  386. damage: 14
  387. name: "&c&lRemove 10"
  388. slot: 19
  389. #"Remove 1" button
  390. remove1:
  391. item:
  392. material: STAINED_GLASS_PANE
  393. quantity: 1
  394. damage: 14
  395. name: "&c&lRemove 1"
  396. slot: 20
  397. #"Add 1" button
  398. add1:
  399. item:
  400. material: STAINED_GLASS_PANE
  401. quantity: 1
  402. damage: 5
  403. name: "&a&lAdd 1"
  404. slot: 24
  405. #"Add 10" button
  406. add10:
  407. item:
  408. material: STAINED_GLASS_PANE
  409. quantity: 10
  410. damage: 5
  411. name: "&a&lAdd 10"
  412. slot: 25
  413. #"Set to 16" button
  414. set16:
  415. item:
  416. material: STAINED_GLASS_PANE
  417. quantity: 16
  418. damage: 5
  419. name: "&a&lSet to 16"
  420. slot: 26
  421. #"Set to 64" button
  422. set64:
  423. item:
  424. material: STAINED_GLASS_PANE
  425. quantity: 64
  426. damage: 5
  427. name: "&a&lSet to 64"
  428. slot: 26
  429. #"Confirm" button
  430. confirm:
  431. item:
  432. material: STAINED_GLASS
  433. quantity: 1
  434. damage: 5
  435. name: "&a&lConfirm"
  436. slot: 39
  437. #"Sell all" button
  438. sellAll:
  439. item:
  440. material: STAINED_GLASS
  441. quantity: 1
  442. damage: 5
  443. name: "&a&lSell all"
  444. slot: 40
  445. #"Buy more" button
  446. buyMore:
  447. item:
  448. material: STAINED_GLASS
  449. quantity: 64
  450. damage: 5
  451. name: "&a&lBuy more"
  452. slot: 49
  453. #"Sell more" button
  454. sellMore:
  455. item:
  456. material: STAINED_GLASS
  457. quantity: 64
  458. damage: 5
  459. name: "&a&lSell more"
  460. slot: 49
  461. #"Cancel" button
  462. cancel:
  463. item:
  464. material: STAINED_GLASS
  465. quantity: 1
  466. damage: 14
  467. name: "&c&lCancel"
  468. slot: 41
  469.  
  470. shopMenuItems:
  471. #Has to be unique, value doesn't matter
  472. 1:
  473. item:
  474. #The same rules apply for material, amount, damage and lore as for goBackButton
  475. material: GRASS
  476. quantity: 1
  477. name: "&bBuilding Blocks"
  478. #Shop ID from shops.yml
  479. shop: "blocks"
  480. #Slot in shops menu, counting from 0 to 53
  481. slot: 10
  482. 2:
  483. item:
  484. material: WOOL
  485. quantity: 1
  486. damage: 0
  487. name: "&bColor Blocks"
  488. shop: "color"
  489. slot: 11
  490. 3:
  491. item:
  492. material: WHEAT
  493. quantity: 1
  494. damage: 0
  495. name: "&bFood & Farming"
  496. shop: "ff"
  497. slot: 12
  498. 4:
  499. item:
  500. material: ENDER_PEARL
  501. quantity: 1
  502. name: "&bMob Drops"
  503. shop: "drops"
  504. slot: 13
  505. 5:
  506. item:
  507. material: DIAMOND
  508. quantity: 1
  509. name: "&bMinerals"
  510. shop: "minerals"
  511. slot: 14
  512. 6:
  513. item:
  514. material: REDSTONE
  515. quantity: 1
  516. name: "&bRedstone Items"
  517. shop: "redstone"
  518. slot: 15
  519. 7:
  520. item:
  521. material: BEACON
  522. quantity: 1
  523. name: "&bMiscellanous Items"
  524. shop: "miscellanous"
  525. slot: 16
  526. 8a:
  527. item:
  528. material: MOB_SPAWNER
  529. quantity: 1
  530. name: "&bSpawner Shop"
  531. shop: "spawners"
  532. slot: 22
  533. 8:
  534. item:
  535. material: STAINED_GLASS_PANE
  536. quantity: 1
  537. name: "&f"
  538. damage: 9
  539. slot: 0
  540. 9:
  541. item:
  542. material: STAINED_GLASS_PANE
  543. quantity: 1
  544. name: "&f"
  545. damage: 9
  546. slot: 1
  547. 10:
  548. item:
  549. material: STAINED_GLASS_PANE
  550. quantity: 1
  551. name: "&f"
  552. damage: 9
  553. slot: 2
  554. 11:
  555. item:
  556. material: STAINED_GLASS_PANE
  557. quantity: 1
  558. name: "&f"
  559. damage: 9
  560. slot: 3
  561. 12:
  562. item:
  563. material: STAINED_GLASS_PANE
  564. quantity: 1
  565. name: "&f"
  566. damage: 9
  567. slot: 4
  568. 13:
  569. item:
  570. material: STAINED_GLASS_PANE
  571. quantity: 1
  572. name: "&f"
  573. damage: 9
  574. slot: 5
  575. 14:
  576. item:
  577. material: STAINED_GLASS_PANE
  578. quantity: 1
  579. name: "&f"
  580. damage: 9
  581. slot: 6
  582. 15:
  583. item:
  584. material: STAINED_GLASS_PANE
  585. quantity: 1
  586. name: "&f"
  587. damage: 9
  588. slot: 7
  589. 16:
  590. item:
  591. material: STAINED_GLASS_PANE
  592. quantity: 1
  593. name: "&f"
  594. damage: 9
  595. slot: 8
  596. 17:
  597. item:
  598. material: STAINED_GLASS_PANE
  599. quantity: 1
  600. name: "&f"
  601. damage: 9
  602. slot: 9
  603. 17a:
  604. item:
  605. material: STAINED_GLASS_PANE
  606. quantity: 1
  607. name: "&f"
  608. damage: 9
  609. slot: 17
  610. 18:
  611. item:
  612. material: STAINED_GLASS_PANE
  613. quantity: 1
  614. name: "&f"
  615. damage: 9
  616. slot: 18
  617. 19:
  618. item:
  619. material: STAINED_GLASS_PANE
  620. quantity: 1
  621. name: "&f"
  622. damage: 9
  623. slot: 19
  624. 20:
  625. item:
  626. material: STAINED_GLASS_PANE
  627. quantity: 1
  628. name: "&f"
  629. damage: 9
  630. slot: 20
  631. 21:
  632. item:
  633. material: STAINED_GLASS_PANE
  634. quantity: 1
  635. name: "&f"
  636. damage: 9
  637. slot: 21
  638. 23:
  639. item:
  640. material: STAINED_GLASS_PANE
  641. quantity: 1
  642. name: "&f"
  643. damage: 9
  644. slot: 23
  645. 24:
  646. item:
  647. material: STAINED_GLASS_PANE
  648. quantity: 1
  649. name: "&f"
  650. damage: 9
  651. slot: 24
  652. 25:
  653. item:
  654. material: STAINED_GLASS_PANE
  655. quantity: 1
  656. name: "&f"
  657. damage: 9
  658. slot: 25
  659. 26:
  660. item:
  661. material: STAINED_GLASS_PANE
  662. quantity: 1
  663. name: "&f"
  664. damage: 9
  665. slot: 26
  666. specialElements:
  667. balance:
  668. item:
  669. material: GOLD_NUGGET
  670. quantity: 1
  671. name: "&6&lYour balance"
  672. lore:
  673. - "&7$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement