Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.22 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.
  19. # Supported economies:
  20. # - EXP (default Minecraft experience points)
  21. # - VAULT (requires http://dev.bukkit.org/bukkit-plugins/vault/)
  22. # - MYSQL_TOKENS (requires https://www.spigotmc.org/resources/mysql-tokens.7535/)
  23. # - PLAYER_POINTS (requires https://dev.bukkit.org/projects/playerpoints)
  24. # - TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
  25. economyType: VAULT
  26. # Name of the main GUI
  27. shopMenuName: "&3&lShop menu"
  28. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  29. shopMenuSize: 36
  30. # Choose an item to fill the empty slots of menu with
  31. shopMenuFillItem:
  32. material: STAINED_GLASS_PANE
  33. damage: 15
  34. name: " "
  35. # Define whether selling all with middle mouse button is enabled
  36. enableSellAll: true
  37. # Define whether the buy GUI with option to select quantity is enabled
  38. enableBuyGUI: true
  39. # Define whether the sell GUI with option to select quantity is enabled
  40. enableSellGUI: true
  41. # Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  42. enableSellGUISellAll: true
  43. # Define whether after closing/buying/selling the shop GUI should be opened again
  44. returnToShop: true
  45. # Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  46. quickBuySell: true
  47. # Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  48. hideBuyPriceForUnbuyable: true
  49. # Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  50. hideSellPriceForUnsellable: true
  51. # Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  52. invertBuySell: false
  53. # Maximum amount of enchantments players can add to an item, set to -1 for no limit
  54. maxEnchantments: 3
  55. # 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)
  56. limitEnchantmentLevelDiff: false
  57. # Define whether the amount selection double click bug fix should be enabled
  58. enableAmountSelectionFix: true
  59. # 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)
  60. allowAllSellAllStackSizes: false
  61. # 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)
  62. roundPrices: none
  63. # 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.
  64. disableMainMenu: false
  65. # Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  66. useDifferentMessagesForFreeItems: true
  67. # Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  68. capitalizeItemNames: true
  69. # Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  70. priceModifiersType: BOTH
  71. # Choose if the gui shall be closed after using the Sell All feature
  72. closeGuiAfterSellAll: false
  73. # Choose if bulk buy/sell guis should be opened immediately after clicking an item (enableBuyGUI and enableSellGUI have to be enabled as well and players need the bulk buy/sell permissions)
  74. openBulkGuiImmediately: false
  75. # 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
  76. # Format is same as for regular items in shops.yml
  77. itemStackSizeCappedAt:
  78. 1:
  79. material: ENDER_PEARL
  80. size: 16
  81. 2:
  82. material: SNOW_BALL
  83. size: 16
  84. 3:
  85. material: SIGN
  86. size: 16
  87. 4:
  88. material: EGG
  89. size: 16
  90. 5:
  91. material: BUCKET
  92. size: 1
  93. # Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  94. disableShopsInGamemodes:
  95. - ADVENTURE
  96. - CREATIVE
  97. - SPECTATOR
  98. # Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  99. disableShopsInWorlds: []
  100.  
  101. # 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
  102. displayPriceModifiersInPercents: true
  103.  
  104. # Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  105. disableSudoWorldPermissionCheck: false
  106.  
  107. # Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  108. disableSudoShopPermissionCheck: false
  109.  
  110. # Choose whether free items (with sell price of $0) should be excluded from being sold using /sell hand and /sell all
  111. sellHandAllExcludeFreeItems: true
  112.  
  113. # Choose predefined settings for all items (will be overriden when set explicitly for an item in shops.yml)
  114. defaultItemSettings:
  115. # Choose whether item meta (name, lore etc.) should be compared when players attempt to sell an item
  116. compareMeta: false
  117. # Choose whether item meta should be removed from an item when it's purchased by a player from the shop
  118. stripItemMeta: false
  119.  
  120. # Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  121. shopItemLoreFormat:
  122. # This lore will be applied to items
  123. item:
  124. - "&5Information:"
  125. - "&5&l * &dBuy price: &f$%buy%"
  126. - "&5&l * &dSell price: &f$%sell%"
  127. - "&5(&5Click with &5MMB &5to sell all&5)"
  128. # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  129. itemBuyGUI:
  130. - "&5&l * &dBuy price: &f$%buy%"
  131. # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  132. itemSellGUI:
  133. - "&5&l * &dSell price: &f$%sell%"
  134. # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  135. itemSellGUISellAll:
  136. - "&5&l * &dSell all for: &f$%sell%"
  137. # This one to permissions
  138. permission:
  139. - "&7Buy price: &c%buy%$"
  140. # And this one to enchantments
  141. enchantment:
  142. - "&5&l * &dBuy price: &f$%buy%"
  143. # And the last one to commands
  144. command:
  145. - "&5&l * &dBuy price: &f$%buy%"
  146.  
  147. # Logging settings
  148. log:
  149. # Define whether transactions will be logged to the console/main server log
  150. toConsole: true
  151. # Define whether transactions will be logged to a separate log
  152. toFile: false
  153. # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  154. formatDate: "yyyy/MM/dd HH:mm:ss"
  155. # Log message for bought items
  156. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  157. # Log message for sold items
  158. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  159. # Log message for sold all items
  160. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  161.  
  162. # Sell hand command settings
  163. sellHand:
  164. # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  165. allowAllQuantites: true
  166. # When set to true, /sell hand will work same way as /sell handall does
  167. sellsAllItems: true
  168.  
  169. # Sell all command settings
  170. sellAll:
  171. # When set to true, players will get a detailed summary with prices of each item stack sold
  172. detailedSummary: false
  173.  
  174. buttons:
  175. # "Go back button"
  176. goBack:
  177. item:
  178. # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  179. material: NETHER_STAR
  180. # Amount of the item
  181. amount: 1
  182. # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  183. damage: 0
  184. # (optional) Custom name
  185. name: "&5&lBack"
  186. # (optional) Lore, can contain multiple lines
  187. lore:
  188. - "&5&l * &dClick to return to categories."
  189. # Slot in each shop's GUI
  190. slot: 49
  191. # "Previous page" button
  192. previousPage:
  193. item:
  194. material: PAPER
  195. quantity: 1
  196. name: "&5&lPrevious page"
  197. slot: 48
  198. # "Next page" button
  199. nextPage:
  200. item:
  201. material: PAPER
  202. quantity: 1
  203. name: "&5&lNext page"
  204. slot: 50
  205.  
  206. # Elements of the bulk buy GUI
  207. amountSelectionGUIBulkBuy:
  208. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  209. size: 18
  210. # Choose if buttons type should be replaced with the bought item's type
  211. replaceButtonsType: true
  212. # Buttons
  213. buttons:
  214. # "Buy 1 stack" button
  215. buy1:
  216. # When no material is specified it will be the type of the item being bought
  217. item:
  218. quantity: 1
  219. name: "&5Buy 1 stack"
  220. lore:
  221. - "&5&l * &dPrice: &f$%buy%"
  222. # Value indicated the amount of stacks
  223. value: 1
  224. slot: 0
  225. # "Buy 2 stacks" button
  226. buy2:
  227. item:
  228. quantity: 2
  229. name: "&5Buy 2 stacks"
  230. lore:
  231. - "&5&l * &dPrice: &f$%buy%"
  232. value: 2
  233. slot: 1
  234. # "Buy 3 stacks" button
  235. buy3:
  236. item:
  237. quantity: 3
  238. name: "&5Buy 3 stacks"
  239. lore:
  240. - "&5&l * &dPrice: &f$%buy%"
  241. value: 3
  242. slot: 2
  243. # "Buy 4 stacks" button
  244. buy4:
  245. item:
  246. quantity: 4
  247. name: "&5Buy 4 stacks"
  248. lore:
  249. - "&5&l * &dPrice: &f$%buy%"
  250. value: 4
  251. slot: 3
  252. # "Buy 5 stacks" button
  253. buy5:
  254. item:
  255. quantity: 5
  256. name: "&5Buy 5 stacks"
  257. lore:
  258. - "&5&l * &dPrice: &f$%buy%"
  259. value: 5
  260. slot: 4
  261. # "Buy 6 stacks" button
  262. buy6:
  263. item:
  264. quantity: 6
  265. name: "&5Buy 6 stacks"
  266. lore:
  267. - "&5&l * &dPrice: &f$%buy%"
  268. value: 6
  269. slot: 5
  270. # "Buy 7 stacks" button
  271. buy7:
  272. item:
  273. quantity: 7
  274. name: "&5Buy 7 stacks"
  275. lore:
  276. - "&5&l * &dPrice: &f$%buy%"
  277. value: 7
  278. slot: 6
  279. # "Buy 8 stacks" button
  280. buy8:
  281. item:
  282. quantity: 8
  283. name: "&5Buy 8 stacks"
  284. lore:
  285. - "&5&l * &dPrice: &f$%buy%"
  286. value: 8
  287. slot: 7
  288. # "Buy 9 stacks" button
  289. buy9:
  290. item:
  291. quantity: 9
  292. name: "&5Buy 9 stacks"
  293. lore:
  294. - "&5&l * &dPrice: &f$%buy%"
  295. value: 9
  296. slot: 8
  297. # "Cancel" button
  298. cancel:
  299. item:
  300. material: STAINED_GLASS
  301. quantity: 1
  302. damage: 14
  303. name: "&c&lCancel"
  304. slot: 13
  305.  
  306. # Elements of the bulk buy GUI
  307. amountSelectionGUIBulkSell:
  308. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  309. size: 18
  310. # Choose if buttons type should be replaced with the sold item's type
  311. replaceButtonsType: true
  312. # Buttons
  313. buttons:
  314. # "Sell 1 stack" button
  315. sell1:
  316. # When no material is specified it will be the type of the item being bought
  317. item:
  318. quantity: 1
  319. name: "&5Sell 1 stack"
  320. lore:
  321. - "&5&l * &dPrice: &f$%sell%"
  322. # Value indicated the amount of stacks
  323. value: 1
  324. slot: 0
  325. # "Sell 2 stacks" button
  326. sell2:
  327. item:
  328. quantity: 2
  329. name: "&5Sell 2 stacks"
  330. lore:
  331. - "&5&l * &dPrice: &f$%sell%"
  332. value: 2
  333. slot: 1
  334. # "Sell 3 stacks" button
  335. sell3:
  336. item:
  337. quantity: 3
  338. name: "&5Sell 3 stacks"
  339. lore:
  340. - "&5&l * &dPrice: &f$%sell%"
  341. value: 3
  342. slot: 2
  343. # "Sell 4 stacks" button
  344. sell4:
  345. item:
  346. quantity: 4
  347. name: "&5Sell 4 stacks"
  348. lore:
  349. - "&5&l * &dPrice: &f$%sell%"
  350. value: 4
  351. slot: 3
  352. # "Sell 5 stacks" button
  353. sell5:
  354. item:
  355. quantity: 5
  356. name: "&5Sell 5 stacks"
  357. lore:
  358. - "&5&l * &dPrice: &f$%sell%"
  359. value: 5
  360. slot: 4
  361. # "Sell 6 stacks" button
  362. sell6:
  363. item:
  364. quantity: 6
  365. name: "&5Sell 6 stacks"
  366. lore:
  367. - "&5&l * &dPrice: &f$%sell%"
  368. value: 6
  369. slot: 5
  370. # "Sell 7 stacks" button
  371. sell7:
  372. item:
  373. quantity: 7
  374. name: "&5Sell 7 stacks"
  375. lore:
  376. - "&5&l * &dPrice: &f$%sell%"
  377. value: 7
  378. slot: 6
  379. # "Sell 8 stacks" button
  380. sell8:
  381. item:
  382. quantity: 8
  383. name: "&5Sell 8 stacks"
  384. lore:
  385. - "&5&l * &dPrice: &f$%sell%"
  386. value: 8
  387. slot: 7
  388. # "Sell 9 stacks" button
  389. sell9:
  390. item:
  391. quantity: 9
  392. name: "&5Sell 9 stacks"
  393. lore:
  394. - "&5&l * &dPrice: &f$%sell%"
  395. value: 9
  396. slot: 8
  397. # "Cancel" button
  398. cancel:
  399. item:
  400. material: STAINED_GLASS
  401. quantity: 1
  402. damage: 14
  403. name: "&c&lCancel"
  404. slot: 13
  405.  
  406. # Elements of the regular buy/sell GUI
  407. amountSelectionGUI:
  408. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  409. size: 54
  410. # Slot of the item being bought/sold
  411. itemSlot: 22
  412. # Buttons
  413. buttons:
  414. # "Set to 1" button
  415. set1:
  416. item:
  417. material: STAINED_GLASS_PANE
  418. quantity: 1
  419. damage: 14
  420. name: "&c&lSet to 1"
  421. slot: 18
  422. # "Remove 10" button
  423. remove10:
  424. item:
  425. material: STAINED_GLASS_PANE
  426. quantity: 10
  427. damage: 14
  428. name: "&c&lRemove 10"
  429. slot: 19
  430. # "Remove 1" button
  431. remove1:
  432. item:
  433. material: STAINED_GLASS_PANE
  434. quantity: 1
  435. damage: 14
  436. name: "&c&lRemove 1"
  437. slot: 20
  438. # "Add 1" button
  439. add1:
  440. item:
  441. material: STAINED_GLASS_PANE
  442. quantity: 1
  443. damage: 5
  444. name: "&a&lAdd 1"
  445. slot: 24
  446. # "Add 10" button
  447. add10:
  448. item:
  449. material: STAINED_GLASS_PANE
  450. quantity: 10
  451. damage: 5
  452. name: "&a&lAdd 10"
  453. slot: 25
  454. # "Set to 16" button
  455. set16:
  456. item:
  457. material: STAINED_GLASS_PANE
  458. quantity: 16
  459. damage: 5
  460. name: "&a&lSet to 16"
  461. slot: 26
  462. # "Set to 64" button
  463. set64:
  464. item:
  465. material: STAINED_GLASS_PANE
  466. quantity: 64
  467. damage: 5
  468. name: "&a&lSet to 64"
  469. slot: 26
  470. # "Confirm" button
  471. confirm:
  472. item:
  473. material: STAINED_GLASS
  474. quantity: 1
  475. damage: 5
  476. name: "&a&lConfirm"
  477. slot: 39
  478. # "Sell all" button
  479. sellAll:
  480. item:
  481. material: STAINED_GLASS
  482. quantity: 1
  483. damage: 5
  484. name: "&a&lSell all"
  485. slot: 40
  486. # "Buy more" button
  487. buyMore:
  488. item:
  489. material: STAINED_GLASS
  490. quantity: 64
  491. damage: 5
  492. name: "&a&lBuy more"
  493. slot: 49
  494. # "Sell more" button
  495. sellMore:
  496. item:
  497. material: STAINED_GLASS
  498. quantity: 64
  499. damage: 5
  500. name: "&a&lSell more"
  501. slot: 49
  502. # "Cancel" button
  503. cancel:
  504. item:
  505. material: STAINED_GLASS
  506. quantity: 1
  507. damage: 14
  508. name: "&c&lCancel"
  509. slot: 41
  510.  
  511. shopMenuItems:
  512. # Has to be unique, value doesn't matter
  513. 1:
  514. item:
  515. material: 98
  516. quantity: 1
  517. damage: 0
  518. name: "&eBuilding Blocks"
  519. lore:
  520. - "&7Items needed to &fenchance &7your base."
  521. shop: "buildingblock"
  522. slot: 10
  523. 2:
  524. item:
  525. material: TNT
  526. quantity: 1
  527. damage: 0
  528. name: "&eRaiding Supplies"
  529. lore:
  530. - "&7Get everything you need to &fraiding &7a base."
  531. shop: "raidingsupplies"
  532. slot: 11
  533. 3:
  534. item:
  535. material: CACTUS
  536. quantity: 1
  537. damage: 0
  538. name: "&eFarming Supplies"
  539. lore:
  540. - "&7Items needed to &ffurther your farms."
  541. shop: "farmingsupplies"
  542. slot: 12
  543. 4:
  544. item:
  545. material: 369
  546. quantity: 1
  547. damage: 0
  548. name: "&eMob Drops"
  549. lore:
  550. - "&7Items dropped from &fmobs"
  551. shop: "mobdrops"
  552. slot: 13
  553. 5:
  554. item:
  555. material: 373
  556. quantity: 1
  557. damage: 0
  558. name: "&ePotions"
  559. lore:
  560. - "&7Boost your &fhealth &7and gain &fspecial &7abilities."
  561. shop: "potions"
  562. slot: 14
  563. 6:
  564. item:
  565. material: 264
  566. quantity: 1
  567. damage: 0
  568. name: "&eMinerals"
  569. lore:
  570. - "&7Valuables to grow &fFtop &7value."
  571. shop: "minerals"
  572. slot: 15
  573. 7:
  574. item:
  575. material: 364
  576. quantity: 1
  577. damage: 0
  578. name: "&eFood Supplies"
  579. lore:
  580. - "&7Items to &ffeed &7and &fboost &7 your health."
  581. shop: "foodsupplies"
  582. slot: 16
  583. 8:
  584. item:
  585. material: 38
  586. quantity: 1
  587. damage: 0
  588. name: "&eDecorative Items"
  589. lore:
  590. - "&7Get creative and &fdecorate &7your base."
  591. shop: "decorative"
  592. slot: 20
  593. 9:
  594. item:
  595. material: 138
  596. quantity: 1
  597. damage: 0
  598. name: "&eMiscellaneous"
  599. lore:
  600. - "&7Other items that don't fit anywhere else."
  601. shop: "miscellaneous"
  602. slot: 21
  603. 10:
  604. item:
  605. material: 311
  606. damage: 0
  607. quantity: 1
  608. name: "&eArmor"
  609. lore:
  610. - "&7Get access to &fweapons&7."
  611. shop: "armor"
  612. slot: 22
  613. 11:
  614. item:
  615. material: 52
  616. damage: 0
  617. quantity: 1
  618. name: "&eSpawners"
  619. lore:
  620. - "&7get &fspawners &7and &fgrind &7your way up."
  621. shop: "spawners"
  622. slot: 23
  623. 12:
  624. item:
  625. material: 154
  626. damage: 0
  627. quantity: 1
  628. name: "&eDonator Shop"
  629. lore:
  630. - "&7Get access to &fexclusive &7items and &e Sell/Buy prices&7."
  631. shop: "dshop"
  632. slot: 24
  633.  
  634. specialElements:
  635. balance:
  636. item:
  637. material: GOLD_INGOT
  638. quantity: 1
  639. name: "&5Your balance"
  640. lore:
  641. - "&f$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement