Guest User

Untitled

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