Advertisement
IcyBlue

Untitled

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