Advertisement
Guest User

Untitled

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