Guest User

config.yml

a guest
Oct 21st, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.38 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/)
  19. economyType: VAULT
  20. #Name of the main GUI
  21. shopMenuName: "&n&r &nHyperShop"
  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: false
  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: false
  30. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  31. enableSellGUISellAll: false
  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. - "&bBuy: &e$%buy% &7&o(Left Click)"
  98. - "&bSell: &cCan't sell %sell%"
  99. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  100. itemBuyGUI:
  101. - "&bBuy: &e$%buy%"
  102. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  103. itemSellGUI:
  104. - "&bSell: &cCan't sell"
  105. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  106. itemSellGUISellAll:
  107. - "&bSell: &cCan't sell"
  108. #This one to permissions
  109. permission:
  110. - "&bSell: &cCan't sell"
  111. #And this one to enchantments
  112. enchantment:
  113. - "&bBuy: &e$%buy%"
  114. #And the last one to commands
  115. command:
  116. - "&bBuy: &e$%buy%"
  117.  
  118. #Logging settings
  119. log:
  120. #Define whether transactions will be logged to the console/main server log
  121. toConsole: false
  122. #Define whether transactions will be logged to a separate log
  123. toFile: false
  124. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  125. formatDate: "yyyy/MM/dd HH:mm:ss"
  126. #Log message for bought items
  127. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  128. #Log message for sold items
  129. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  130. #Log message for sold all items
  131. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  132.  
  133. buttons:
  134. #"Go back button"
  135. goBack:
  136. item:
  137. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  138. material: PAPER
  139. #Amount of the item
  140. amount: 1
  141. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  142. damage: 0
  143. #(optional) Custom name
  144. name: "&b&lBack"
  145. #Slot in each shop's GUI
  146. slot: 49
  147. #"Previous page" button
  148. previousPage:
  149. item:
  150. material: PAPER
  151. quantity: 1
  152. name: "&e&lPrevious page"
  153. slot: 45
  154. #"Next page" button
  155. nextPage:
  156. item:
  157. material: PAPER
  158. quantity: 1
  159. name: "&e&lNext page"
  160. slot: 53
  161.  
  162. #Elements of the buy/sell GUI
  163. amountSelectionGUI:
  164. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  165. size: 54
  166. #Slot of the item being bought/sold
  167. itemSlot: 22
  168. #Buttons
  169. buttons:
  170. #"Set to 1" button
  171. set1:
  172. item:
  173. material: STAINED_GLASS_PANE
  174. quantity: 1
  175. damage: 14
  176. name: "&c&lSet to 1"
  177. slot: 18
  178. #"Remove 10" button
  179. remove10:
  180. item:
  181. material: STAINED_GLASS_PANE
  182. quantity: 10
  183. damage: 14
  184. name: "&c&lRemove 10"
  185. slot: 19
  186. #"Remove 1" button
  187. remove1:
  188. item:
  189. material: STAINED_GLASS_PANE
  190. quantity: 1
  191. damage: 14
  192. name: "&c&lRemove 1"
  193. slot: 20
  194. #"Add 1" button
  195. add1:
  196. item:
  197. material: STAINED_GLASS_PANE
  198. quantity: 1
  199. damage: 5
  200. name: "&a&lAdd 1"
  201. slot: 24
  202. #"Add 10" button
  203. add10:
  204. item:
  205. material: STAINED_GLASS_PANE
  206. quantity: 10
  207. damage: 5
  208. name: "&a&lAdd 10"
  209. slot: 25
  210. #"Set to 16" button
  211. set16:
  212. item:
  213. material: STAINED_GLASS_PANE
  214. quantity: 16
  215. damage: 5
  216. name: "&a&lSet to 16"
  217. slot: 26
  218. #"Set to 64" button
  219. set64:
  220. item:
  221. material: STAINED_GLASS_PANE
  222. quantity: 64
  223. damage: 5
  224. name: "&a&lSet to 64"
  225. slot: 26
  226. #"Confirm" button
  227. confirm:
  228. item:
  229. material: STAINED_GLASS
  230. quantity: 1
  231. damage: 5
  232. name: "&a&lConfirm"
  233. slot: 39
  234. #"Sell all" button
  235. sellAll:
  236. item:
  237. material: STAINED_GLASS
  238. quantity: 1
  239. damage: 5
  240. name: "&a&lSell all"
  241. slot: 40
  242. #"Cancel" button
  243. cancel:
  244. item:
  245. material: STAINED_GLASS
  246. quantity: 1
  247. damage: 14
  248. name: "&c&lCancel"
  249. slot: 41
  250.  
  251. shopMenuItems:
  252. #Has to be unique, value doesn't matter
  253. 27:
  254. item:
  255. #The same rules apply for material, amount, damage and lore as for goBackButton
  256. material: STAINED_GLASS_PANE
  257. damage: 15
  258. quantity: 1
  259. name: " "
  260. #Shop ID from shops.yml
  261. shop: ""
  262. #Slot in shops menu, counting from 0 to 53
  263. slot: 0
  264. 28:
  265. item:
  266. #The same rules apply for material, amount, damage and lore as for goBackButton
  267. material: STAINED_GLASS_PANE
  268. damage: 15
  269. quantity: 1
  270. name: " "
  271. #Shop ID from shops.yml
  272. shop: ""
  273. #Slot in shops menu, counting from 0 to 53
  274. slot: 1
  275. 29:
  276. item:
  277. #The same rules apply for material, amount, damage and lore as for goBackButton
  278. material: STAINED_GLASS_PANE
  279. damage: 15
  280. quantity: 1
  281. name: " "
  282. #Shop ID from shops.yml
  283. shop: ""
  284. #Slot in shops menu, counting from 0 to 53
  285. slot: 2
  286. 30:
  287. item:
  288. #The same rules apply for material, amount, damage and lore as for goBackButton
  289. material: STAINED_GLASS_PANE
  290. damage: 15
  291. quantity: 1
  292. name: " "
  293. #Shop ID from shops.yml
  294. shop: ""
  295. #Slot in shops menu, counting from 0 to 53
  296. slot: 3
  297. 31:
  298. item:
  299. #The same rules apply for material, amount, damage and lore as for goBackButton
  300. material: STAINED_GLASS_PANE
  301. damage: 15
  302. quantity: 1
  303. name: " "
  304. #Shop ID from shops.yml
  305. shop: ""
  306. #Slot in shops menu, counting from 0 to 53
  307. slot: 4
  308. 32:
  309. item:
  310. #The same rules apply for material, amount, damage and lore as for goBackButton
  311. material: STAINED_GLASS_PANE
  312. damage: 15
  313. quantity: 1
  314. name: " "
  315. #Shop ID from shops.yml
  316. shop: ""
  317. #Slot in shops menu, counting from 0 to 53
  318. slot: 5
  319. 33:
  320. item:
  321. #The same rules apply for material, amount, damage and lore as for goBackButton
  322. material: STAINED_GLASS_PANE
  323. damage: 15
  324. quantity: 1
  325. name: " "
  326. #Shop ID from shops.yml
  327. shop: ""
  328. #Slot in shops menu, counting from 0 to 53
  329. slot: 6
  330. 34:
  331. item:
  332. #The same rules apply for material, amount, damage and lore as for goBackButton
  333. material: STAINED_GLASS_PANE
  334. damage: 15
  335. quantity: 1
  336. name: " "
  337. #Shop ID from shops.yml
  338. shop: ""
  339. #Slot in shops menu, counting from 0 to 53
  340. slot: 7
  341. 35:
  342. item:
  343. #The same rules apply for material, amount, damage and lore as for goBackButton
  344. material: STAINED_GLASS_PANE
  345. damage: 15
  346. quantity: 1
  347. name: " "
  348. #Shop ID from shops.yml
  349. shop: ""
  350. #Slot in shops menu, counting from 0 to 53
  351. slot: 8
  352. 271:
  353. item:
  354. #The same rules apply for material, amount, damage and lore as for goBackButton
  355. material: STAINED_GLASS_PANE
  356. damage: 15
  357. quantity: 1
  358. name: " "
  359. #Shop ID from shops.yml
  360. shop: ""
  361. #Slot in shops menu, counting from 0 to 53
  362. slot: 18
  363. 281:
  364. item:
  365. #The same rules apply for material, amount, damage and lore as for goBackButton
  366. material: STAINED_GLASS_PANE
  367. damage: 15
  368. quantity: 1
  369. name: " "
  370. #Shop ID from shops.yml
  371. shop: ""
  372. #Slot in shops menu, counting from 0 to 53
  373. slot: 19
  374. 291:
  375. item:
  376. #The same rules apply for material, amount, damage and lore as for goBackButton
  377. material: STAINED_GLASS_PANE
  378. damage: 15
  379. quantity: 1
  380. name: " "
  381. #Shop ID from shops.yml
  382. shop: ""
  383. #Slot in shops menu, counting from 0 to 53
  384. slot: 20
  385. 301:
  386. item:
  387. #The same rules apply for material, amount, damage and lore as for goBackButton
  388. material: STAINED_GLASS_PANE
  389. damage: 15
  390. quantity: 1
  391. name: " "
  392. #Shop ID from shops.yml
  393. shop: ""
  394. #Slot in shops menu, counting from 0 to 53
  395. slot: 21
  396. 311:
  397. item:
  398. #The same rules apply for material, amount, damage and lore as for goBackButton
  399. material: STAINED_GLASS_PANE
  400. damage: 15
  401. quantity: 1
  402. name: " "
  403. #Shop ID from shops.yml
  404. shop: ""
  405. #Slot in shops menu, counting from 0 to 53
  406. slot: 22
  407. 321:
  408. item:
  409. #The same rules apply for material, amount, damage and lore as for goBackButton
  410. material: STAINED_GLASS_PANE
  411. damage: 15
  412. quantity: 1
  413. name: " "
  414. #Shop ID from shops.yml
  415. shop: ""
  416. #Slot in shops menu, counting from 0 to 53
  417. slot: 23
  418. 3161:
  419. item:
  420. #The same rules apply for material, amount, damage and lore as for goBackButton
  421. material: STAINED_GLASS_PANE
  422. damage: 15
  423. quantity: 1
  424. name: " "
  425. #Shop ID from shops.yml
  426. shop: ""
  427. #Slot in shops menu, counting from 0 to 53
  428. slot: 24
  429. 314:
  430. item:
  431. #The same rules apply for material, amount, damage and lore as for goBackButton
  432. material: STAINED_GLASS_PANE
  433. damage: 15
  434. quantity: 1
  435. name: " "
  436. #Shop ID from shops.yml
  437. shop: ""
  438. #Slot in shops menu, counting from 0 to 53
  439. slot: 25
  440. 351:
  441. item:
  442. #The same rules apply for material, amount, damage and lore as for goBackButton
  443. material: STAINED_GLASS_PANE
  444. damage: 15
  445. quantity: 1
  446. name: " "
  447. #Shop ID from shops.yml
  448. shop: ""
  449. #Slot in shops menu, counting from 0 to 53
  450. slot: 26
  451. 361:
  452. item:
  453. #The same rules apply for material, amount, damage and lore as for goBackButton
  454. material: STAINED_GLASS_PANE
  455. damage: 15
  456. quantity: 1
  457. name: " "
  458. #Shop ID from shops.yml
  459. shop: ""
  460. #Slot in shops menu, counting from 0 to 53
  461. slot: 9
  462. 1:
  463. item:
  464. #The same rules apply for material, amount, damage and lore as for goBackButton
  465. material: GRASS
  466. quantity: 1
  467. name: "&b&lBuilding Blocks"
  468. #Shop ID from shops.yml
  469. shop: "blocks"
  470. #Slot in shops menu, counting from 0 to 53
  471. slot: 10
  472. 2:
  473. item:
  474. material: 35
  475. quantity: 1
  476. damage: 4
  477. name: "&b&lColor Blocks"
  478. shop: "cb"
  479. slot: 11
  480. 3:
  481. item:
  482. material: APPLE
  483. quantity: 1
  484. damage: 0
  485. name: "&b&lFood"
  486. shop: "food"
  487. slot: 12
  488. 4:
  489. item:
  490. material: RED_ROSE
  491. damage: 8
  492. quantity: 1
  493. name: "&b&lDecoration"
  494. shop: "decor"
  495. slot: 13
  496. 5:
  497. item:
  498. material: BANNER
  499. damage: 5
  500. quantity: 1
  501. name: "&b&lBanner Supplies"
  502. shop: "dyes"
  503. slot: 14
  504. 6:
  505. item:
  506. material: REDSTONE
  507. quantity: 1
  508. name: "&b&lRedstone"
  509. shop: "redstone"
  510. slot: 15
  511. 7:
  512. item:
  513. material: BREWING_STAND_ITEM
  514. quantity: 1
  515. name: "&b&lBrewing and Potions"
  516. shop: "bandp"
  517. slot: 16
  518. 9:
  519. item:
  520. material: STAINED_GLASS_PANE
  521. quantity: 1
  522. damage: 15
  523. name: " "
  524. shop: ""
  525. slot: 17
Add Comment
Please, Sign In to add comment