Advertisement
Guest User

Untitled

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