Advertisement
Guest User

Untitled

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