Advertisement
Guest User

Untitled

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