Guest User

Config.yml

a guest
Jul 11th, 2016
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.18 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. #Name of the main GUI
  19. shopMenuName: "SkyHighIsland Shop"
  20. #Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
  21. shopMenuSize: 9
  22. #Define whether selling all with middle mouse button is enabled
  23. enableSellAll: true
  24. #Define whether the buy GUI with option to select quantity is enabled
  25. enableBuyGUI: true
  26. #Define whether the sell GUI with option to select quantity is enabled
  27. enableSellGUI: true
  28. #Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
  29. enableSellGUISellAll: true
  30. #Define whether after closing/buying/selling the shop GUI should be opened again
  31. returnToShop: true
  32. #Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
  33. quickBuySell: false
  34. #Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
  35. hideBuyPriceForUnbuyable: true
  36. #Define whether lines containing the %sell% placeholder should be hidden for unsellable items
  37. hideSellPriceForUnsellable: true
  38. #Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
  39. invertBuySell: false
  40. #Maximum amount of enchantments players can add to an item, set to -1 for no limit
  41. maxEnchantments: 3
  42. #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)
  43. limitEnchantmentLevelDiff: false
  44. #Define whether the amount selection double click bug fix should be enabled
  45. enableAmountSelectionFix: true
  46. #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)
  47. allowAllSellAllStackSizes: false
  48. #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)
  49. roundPrices: none
  50. #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.
  51. disableMainMenu: false
  52. #Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
  53. useDifferentMessagesForFreeItems: true
  54. #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
  55. #Format is same as for regular items in shops.yml
  56. itemStackSizeCappedAt:
  57. 1:
  58. material: ENDER_PEARL
  59. size: 16
  60. 2:
  61. material: SNOW_BALL
  62. size: 16
  63. 3:
  64. material: SIGN
  65. size: 16
  66. 4:
  67. material: EGG
  68. size: 16
  69. 5:
  70. material: BUCKET
  71. size: 1
  72. #Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  73. disableShopsInGamemodes:
  74. - ADVENTURE
  75. - CREATIVE
  76. - SPECTATOR
  77. #Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
  78. disableShopsInWorlds: []
  79.  
  80. #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
  81. displayPriceModifiersInPercents: true
  82.  
  83. #Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  84. disableSudoWorldPermissionCheck: false
  85.  
  86. #Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
  87. disableSudoShopPermissionCheck: false
  88.  
  89. #Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
  90. shopItemLoreFormat:
  91. #This lore will be applied to items
  92. item:
  93. - "&7Buy: &e%buy%"
  94. - "&7Sell: &e%sell%"
  95. #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  96. itemBuyGUI:
  97. - "&7Buy: &e%buy%"
  98. #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  99. itemSellGUI:
  100. - "&7Sell: &e%sell%"
  101. #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  102. itemSellGUISellAll:
  103. - "&7Sell: &e%sell%"
  104. #This one to permissions
  105. permission:
  106. - "&7Buy price: &c%buy%$"
  107. #And this one to enchantments
  108. enchantment:
  109. - "&7Buy price: &c%buy%$"
  110. #And the last one to commands
  111. command:
  112. - "&7Buy price: &c%buy%$"
  113.  
  114. #Logging settings
  115. log:
  116. #Define whether transactions will be logged to the console/main server log
  117. toConsole: true
  118. #Define whether transactions will be logged to a separate log
  119. toFile: false
  120. #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  121. formatDate: "yyyy/MM/dd HH:mm:ss"
  122. #Log message for bought items
  123. formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  124. #Log message for sold items
  125. formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  126. #Log message for sold all items
  127. formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"
  128.  
  129. buttons:
  130. #"Go back button"
  131. goBack:
  132. item:
  133. #Material name, full list can be found here: http://wiki.brcdev.net/Materials
  134. material: WOODEN_DOOR
  135. #Amount of the item
  136. amount: 1
  137. #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
  138. damage: 0
  139. #(optional) Custom name
  140. name: "&cBack To Main Menu"
  141. #(optional) Lore, can contain multiple lines
  142. lore:
  143. - "&aClick here to return to the main menu!"
  144. #Slot in each shop's GUI
  145. slot: 49
  146. #"Previous page" button
  147. previousPage:
  148. item:
  149. material: PAPER
  150. quantity: 1
  151. name: "&e&lPrevious page"
  152. slot: 45
  153. #"Next page" button
  154. nextPage:
  155. item:
  156. material: PAPER
  157. quantity: 1
  158. name: "&e&lNext page"
  159. slot: 53
  160.  
  161. #Elements of the buy/sell GUI
  162. amountSelectionGUI:
  163. #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  164. size: 54
  165. #Slot of the item being bought/sold
  166. itemSlot: 22
  167. #Buttons
  168. buttons:
  169. #"Set to 1" button
  170. set1:
  171. item:
  172. material: STAINED_GLASS_PANE
  173. quantity: 1
  174. damage: 14
  175. name: "&cSet to 1"
  176. slot: 18
  177. #"Remove 10" button
  178. remove10:
  179. item:
  180. material: STAINED_GLASS_PANE
  181. quantity: 10
  182. damage: 14
  183. name: "&cRemove 10"
  184. slot: 19
  185. #"Remove 1" button
  186. remove1:
  187. item:
  188. material: STAINED_GLASS_PANE
  189. quantity: 1
  190. damage: 14
  191. name: "&cRemove 1"
  192. slot: 20
  193. #"Add 1" button
  194. add1:
  195. item:
  196. material: STAINED_GLASS_PANE
  197. quantity: 1
  198. damage: 5
  199. name: "&aAdd 1"
  200. slot: 24
  201. #"Add 10" button
  202. add10:
  203. item:
  204. material: STAINED_GLASS_PANE
  205. quantity: 10
  206. damage: 5
  207. name: "&aAdd 10"
  208. slot: 25
  209. #"Set to 16" button
  210. set16:
  211. item:
  212. material: STAINED_GLASS_PANE
  213. quantity: 16
  214. damage: 5
  215. name: "&aSet to 16"
  216. slot: 26
  217. #"Set to 64" button
  218. set64:
  219. item:
  220. material: STAINED_GLASS_PANE
  221. quantity: 64
  222. damage: 5
  223. name: "&aSet to 64"
  224. slot: 26
  225. #"Confirm" button
  226. confirm:
  227. item:
  228. material: STAINED_GLASS
  229. quantity: 1
  230. damage: 5
  231. name: "&aConfirm"
  232. slot: 39
  233. #"Sell all" button
  234. sellAll:
  235. item:
  236. material: STAINED_GLASS
  237. quantity: 1
  238. damage: 5
  239. name: "&aSell all"
  240. slot: 40
  241. #"Cancel" button
  242. cancel:
  243. item:
  244. material: STAINED_GLASS
  245. quantity: 1
  246. damage: 14
  247. name: "&cCancel"
  248. slot: 41
  249.  
  250. shopMenuItems:
  251. #Has to be unique, value doesn't matter
  252. 1:
  253. item:
  254. #The same rules apply for material, amount, damage and lore as for goBackButton
  255. material: GRASS
  256. quantity: 1
  257. name: "&2Blocks"
  258. #Shop ID from shops.yml
  259. shop: "blocks"
  260. #Slot in shops menu, counting from 0 to 53
  261. slot: 0
  262. 2:
  263. item:
  264. material: COOKED_CHICKEN
  265. quantity: 1
  266. damage: 0
  267. name: "&6Food"
  268. shop: "food"
  269. slot: 1
  270. 3:
  271. item:
  272. material: WHEAT
  273. quantity: 1
  274. damage: 0
  275. name: "&eFarming"
  276. shop: "farming"
  277. slot: 2
  278. 4:
  279. item:
  280. material: IRON_INGOT
  281. quantity: 1
  282. name: "&8Materials"
  283. shop: "materials"
  284. slot: 3
  285. 5:
  286. item:
  287. material: SADDLE
  288. quantity: 1
  289. name: "&3Misc"
  290. shop: "misc"
  291. slot: 4
  292. 6:
  293. item:
  294. material: BONE
  295. quantity: 1
  296. name: "&dMob Drops"
  297. shop: "mobdrops"
  298. slot: 5
Add Comment
Please, Sign In to add comment