Advertisement
Guest User

Untitled

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