Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.65 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: "&eItem Shop"
  28. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  29. shopMenuSize: 45
  30. # Choose an item to fill the empty slots of menu with
  31. shopMenuFillItem:
  32. material: 999
  33. damage: 999
  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: UP
  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. - "&7Buy For &2$&a%buy%"
  125. - "&7Sell For &4$&c%sell%"
  126. # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  127. itemBuyGUI:
  128. - "&7Buy For &2$&a%buy%"
  129. # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  130. itemSellGUI:
  131. - "&7Sell For &4$&c%sell%"
  132. # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  133. itemSellGUISellAll:
  134. - "&7Sell All For &4$&c%sell%"
  135. # This one to permissions
  136. permission:
  137. - "&7Buy For &2$&a%buy%"
  138. # And this one to enchantments
  139. enchantment:
  140. - "&7Buy For &2$&a%buy%"
  141. # And the last one to commands
  142. command:
  143. - "&7Buy For &2$&a%buy%"
  144. # Logging settings
  145. log:
  146. # Define whether transactions will be logged to the console/main server log
  147. toConsole: false
  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: true
  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: BARRIER
  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: "&c&lBack"
  183. # (optional) Lore, can contain multiple lines
  184. lore:
  185. - "&7Click here to return to the main menu."
  186. # Slot in each shop's GUI
  187. slot: 49
  188. # "Previous page" button
  189. previousPage:
  190. item:
  191. material: PAPER
  192. quantity: 1
  193. name: "&dPrevious Page"
  194. slot: 48
  195. # "Next page" button
  196. nextPage:
  197. item:
  198. material: PAPER
  199. quantity: 1
  200. name: "&dNext Page"
  201. slot: 50
  202.  
  203. # Elements of the bulk buy GUI
  204. amountSelectionGUIBulkBuy:
  205. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  206. size: 18
  207. # Choose if buttons type should be replaced with the bought item's type
  208. replaceButtonsType: true
  209. # Buttons
  210. buttons:
  211. # "Buy 1 stack" button
  212. buy1:
  213. # When no material is specified it will be the type of the item being bought
  214. item:
  215. quantity: 1
  216. name: "&aBuy 1 stack"
  217. lore:
  218. - "&7Price: &2$&a%buy%"
  219. # Value indicated the amount of stacks
  220. value: 1
  221. slot: 0
  222. # "Buy 2 stacks" button
  223. buy2:
  224. item:
  225. quantity: 2
  226. name: "&aBuy 2 stacks"
  227. lore:
  228. - "&7Price: &2$&a%buy%"
  229. value: 2
  230. slot: 1
  231. # "Buy 3 stacks" button
  232. buy3:
  233. item:
  234. quantity: 3
  235. name: "&aBuy 3 stacks"
  236. lore:
  237. - "&7Price: &2$&a%buy%"
  238. value: 3
  239. slot: 2
  240. # "Buy 4 stacks" button
  241. buy4:
  242. item:
  243. quantity: 4
  244. name: "&aBuy 4 stacks"
  245. lore:
  246. - "&7Price: &2$&a%buy%"
  247. value: 4
  248. slot: 3
  249. # "Buy 5 stacks" button
  250. buy5:
  251. item:
  252. quantity: 5
  253. name: "&aBuy 5 stacks"
  254. lore:
  255. - "&7Price: &2$&a%buy%"
  256. value: 5
  257. slot: 4
  258. # "Buy 6 stacks" button
  259. buy6:
  260. item:
  261. quantity: 6
  262. name: "&aBuy 6 stacks"
  263. lore:
  264. - "&7Price: &2$&a%buy%"
  265. value: 6
  266. slot: 5
  267. # "Buy 7 stacks" button
  268. buy7:
  269. item:
  270. quantity: 7
  271. name: "&aBuy 7 stacks"
  272. lore:
  273. - "&7Price: &2$&a%buy%"
  274. value: 7
  275. slot: 6
  276. # "Buy 8 stacks" button
  277. buy8:
  278. item:
  279. quantity: 8
  280. name: "&aBuy 8 stacks"
  281. lore:
  282. - "&7Price: &2$&a%buy%"
  283. value: 8
  284. slot: 7
  285. # "Buy 9 stacks" button
  286. buy9:
  287. item:
  288. quantity: 9
  289. name: "&aBuy 9 stacks"
  290. lore:
  291. - "&7Price: &2$&a%buy%"
  292. value: 9
  293. slot: 8
  294. # "Cancel" button
  295. cancel:
  296. item:
  297. material: STAINED_GLASS
  298. quantity: 1
  299. damage: 14
  300. name: "&c&lCancel"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  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. - "&7Price: &4$&c%sell%"
  392. value: 9
  393. slot: 8
  394. # "Cancel" button
  395. cancel:
  396. item:
  397. material: STAINED_GLASS
  398. quantity: 1
  399. damage: 14
  400. name: "&c&lCancel"
  401. slot: 13
  402.  
  403. # Elements of the regular buy/sell GUI
  404. amountSelectionGUI:
  405. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  406. size: 54
  407. # Slot of the item being bought/sold
  408. itemSlot: 22
  409. # Buttons
  410. buttons:
  411. # "Set to 1" button
  412. set1:
  413. item:
  414. material: STAINED_GLASS_PANE
  415. quantity: 1
  416. damage: 14
  417. name: "&c&lSet to 1"
  418. slot: 18
  419. # "Remove 10" button
  420. remove10:
  421. item:
  422. material: STAINED_GLASS_PANE
  423. quantity: 10
  424. damage: 14
  425. name: "&c&lRemove 10"
  426. slot: 19
  427. # "Remove 1" button
  428. remove1:
  429. item:
  430. material: STAINED_GLASS_PANE
  431. quantity: 1
  432. damage: 14
  433. name: "&c&lRemove 1"
  434. slot: 20
  435. # "Add 1" button
  436. add1:
  437. item:
  438. material: STAINED_GLASS_PANE
  439. quantity: 1
  440. damage: 5
  441. name: "&a&lAdd 1"
  442. slot: 24
  443. # "Add 10" button
  444. add10:
  445. item:
  446. material: STAINED_GLASS_PANE
  447. quantity: 10
  448. damage: 5
  449. name: "&a&lAdd 10"
  450. slot: 25
  451. # "Set to 16" button
  452. set16:
  453. item:
  454. material: STAINED_GLASS_PANE
  455. quantity: 16
  456. damage: 5
  457. name: "&a&lSet to 16"
  458. slot: 26
  459. # "Set to 64" button
  460. set64:
  461. item:
  462. material: STAINED_GLASS_PANE
  463. quantity: 64
  464. damage: 5
  465. name: "&a&lSet to 64"
  466. slot: 26
  467. # "Confirm" button
  468. confirm:
  469. item:
  470. material: STAINED_GLASS
  471. quantity: 1
  472. damage: 5
  473. name: "&a&lConfirm"
  474. slot: 39
  475. # "Sell all" button
  476. sellAll:
  477. item:
  478. material: STAINED_GLASS
  479. quantity: 1
  480. damage: 5
  481. name: "&a&lSell all"
  482. slot: 40
  483. # "Buy more" button
  484. buyMore:
  485. item:
  486. material: STAINED_GLASS
  487. quantity: 64
  488. damage: 5
  489. name: "&a&lBuy more"
  490. slot: 49
  491. # "Sell more" button
  492. sellMore:
  493. item:
  494. material: STAINED_GLASS
  495. quantity: 64
  496. damage: 5
  497. name: "&a&lSell more"
  498. slot: 49
  499. # "Cancel" button
  500. cancel:
  501. item:
  502. material: STAINED_GLASS
  503. quantity: 1
  504. damage: 14
  505. name: "&c&lCancel"
  506. slot: 41
  507.  
  508. shopMenuItems:
  509. # Has to be unique, value doesn't matter
  510. 1:
  511. item:
  512. # The same rules apply for material, amount, damage and lore as for goBackButton
  513. material: Grass
  514. quantity: 1
  515. name: "&dBlocks"
  516. # Shop ID from shops.yml
  517. shop: "blocks"
  518. # Slot in shops menu, counting from 0 to 53
  519. slot: 11
  520. 2:
  521. item:
  522. material: 95
  523. quantity: 1
  524. damage: 0
  525. name: "&dColoured Blocks"
  526. shop: "Colored_Blocks"
  527. slot: 20
  528. 3:
  529. item:
  530. material: DIAMOND
  531. quantity: 1
  532. damage: 0
  533. name: "&dMining"
  534. shop: "minerals"
  535. slot: 15
  536. 4:
  537. item:
  538. spawner: true
  539. mob: LAVASLIME
  540. quantity: 1
  541. name: "&dSpawners"
  542. shop: "spawners"
  543. slot: 33
  544. 5:
  545. item:
  546. material: WHEAT
  547. quantity: 1
  548. name: "&5Farming"
  549. shop: "farming"
  550. slot: 22
  551. 6:
  552. item:
  553. material: ROTTEN_FLESH
  554. quantity: 1
  555. name: "&5Mob Drops"
  556. shop: "drops"
  557. slot: 13
  558. 7:
  559. item:
  560. material: REDSTONE
  561. quantity: 1
  562. damage: 0
  563. name: "&5Redstone"
  564. shop: "redstone"
  565. slot: 31
  566. 8:
  567. item:
  568. material: SADDLE
  569. quantity: 1
  570. name: "&dMiscellaneous"
  571. shop: "miscellanous"
  572. slot: 29
  573. 9:
  574. item:
  575. material: BREWING_STAND_ITEM
  576. quantity: 1
  577. name: "&dBrewing"
  578. shop: "brewing"
  579. slot: 24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement