Advertisement
Guest User

My Config.yml

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