Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.81 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. # - CUSTOM (requires custom implementation, see API section in plugin documentation)
  26. economyType: VAULT
  27. # Name of the main GUI
  28. shopMenuName: "&3&lShop"
  29. # Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  30. shopMenuSize: 36
  31. # Choose an item to fill the empty slots of menu with
  32. shopMenuFillItem:
  33. material: STAINED_GLASS_PANE
  34. damage: 15
  35. name: " "
  36. # Define whether selling all with middle mouse button is enabled
  37. enableSellAll: true
  38. # Define whether the buy GUI with option to select quantity is enabled
  39. enableBuyGUI: true
  40. # Define whether the sell GUI with option to select quantity is enabled
  41. enableSellGUI: true
  42. # Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  43. enableSellGUISellAll: true
  44. # Define whether after closing/buying/selling the shop GUI should be opened again
  45. returnToShop: true
  46. # Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  47. quickBuySell: false
  48. # Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  49. hideBuyPriceForUnbuyable: true
  50. # Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  51. hideSellPriceForUnsellable: true
  52. # Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  53. invertBuySell: false
  54. # Maximum amount of enchantments players can add to an item, set to -1 for no limit
  55. maxEnchantments: 3
  56. # 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)
  57. limitEnchantmentLevelDiff: false
  58. # Define whether the amount selection double click bug fix should be enabled
  59. enableAmountSelectionFix: true
  60. # 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)
  61. allowAllSellAllStackSizes: false
  62. # 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)
  63. roundPrices: none
  64. # 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.
  65. disableMainMenu: false
  66. # Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  67. useDifferentMessagesForFreeItems: true
  68. # Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
  69. capitalizeItemNames: true
  70. # Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
  71. priceModifiersType: BOTH
  72. # Choose if the gui shall be closed after using the Sell All feature
  73. closeGuiAfterSellAll: false
  74. # 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)
  75. openBulkGuiImmediately: false
  76. # 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
  77. # Format is same as for regular items in shops.yml
  78. itemStackSizeCappedAt:
  79. 1:
  80. material: ENDER_PEARL
  81. size: 16
  82. 2:
  83. material: SNOW_BALL
  84. size: 16
  85. 3:
  86. material: SIGN
  87. size: 16
  88. 4:
  89. material: EGG
  90. size: 16
  91. 5:
  92. material: BUCKET
  93. size: 1
  94. # Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  95. disableShopsInGamemodes:
  96. - ADVENTURE
  97. - CREATIVE
  98. - SPECTATOR
  99. # Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  100. disableShopsInWorlds: []
  101.  
  102. # 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
  103. displayPriceModifiersInPercents: true
  104.  
  105. # Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  106. disableSudoWorldPermissionCheck: false
  107.  
  108. # Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  109. disableSudoShopPermissionCheck: false
  110.  
  111. # Choose whether free items (with sell price of $0) should be excluded from being sold using /sell hand and /sell all
  112. sellHandAllExcludeFreeItems: true
  113.  
  114. # Choose predefined settings for all items (will be overriden when set explicitly for an item in shops.yml)
  115. defaultItemSettings:
  116. # Choose whether item meta (name, lore etc.) should be compared when players attempt to sell an item
  117. compareMeta: false
  118. # Choose whether item meta should be removed from an item when it's purchased by a player from the shop
  119. stripItemMeta: false
  120.  
  121. # Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  122. shopItemLoreFormat:
  123. # This lore will be applied to items
  124. item:
  125. - "&7Nakupujúca cena: &c%buy%$"
  126. - "&7Vykupujúca cena: &a%sell%$"
  127. - "&9Click with MMB to sell all"
  128. # This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  129. itemBuyGUI:
  130. - "&7Kupujúca cena: &c%buy%$"
  131. # This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  132. itemSellGUI:
  133. - "&7Vykupujúca cena: &a%sell%$"
  134. # This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  135. itemSellGUISellAll:
  136. - "&7Predaj všetko za: &a%sell%$"
  137. # This one to permissions
  138. permission:
  139. - "&7Kupujúca cena: &c%buy%$"
  140. # And this one to enchantments
  141. enchantment:
  142. - "&7Kupujúca cena: &c%buy%$"
  143. # And the last one to commands
  144. command:
  145. - "&7Kupujúca cena: &c%buy%$"
  146.  
  147. # Logging settings
  148. log:
  149. # Define whether transactions will be logged to the console/main server log
  150. toConsole: true
  151. # Define whether transactions will be logged to a separate log
  152. toFile: false
  153. # Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  154. formatDate: "yyyy/MM/dd HH:mm:ss"
  155. # Log message for bought items
  156. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  157. # Log message for sold items
  158. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  159. # Log message for sold all items
  160. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  161.  
  162. # Sell hand command settings
  163. sellHand:
  164. # When set to true, players will be able to sell any quantity of the item (the price will be calculated from the base price)
  165. allowAllQuantites: true
  166. # When set to true, /sell hand will work same way as /sell handall does
  167. sellsAllItems: false
  168.  
  169. # Sell all command settings
  170. sellAll:
  171. # When set to true, players will get a detailed summary with prices of each item stack sold
  172. detailedSummary: false
  173. # 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
  174. findMaxSellPrice: true
  175.  
  176. buttons:
  177. # "Go back button"
  178. goBack:
  179. item:
  180. # Material name, full list can be found here: http://wiki.brcdev.net/Materials
  181. material: BARRIER
  182. # Amount of the item
  183. amount: 1
  184. # (optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  185. damage: 0
  186. # (optional) Custom name
  187. name: "&c&lChoď späť do menu"
  188. # (optional) Lore, can contain multiple lines
  189. lore:
  190. - "&7Klikni sem pre vrátenie"
  191. - "&7do základného menu"
  192. # Slot in each shop's GUI
  193. slot: 49
  194. # "Previous page" button
  195. previousPage:
  196. item:
  197. material: PAPER
  198. quantity: 1
  199. name: "&e&lPredchodzia strana"
  200. slot: 48
  201. # "Next page" button
  202. nextPage:
  203. item:
  204. material: PAPER
  205. quantity: 1
  206. name: "&e&lĎalšia strana"
  207. slot: 50
  208.  
  209. # Elements of the bulk buy GUI
  210. amountSelectionGUIBulkBuy:
  211. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  212. size: 18
  213. # Choose if buttons type should be replaced with the bought item's type
  214. replaceButtonsType: true
  215. # Buttons
  216. buttons:
  217. # "Buy 1 stack" button
  218. buy1:
  219. # When no material is specified it will be the type of the item being bought
  220. item:
  221. quantity: 1
  222. name: "&aKúp si 1 stack"
  223. lore:
  224. - "&7Cena: &c%buy%$"
  225. # Value indicated the amount of stacks
  226. value: 1
  227. slot: 0
  228. # "Buy 2 stacks" button
  229. buy2:
  230. item:
  231. quantity: 2
  232. name: "&aKúp si 2 stacky"
  233. lore:
  234. - "&7Cena: &c%buy%$"
  235. value: 2
  236. slot: 1
  237. # "Buy 3 stacks" button
  238. buy3:
  239. item:
  240. quantity: 3
  241. name: "&aKúp si 3 stacky"
  242. lore:
  243. - "&7Cena: &c%buy%$"
  244. value: 3
  245. slot: 2
  246. # "Buy 4 stacks" button
  247. buy4:
  248. item:
  249. quantity: 4
  250. name: "&aKúp si 4 stacky"
  251. lore:
  252. - "&7Cena: &c%buy%$"
  253. value: 4
  254. slot: 3
  255. # "Buy 5 stacks" button
  256. buy5:
  257. item:
  258. quantity: 5
  259. name: "&aKúp si 5 stackov"
  260. lore:
  261. - "&7Cena: &c%buy%$"
  262. value: 5
  263. slot: 4
  264. # "Buy 6 stacks" button
  265. buy6:
  266. item:
  267. quantity: 6
  268. name: "&aKúp si 6 stackov"
  269. lore:
  270. - "&7Cena: &c%buy%$"
  271. value: 6
  272. slot: 5
  273. # "Buy 7 stacks" button
  274. buy7:
  275. item:
  276. quantity: 7
  277. name: "&aKúp si 7 stackov"
  278. lore:
  279. - "&7Cena: &c%buy%$"
  280. value: 7
  281. slot: 6
  282. # "Buy 8 stacks" button
  283. buy8:
  284. item:
  285. quantity: 8
  286. name: "&aKúp si 8 stackov"
  287. lore:
  288. - "&7Cena: &c%buy%$"
  289. value: 8
  290. slot: 7
  291. # "Buy 9 stacks" button
  292. buy9:
  293. item:
  294. quantity: 9
  295. name: "&aKúp si 9 stackov"
  296. lore:
  297. - "&7Cena: &c%buy%$"
  298. value: 9
  299. slot: 8
  300. # "Cancel" button
  301. cancel:
  302. item:
  303. material: STAINED_GLASS
  304. quantity: 1
  305. damage: 14
  306. name: "&c&lZrušiť"
  307. slot: 13
  308.  
  309. # Elements of the bulk buy GUI
  310. amountSelectionGUIBulkSell:
  311. # Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  312. size: 18
  313. # Choose if buttons type should be replaced with the sold item's type
  314. replaceButtonsType: true
  315. # Buttons
  316. buttons:
  317. # "Sell 1 stack" button
  318. sell1:
  319. # When no material is specified it will be the type of the item being bought
  320. item:
  321. quantity: 1
  322. name: "&aPredaj 1 stack"
  323. lore:
  324. - "&7Cena: &c%sell%$"
  325. # Value indicated the amount of stacks
  326. value: 1
  327. slot: 0
  328. # "Buy 2 stacks" button
  329. sell2:
  330. item:
  331. quantity: 2
  332. name: "&aPredaj 2 stacky"
  333. lore:
  334. - "&7Cena: &c%sell%$"
  335. value: 2
  336. slot: 1
  337. # "Buy 3 stacks" button
  338. sell3:
  339. item:
  340. quantity: 3
  341. name: "&aPredaj 3 stacky"
  342. lore:
  343. - "&7Cena: &c%sell%$"
  344. value: 3
  345. slot: 2
  346. # "Buy 4 stacks" button
  347. sell4:
  348. item:
  349. quantity: 4
  350. name: "&aPredaj 4 stacky"
  351. lore:
  352. - "&7Cena: &c%sell%$"
  353. value: 4
  354. slot: 3
  355. # "Buy 5 stacks" button
  356. sell5:
  357. item:
  358. quantity: 5
  359. name: "&aPredaj 5 stackov"
  360. lore:
  361. - "&7Cena: &c%sell%$"
  362. value: 5
  363. slot: 4
  364. # "Buy 6 stacks" button
  365. sell6:
  366. item:
  367. quantity: 6
  368. name: "&aPredaj 6 stackov
  369. lore:
  370. - "&7Cena: &c%sell%$"
  371. value: 6
  372. slot: 5
  373. # "Buy 7 stacks" button
  374. sell7:
  375. item:
  376. quantity: 7
  377. name: "&aPredaj 7 stackov"
  378. lore:
  379. - "&7Cena: &c%sell%$"
  380. value: 7
  381. slot: 6
  382. # "Buy 8 stacks" button
  383. sell8:
  384. item:
  385. quantity: 8
  386. name: "&aPredaj 8 stackov"
  387. lore:
  388. - "&7Cena: &c%sell%$"
  389. value: 8
  390. slot: 7
  391. # "Buy 9 stacks" button
  392. sell9:
  393. item:
  394. quantity: 9
  395. name: "&aPredaj 9 stackov"
  396. lore:
  397. - "&7Cena: &c%sell%$"
  398. value: 9
  399. slot: 8
  400. # "Cancel" button
  401. cancel:
  402. item:
  403. material: STAINED_GLASS
  404. quantity: 1
  405. damage: 14
  406. name: "&c&lZrušiť"
  407. slot: 13
  408.  
  409. shopMenuItems:
  410. # Has to be unique, value doesn't matter
  411. 1:
  412. item:
  413. # The same rules apply for material, amount, damage and lore as for goBackButton
  414. material: GRASS
  415. quantity: 1
  416. name: "&9&lBlocky"
  417. # Shop ID from shops.yml
  418. shop: "blocks"
  419. # Slot in shops menu, counting from 0 to 53
  420. slot: 11
  421. 2:
  422. item:
  423. material: COOKED_CHICKEN
  424. quantity: 1
  425. damage: 0
  426. name: "&2&lJedlo"
  427. shop: "food"
  428. slot: 12
  429. 3:
  430. item:
  431. material: GOLD_INGOT
  432. quantity: 1
  433. damage: 0
  434. name: "&3&lRudy"
  435. shop: "ores"
  436. slot: 13
  437. 4:
  438. item:
  439. material: IRON_PICKAXE
  440. quantity: 1
  441. name: "&8&lNáradie"
  442. shop: "tools"
  443. slot: 14
  444. 5:
  445. item:
  446. material: INK_SACK
  447. quantity: 1
  448. damage: 12
  449. name: "&2&lFarbivá"
  450. shop: "dyes"
  451. slot: 15
  452. 6:
  453. item:
  454. material: WHEAT
  455. quantity: 1
  456. name: "&5&lFarmenie"
  457. shop: "farming"
  458. slot: 21
  459. 7:
  460. item:
  461. material: SPIDER_EYE
  462. quantity: 1
  463. name: "&9&lDropy z mobov"
  464. shop: "drops"
  465. slot: 22
  466. 8:
  467. item:
  468. material: SADDLE
  469. quantity: 1
  470. name: "&3&lMiscellanous"
  471. shop: "Ostatné"
  472. slot: 23
  473.  
  474. specialElements:
  475. balance:
  476. item:
  477. material: GOLD_INGOT
  478. quantity: 1
  479. name: "&6&lTvoj zostatok"
  480. lore:
  481. - "&7$%balance%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement