Guest User

Untitled

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