Advertisement
Guest User

Untitled

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