Advertisement
Guest User

fdfd

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