Guest User

Untitled

a guest
Jul 16th, 2018
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: "&6&lShop &e&lmenu"
  28. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  29. shopMenuSize: 18
  30. # Choose an item to fill the empty slots of menu with
  31. shopMenuFillItem:
  32. material: STAINED_GLASS_PANE
  33. damage: 0
  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: 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 price: &c%buy%$"
  125. - "&7Sell price: &a%sell%$"
  126. - "&9Click with MMB to sell all"
  127. # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  128. itemBuyGUI:
  129. - "&7Buy price: &c%buy%$"
  130. # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  131. itemSellGUI:
  132. - "&7Sell price: &a%sell%$"
  133. # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  134. itemSellGUISellAll:
  135. - "&7Sell all for: &a%sell%$"
  136. # This one to permissions
  137. permission:
  138. - "&7Buy price: &c%buy%$"
  139. # And this one to enchantments
  140. enchantment:
  141. - "&7Buy price: &c%buy%$"
  142. # And the last one to commands
  143. command:
  144. - "&7Buy price: &c%buy%$"
  145.  
  146. # Logging settings
  147. log:
  148. # Define whether transactions will be logged to the console/main server log
  149. toConsole: true
  150. # Define whether transactions will be logged to a separate log
  151. toFile: false
  152. # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  153. formatDate: "yyyy/MM/dd HH:mm:ss"
  154. # Log message for bought items
  155. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  156. # Log message for sold items
  157. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  158. # Log message for sold all items
  159. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  160.  
  161. # Sell hand command settings
  162. sellHand:
  163. # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  164. allowAllQuantites: true
  165. # When set to true, /sell hand will work same way as /sell handall does
  166. sellsAllItems: false
  167.  
  168. # Sell all command settings
  169. sellAll:
  170. # When set to true, players will get a detailed summary with prices of each item stack sold
  171. detailedSummary: false
  172.  
  173. buttons:
  174. # "Go back button"
  175. goBack:
  176. item:
  177. # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  178. material: BARRIER
  179. # Amount of the item
  180. amount: 1
  181. # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  182. damage: 0
  183. # (optional) Custom name
  184. name: "&c&lGo back to categories"
  185. # (optional) Lore, can contain multiple lines
  186. lore:
  187. - "&7Click here to return"
  188. - "&7to the main menu"
  189. # Slot in each shop's GUI
  190. slot: 49
  191. # "Previous page" button
  192. previousPage:
  193. item:
  194. material: PAPER
  195. quantity: 1
  196. name: "&e&lPrevious page"
  197. slot: 48
  198. # "Next page" button
  199. nextPage:
  200. item:
  201. material: PAPER
  202. quantity: 1
  203. name: "&e&lNext page"
  204. slot: 50
  205.  
  206. # Elements of the bulk buy GUI
  207. amountSelectionGUIBulkBuy:
  208. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  209. size: 18
  210. # Choose if buttons type should be replaced with the bought item's type
  211. replaceButtonsType: true
  212. # Buttons
  213. buttons:
  214. # "Buy 1 stack" button
  215. buy1:
  216. # When no material is specified it will be the type of the item being bought
  217. item:
  218. quantity: 1
  219. name: "&aBuy 1 stack"
  220. lore:
  221. - "&7Price: &c%buy%$"
  222. # Value indicated the amount of stacks
  223. value: 1
  224. slot: 0
  225. # "Buy 2 stacks" button
  226. buy2:
  227. item:
  228. quantity: 2
  229. name: "&aBuy 2 stacks"
  230. lore:
  231. - "&7Price: &c%buy%$"
  232. value: 2
  233. slot: 1
  234. # "Buy 3 stacks" button
  235. buy3:
  236. item:
  237. quantity: 3
  238. name: "&aBuy 3 stacks"
  239. lore:
  240. - "&7Price: &c%buy%$"
  241. value: 3
  242. slot: 2
  243. # "Buy 4 stacks" button
  244. buy4:
  245. item:
  246. quantity: 4
  247. name: "&aBuy 4 stacks"
  248. lore:
  249. - "&7Price: &c%buy%$"
  250. value: 4
  251. slot: 3
  252. # "Buy 5 stacks" button
  253. buy5:
  254. item:
  255. quantity: 5
  256. name: "&aBuy 5 stacks"
  257. lore:
  258. - "&7Price: &c%buy%$"
  259. value: 5
  260. slot: 4
  261. # "Buy 6 stacks" button
  262. buy6:
  263. item:
  264. quantity: 6
  265. name: "&aBuy 6 stacks"
  266. lore:
  267. - "&7Price: &c%buy%$"
  268. value: 6
  269. slot: 5
  270. # "Buy 7 stacks" button
  271. buy7:
  272. item:
  273. quantity: 7
  274. name: "&aBuy 7 stacks"
  275. lore:
  276. - "&7Price: &c%buy%$"
  277. value: 7
  278. slot: 6
  279. # "Buy 8 stacks" button
  280. buy8:
  281. item:
  282. quantity: 8
  283. name: "&aBuy 8 stacks"
  284. lore:
  285. - "&7Price: &c%buy%$"
  286. value: 8
  287. slot: 7
  288. # "Buy 9 stacks" button
  289. buy9:
  290. item:
  291. quantity: 9
  292. name: "&aBuy 9 stacks"
  293. lore:
  294. - "&7Price: &c%buy%$"
  295. value: 9
  296. slot: 8
  297. # "Cancel" button
  298. cancel:
  299. item:
  300. material: STAINED_GLASS
  301. quantity: 1
  302. damage: 14
  303. name: "&c&lCancel"
  304. slot: 13
  305.  
  306. # Elements of the bulk buy GUI
  307. amountSelectionGUIBulkSell:
  308. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  309. size: 18
  310. # Choose if buttons type should be replaced with the sold item's type
  311. replaceButtonsType: true
  312. # Buttons
  313. buttons:
  314. # "Sell 1 stack" button
  315. sell1:
  316. # When no material is specified it will be the type of the item being bought
  317. item:
  318. quantity: 1
  319. name: "&aSell 1 stack"
  320. lore:
  321. - "&7Price: &c%sell%$"
  322. # Value indicated the amount of stacks
  323. value: 1
  324. slot: 0
  325. # "Sell 2 stacks" button
  326. sell2:
  327. item:
  328. quantity: 2
  329. name: "&aSell 2 stacks"
  330. lore:
  331. - "&7Price: &c%sell%$"
  332. value: 2
  333. slot: 1
  334. # "Sell 3 stacks" button
  335. sell3:
  336. item:
  337. quantity: 3
  338. name: "&aSell 3 stacks"
  339. lore:
  340. - "&7Price: &c%sell%$"
  341. value: 3
  342. slot: 2
  343. # "Sell 4 stacks" button
  344. sell4:
  345. item:
  346. quantity: 4
  347. name: "&aSell 4 stacks"
  348. lore:
  349. - "&7Price: &c%sell%$"
  350. value: 4
  351. slot: 3
  352. # "Sell 5 stacks" button
  353. sell5:
  354. item:
  355. quantity: 5
  356. name: "&aSell 5 stacks"
  357. lore:
  358. - "&7Price: &c%sell%$"
  359. value: 5
  360. slot: 4
  361. # "Sell 6 stacks" button
  362. sell6:
  363. item:
  364. quantity: 6
  365. name: "&aSell 6 stacks"
  366. lore:
  367. - "&7Price: &c%sell%$"
  368. value: 6
  369. slot: 5
  370. # "Sell 7 stacks" button
  371. sell7:
  372. item:
  373. quantity: 7
  374. name: "&aSell 7 stacks"
  375. lore:
  376. - "&7Price: &c%sell%$"
  377. value: 7
  378. slot: 6
  379. # "Sell 8 stacks" button
  380. sell8:
  381. item:
  382. quantity: 8
  383. name: "&aSell 8 stacks"
  384. lore:
  385. - "&7Price: &c%sell%$"
  386. value: 8
  387. slot: 7
  388. # "Sell 9 stacks" button
  389. sell9:
  390. item:
  391. quantity: 9
  392. name: "&aSell 9 stacks"
  393. lore:
  394. - "&7Price: &c%sell%$"
  395. value: 9
  396. slot: 8
  397. # "Cancel" button
  398. cancel:
  399. item:
  400. material: STAINED_GLASS
  401. quantity: 1
  402. damage: 14
  403. name: "&c&lCancel"
  404. slot: 13
  405.  
  406. # Elements of the regular buy/sell GUI
  407. amountSelectionGUI:
  408. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  409. size: 54
  410. # Slot of the item being bought/sold
  411. itemSlot: 22
  412. # Buttons
  413. buttons:
  414. # "Set to 1" button
  415. set1:
  416. item:
  417. material: STAINED_GLASS_PANE
  418. quantity: 1
  419. damage: 14
  420. name: "&c&lSet to 1"
  421. slot: 18
  422. # "Remove 10" button
  423. remove10:
  424. item:
  425. material: STAINED_GLASS_PANE
  426. quantity: 10
  427. damage: 14
  428. name: "&c&lRemove 10"
  429. slot: 19
  430. # "Remove 1" button
  431. remove1:
  432. item:
  433. material: STAINED_GLASS_PANE
  434. quantity: 1
  435. damage: 14
  436. name: "&c&lRemove 1"
  437. slot: 20
  438. # "Add 1" button
  439. add1:
  440. item:
  441. material: STAINED_GLASS_PANE
  442. quantity: 1
  443. damage: 5
  444. name: "&a&lAdd 1"
  445. slot: 24
  446. # "Add 10" button
  447. add10:
  448. item:
  449. material: STAINED_GLASS_PANE
  450. quantity: 10
  451. damage: 5
  452. name: "&a&lAdd 10"
  453. slot: 25
  454. # "Set to 16" button
  455. set16:
  456. item:
  457. material: STAINED_GLASS_PANE
  458. quantity: 16
  459. damage: 5
  460. name: "&a&lSet to 16"
  461. slot: 26
  462. # "Set to 64" button
  463. set64:
  464. item:
  465. material: STAINED_GLASS_PANE
  466. quantity: 64
  467. damage: 5
  468. name: "&a&lSet to 64"
  469. slot: 26
  470. # "Confirm" button
  471. confirm:
  472. item:
  473. material: STAINED_GLASS
  474. quantity: 1
  475. damage: 5
  476. name: "&a&lConfirm"
  477. slot: 39
  478. # "Sell all" button
  479. sellAll:
  480. item:
  481. material: STAINED_GLASS
  482. quantity: 1
  483. damage: 5
  484. name: "&a&lSell all"
  485. slot: 40
  486. # "Buy more" button
  487. buyMore:
  488. item:
  489. material: STAINED_GLASS
  490. quantity: 64
  491. damage: 5
  492. name: "&a&lBuy more"
  493. slot: 49
  494. # "Sell more" button
  495. sellMore:
  496. item:
  497. material: STAINED_GLASS
  498. quantity: 64
  499. damage: 5
  500. name: "&a&lSell more"
  501. slot: 49
  502. # "Cancel" button
  503. cancel:
  504. item:
  505. material: STAINED_GLASS
  506. quantity: 1
  507. damage: 14
  508. name: "&c&lCancel"
  509. slot: 41
  510.  
  511. shopMenuItems:
  512. # Has to be unique, value doesn't matter
  513. 1:
  514. item:
  515. # The same rules apply for material, amount, damage and lore as for goBackButton
  516. material: GRASS
  517. quantity: 1
  518. name: "&9&lBlocks"
  519. # Shop ID from shops.yml
  520. shop: "blocks"
  521. # Slot in shops menu, counting from 0 to 53
  522. slot: 11
  523. 2:
  524. item:
  525. material: COOKED_CHICKEN
  526. quantity: 1
  527. damage: 0
  528. name: "&2&lFood"
  529. lore:
  530. - "&7Get some yummy food here!"
  531. shop: "food"
  532. slot: 12
  533. 3:
  534. item:
  535. material: GOLD_INGOT
  536. quantity: 1
  537. damage: 0
  538. name: "&3&lOres"
  539. shop: "ores"
  540. slot: 13
  541. 4:
  542. item:
  543. material: IRON_PICKAXE
  544. quantity: 1
  545. name: "&8&lTools"
  546. shop: "tools"
  547. slot: 14
  548. 5:
  549. item:
  550. material: DIAMOND_CHESTPLATE
  551. quantity: 1
  552. name: "&4&lArmor"
  553. shop: "armor"
  554. slot: 15
  555. 6:
  556. item:
  557. material: WHEAT
  558. quantity: 1
  559. name: "&5&lFarming"
  560. shop: "farming"
  561. slot: 21
  562. 7:
  563. item:
  564. material: SPIDER_EYE
  565. quantity: 1
  566. name: "&9&lMob drops"
  567. shop: "drops"
  568. slot: 22
  569. 8:
  570. item:
  571. material: INK_SACK
  572. quantity: 1
  573. damage: 12
  574. name: "&2&lDyes"
  575. shop: "dyes"
  576. slot: 23
  577. 9:
  578. item:
  579. material: SADDLE
  580. quantity: 1
  581. name: "&3&lMiscellanous"
  582. shop: "miscellanous"
  583. slot: 31
  584. 10:
  585. item:
  586. material: SPAWNER
  587. quantity: 1
  588. damage: 0
  589. name: "&6&lSpawners"
  590. lore:
  591. - "&6&l(Purchase &e&lSpawners)"
  592. shop: "spawners"
  593. slot: 22
  594.  
  595.  
  596. specialElements:
  597. balance:
  598. item:
  599. material: GOLD_INGOT
  600. quantity: 1
  601. name: "&6&lYour balance"
  602. lore:
  603. - "&7$%balance%"
RAW Paste Data