Advertisement
Guest User

Untitled

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