Guest User

Untitled

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