Advertisement
Guest User

Untitled

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