Guest User

Untitled

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