Advertisement
Guest User

Untitled

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