Guest User

Untitled

a guest
Jan 21st, 2018
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.31 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 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. - 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: "&c&lGo back to categories"
  150. #(optional) Lore, can contain multiple lines
  151. lore:
  152. - "&7Click here to return"
  153. - "&7to the main menu"
  154. #Slot in each shop's GUI
  155. slot: 49
  156. #"Previous page" button
  157. previousPage:
  158. item:
  159. material: PAPER
  160. quantity: 1
  161. name: "&e&lPrevious page"
  162. slot: 45
  163. #"Next page" button
  164. nextPage:
  165. item:
  166. material: PAPER
  167. quantity: 1
  168. name: "&e&lNext page"
  169. slot: 53
  170.  
  171. #Elements of the bulk buy GUI
  172. amountSelectionGUIBulkBuy:
  173. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  174. size: 18
  175. #Choose if buttons type should be replaced with the bought item's type
  176. replaceButtonsType: true
  177. #Buttons
  178. buttons:
  179. #"Buy 1 stack" button
  180. buy1:
  181. #When no material is specified it will be the type of the item being bought
  182. item:
  183. quantity: 1
  184. name: "&aBuy 1 stack"
  185. lore:
  186. - "&7Price: &c%buy%$"
  187. #Value indicated the amount of stacks
  188. value: 1
  189. slot: 0
  190. #"Buy 2 stacks" button
  191. buy2:
  192. item:
  193. quantity: 2
  194. name: "&aBuy 2 stacks"
  195. lore:
  196. - "&7Price: &c%buy%$"
  197. value: 2
  198. slot: 1
  199. #"Buy 3 stacks" button
  200. buy3:
  201. item:
  202. quantity: 3
  203. name: "&aBuy 3 stacks"
  204. lore:
  205. - "&7Price: &c%buy%$"
  206. value: 3
  207. slot: 2
  208. #"Buy 4 stacks" button
  209. buy4:
  210. item:
  211. quantity: 4
  212. name: "&aBuy 4 stacks"
  213. lore:
  214. - "&7Price: &c%buy%$"
  215. value: 4
  216. slot: 3
  217. #"Buy 5 stacks" button
  218. buy5:
  219. item:
  220. quantity: 5
  221. name: "&aBuy 5 stacks"
  222. lore:
  223. - "&7Price: &c%buy%$"
  224. value: 5
  225. slot: 4
  226. #"Buy 6 stacks" button
  227. buy6:
  228. item:
  229. quantity: 6
  230. name: "&aBuy 6 stacks"
  231. lore:
  232. - "&7Price: &c%buy%$"
  233. value: 6
  234. slot: 5
  235. #"Buy 7 stacks" button
  236. buy7:
  237. item:
  238. quantity: 7
  239. name: "&aBuy 7 stacks"
  240. lore:
  241. - "&7Price: &c%buy%$"
  242. value: 7
  243. slot: 6
  244. #"Buy 8 stacks" button
  245. buy8:
  246. item:
  247. quantity: 8
  248. name: "&aBuy 8 stacks"
  249. lore:
  250. - "&7Price: &c%buy%$"
  251. value: 8
  252. slot: 7
  253. #"Buy 9 stacks" button
  254. buy9:
  255. item:
  256. quantity: 9
  257. name: "&aBuy 9 stacks"
  258. lore:
  259. - "&7Price: &c%buy%$"
  260. value: 9
  261. slot: 8
  262. #"Cancel" button
  263. cancel:
  264. item:
  265. material: STAINED_GLASS
  266. quantity: 1
  267. damage: 14
  268. name: "&c&lCancel"
  269. slot: 13
  270.  
  271. #Elements of the bulk buy GUI
  272. amountSelectionGUIBulkSell:
  273. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  274. size: 18
  275. #Choose if buttons type should be replaced with the sold item's type
  276. replaceButtonsType: true
  277. #Buttons
  278. buttons:
  279. #"Sell 1 stack" button
  280. sell1:
  281. #When no material is specified it will be the type of the item being bought
  282. item:
  283. quantity: 1
  284. name: "&aSell 1 stack"
  285. lore:
  286. - "&7Price: &c%sell%$"
  287. #Value indicated the amount of stacks
  288. value: 1
  289. slot: 0
  290. #"Sell 2 stacks" button
  291. sell2:
  292. item:
  293. quantity: 2
  294. name: "&aSell 2 stacks"
  295. lore:
  296. - "&7Price: &c%sell%$"
  297. value: 2
  298. slot: 1
  299. #"Sell 3 stacks" button
  300. sell3:
  301. item:
  302. quantity: 3
  303. name: "&aSell 3 stacks"
  304. lore:
  305. - "&7Price: &c%sell%$"
  306. value: 3
  307. slot: 2
  308. #"Sell 4 stacks" button
  309. sell4:
  310. item:
  311. quantity: 4
  312. name: "&aSell 4 stacks"
  313. lore:
  314. - "&7Price: &c%sell%$"
  315. value: 4
  316. slot: 3
  317. #"Sell 5 stacks" button
  318. sell5:
  319. item:
  320. quantity: 5
  321. name: "&aSell 5 stacks"
  322. lore:
  323. - "&7Price: &c%sell%$"
  324. value: 5
  325. slot: 4
  326. #"Sell 6 stacks" button
  327. sell6:
  328. item:
  329. quantity: 6
  330. name: "&aSell 6 stacks"
  331. lore:
  332. - "&7Price: &c%sell%$"
  333. value: 6
  334. slot: 5
  335. #"Sell 7 stacks" button
  336. sell7:
  337. item:
  338. quantity: 7
  339. name: "&aSell 7 stacks"
  340. lore:
  341. - "&7Price: &c%sell%$"
  342. value: 7
  343. slot: 6
  344. #"Sell 8 stacks" button
  345. sell8:
  346. item:
  347. quantity: 8
  348. name: "&aSell 8 stacks"
  349. lore:
  350. - "&7Price: &c%sell%$"
  351. value: 8
  352. slot: 7
  353. #"Sell 9 stacks" button
  354. sell9:
  355. item:
  356. quantity: 9
  357. name: "&aSell 9 stacks"
  358. lore:
  359. - "&7Price: &c%sell%$"
  360. value: 9
  361. slot: 8
  362. #"Cancel" button
  363. cancel:
  364. item:
  365. material: STAINED_GLASS
  366. quantity: 1
  367. damage: 14
  368. name: "&c&lCancel"
  369. slot: 13
  370.  
  371. #Elements of the regular buy/sell GUI
  372. amountSelectionGUI:
  373. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  374. size: 54
  375. #Slot of the item being bought/sold
  376. itemSlot: 22
  377. #Buttons
  378. buttons:
  379. #"Set to 1" button
  380. set1:
  381. item:
  382. material: STAINED_GLASS_PANE
  383. quantity: 1
  384. damage: 14
  385. name: "&c&lSet to 1"
  386. slot: 18
  387. #"Remove 10" button
  388. remove10:
  389. item:
  390. material: STAINED_GLASS_PANE
  391. quantity: 10
  392. damage: 14
  393. name: "&c&lRemove 10"
  394. slot: 19
  395. #"Remove 1" button
  396. remove1:
  397. item:
  398. material: STAINED_GLASS_PANE
  399. quantity: 1
  400. damage: 14
  401. name: "&c&lRemove 1"
  402. slot: 20
  403. #"Add 1" button
  404. add1:
  405. item:
  406. material: STAINED_GLASS_PANE
  407. quantity: 1
  408. damage: 5
  409. name: "&a&lAdd 1"
  410. slot: 24
  411. #"Add 10" button
  412. add10:
  413. item:
  414. material: STAINED_GLASS_PANE
  415. quantity: 10
  416. damage: 5
  417. name: "&a&lAdd 10"
  418. slot: 25
  419. #"Set to 16" button
  420. set16:
  421. item:
  422. material: STAINED_GLASS_PANE
  423. quantity: 16
  424. damage: 5
  425. name: "&a&lSet to 16"
  426. slot: 26
  427. #"Set to 64" button
  428. set64:
  429. item:
  430. material: STAINED_GLASS_PANE
  431. quantity: 64
  432. damage: 5
  433. name: "&a&lSet to 64"
  434. slot: 26
  435. #"Confirm" button
  436. confirm:
  437. item:
  438. material: STAINED_GLASS
  439. quantity: 1
  440. damage: 5
  441. name: "&a&lConfirm"
  442. slot: 39
  443. #"Sell all" button
  444. sellAll:
  445. item:
  446. material: STAINED_GLASS
  447. quantity: 1
  448. damage: 5
  449. name: "&a&lSell all"
  450. slot: 40
  451. #"Buy more" button
  452. buyMore:
  453. item:
  454. material: STAINED_GLASS
  455. quantity: 64
  456. damage: 5
  457. name: "&a&lBuy more"
  458. slot: 49
  459. #"Sell more" button
  460. sellMore:
  461. item:
  462. material: STAINED_GLASS
  463. quantity: 64
  464. damage: 5
  465. name: "&a&lSell more"
  466. slot: 49
  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: GRASS
  482. quantity: 1
  483. name: "&9&lBlocks"
  484. #Shop ID from shops.yml
  485. shop: "blocks"
  486. #Slot in shops menu, counting from 0 to 53
  487. slot: 0
  488. 2:
  489. item:
  490. material: COOKED_CHICKEN
  491. quantity: 1
  492. damage: 0
  493. name: "&2&lFood"
  494. lore:
  495. - "&7Get some yummy food here!"
  496. shop: "food"
  497. slot: 1
  498. 3:
  499. item:
  500. material: GOLD_INGOT
  501. quantity: 1
  502. damage: 0
  503. name: "&3&lOres"
  504. shop: "ores"
  505. slot: 2
  506. 4:
  507. item:
  508. material: IRON_PICKAXE
  509. quantity: 1
  510. name: "&8&lTools"
  511. shop: "tools"
  512. slot: 3
  513. 5:
  514. item:
  515. material: DIAMOND_CHESTPLATE
  516. quantity: 1
  517. name: "&4&lArmor"
  518. shop: "armor"
  519. slot: 4
  520. 6:
  521. item:
  522. material: WHEAT
  523. quantity: 1
  524. name: "&5&lFarming"
  525. shop: "farming"
  526. slot: 5
  527. 7:
  528. item:
  529. material: SPIDER_EYE
  530. quantity: 1
  531. name: "&9&lMob drops"
  532. shop: "drops"
  533. slot: 6
  534. 8:
  535. item:
  536. material: INK_SACK
  537. quantity: 1
  538. damage: 12
  539. name: "&2&lDyes"
  540. shop: "dyes"
  541. slot: 7
  542. 9:
  543. item:
  544. material: SADDLE
  545. quantity: 1
  546. name: "&3&lMiscellanous"
  547. shop: "miscellanous"
  548. slot: 8
  549.  
  550.  
  551. specialElements:
  552. balance:
  553. item:
  554. material: GOLD_NUGGET
  555. quantity: 1
  556. name: "&6&lYour balance"
  557. lore:
  558. - "&7$%balance%"
Add Comment
Please, Sign In to add comment