Advertisement
Guest User

Untitled

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