Advertisement
Guest User

Untitled

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