Guest User

Untitled

a guest
Sep 16th, 2017
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.37 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: ""
  10. #MySQL database user
  11. mySQLUser: ""
  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/)
  19. economyType: VAULT
  20. #Name of the main GUI
  21. shopMenuName: "&8&lShop Menu"
  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: 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 if the gui shall be closed after using the Sell All feature
  59. closeGuiAfterSellAll: false
  60. #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)
  61. openBulkGuiImmediately: 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. - CREATIVE
  84. - SPECTATOR
  85. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  86. disableShopsInWorlds: []
  87.  
  88. #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
  89. displayPriceModifiersInPercents: true
  90.  
  91. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  92. disableSudoWorldPermissionCheck: false
  93.  
  94. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  95. disableSudoShopPermissionCheck: false
  96.  
  97. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  98. shopItemLoreFormat:
  99. #This lore will be applied to items
  100. item:
  101. - "&7Buy price: &c%buy%$"
  102. - "&7Sell price: &a%sell%$"
  103. - "&9Click with MMB to sell all"
  104. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  105. itemBuyGUI:
  106. - "&7Buy price: &c%buy%$"
  107. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  108. itemSellGUI:
  109. - "&7Sell price: &a%sell%$"
  110. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  111. itemSellGUISellAll:
  112. - "&7Sell all for: &a%sell%$"
  113. #This one to permissions
  114. permission:
  115. - "&7Buy price: &c%buy%$"
  116. #And this one to enchantments
  117. enchantment:
  118. - "&7Buy price: &c%buy%$"
  119. #And the last one to commands
  120. command:
  121. - "&7Buy price: &c%buy%$"
  122.  
  123. #Logging settings
  124. log:
  125. #Define whether transactions will be logged to the console/main server log
  126. toConsole: true
  127. #Define whether transactions will be logged to a separate log
  128. toFile: false
  129. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  130. formatDate: "yyyy/MM/dd HH:mm:ss"
  131. #Log message for bought items
  132. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  133. #Log message for sold items
  134. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  135. #Log message for sold all items
  136. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  137.  
  138. buttons:
  139. #"Go back button"
  140. goBack:
  141. item:
  142. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  143. material: NETHER_STAR
  144. #Amount of the item
  145. amount: 1
  146. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  147. damage: 0
  148. #(optional) Custom name
  149. name: "&cBack to categories"
  150. #(optional) Lore, can contain multiple lines
  151. lore:
  152. - "&aClick here to return to 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 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" button
  468. cancel:
  469. item:
  470. material: STAINED_GLASS
  471. quantity: 1
  472. damage: 14
  473. name: "&c&lCancel"
  474. slot: 41
  475.  
  476. shopMenuItems:
  477. #Has to be unique, value doesn't matter
  478. 1:
  479. item:
  480. #The same rules apply for material, amount, damage and lore as for goBackButton
  481. material: TNT
  482. quantity: 1
  483. damage: 0
  484. name: "&c&lRaid Shop"
  485. #Shop ID from shops.yml
  486. shop: "raid"
  487. #Slot in shops menu, counting from 0 to 53
  488. slot: 0
  489. 2:
  490. item:
  491. material: IRON_INGOT
  492. quantity: 1
  493. damage: 0
  494. name: "&c&lMinerals Shop"
  495. shop: "minerals"
  496. slot: 1
  497. 3:
  498. item:
  499. material: DIAMOND_PICKAXE
  500. quantity: 1
  501. damage: 0
  502. name: "&c&lTools Shop"
  503. shop: "tools"
  504. slot: 2
  505. 4:
  506. item:
  507. material: WHEAT
  508. quantity: 1
  509. damage: 0
  510. name: "&c&lFarming Shop"
  511. shop: "farming"
  512. slot: 3
  513. 5:
  514. item:
  515. material: GRASS
  516. quantity: 1
  517. damage: 0
  518. name: "&c&lBlocks Shop"
  519. shop: "blocks"
  520. slot: 4
  521. 6:
  522. item:
  523. material: MOB_SPAWNER
  524. quantity: 1
  525. damage: 0
  526. name: "&c&lSpawner Shop"
  527. shop: "spawners"
  528. slot: 5
  529. 7:
  530. item:
  531. material: POTION
  532. quantity: 1
  533. damage: 0
  534. name: "&c&lPotions Shop"
  535. shop: "potions"
  536. slot: 6
  537. 8:
  538. item:
  539. material: ROTTEN_FLESH
  540. quantity: 1
  541. damage: 0
  542. name: "&c&lMisc Shop"
  543. shop: "misc"
  544. slot: 7
  545. 9:
  546. item:
  547. material: COOKED_BEEF
  548. quantity: 1
  549. damage: 0
  550. name: "&c&lFood Shop"
  551. shop: "food"
  552. slot: 8
  553.  
  554. specialElements:
  555. balance:
  556. item:
  557. material: GOLD_NUGGET
  558. quantity: 1
  559. name: "&6&lYour balance"
  560. lore:
  561. - "&7$%balance%"
Add Comment
Please, Sign In to add comment