Advertisement
Guest User

config.yml/itemconfig.yml

a guest
Aug 14th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.71 KB | None | 0 0
  1. (Config.yml)
  2. global:
  3. # GLOBAL ONLY
  4. default-game: 'Default'
  5.  
  6. # In minutes, the number of time to wait between update checks
  7. # GLOBAL ONLY
  8. update-delay: 30
  9.  
  10. do-update-check: true
  11.  
  12. # IP/URL to use to connect to webstats
  13. # use 0.0.0.0 to not record webstats
  14. # GLOBAL ONLY
  15. webstats-ip: http://mcmyhg.com/dbproxy.php
  16.  
  17. # whether players should automatically join the game when there is an available spot in a game
  18. # GLOBAL ONLY
  19. auto-join: false
  20.  
  21. # with this false, you cannot use item names, but you can use custom blocks
  22. use-match-material: true
  23.  
  24. # Time, in seconds, after game starts before players can move
  25. default-time: 20
  26.  
  27. # Number of players required to auto-start
  28. min-vote: 5
  29.  
  30. # If players can join a game while it is running
  31. allow-join-during-game: false
  32.  
  33. # Number of players required to start at all
  34. min-players: 2
  35.  
  36. # If a player can rejoin a game.
  37. # If false, players will lose all lives on leave.
  38. # If true, lives are carried over to any rejoins
  39. allow-rejoin: true
  40.  
  41. # If a winner gets to keep his items
  42. winner-keeps-items: false
  43.  
  44. # number of lives a player has. 0 is unlimited
  45. lives: 1
  46.  
  47. # whether players should clear their inventory before joining
  48. require-inv-clear: false
  49.  
  50. # Whether to save and clear a players inventory on join
  51. clear-inv: true
  52.  
  53. # require everyone that has joined the game to vote before the game is auto-starterd
  54. # will not work when auto-vote is on
  55. all-vote: false
  56.  
  57. # when a player joins a game, they are auto-voted as ready. If true, all-vote is disregarded
  58. auto-vote: false
  59.  
  60. # whether players can use commands. Does not disallow HungerGames commands.
  61. use-command: false
  62.  
  63. # Commands that are the opposite of use-command ex. [time, weather]
  64. special-commands: []
  65.  
  66. # whether players can teleport
  67. can-teleport: false
  68.  
  69. # add chest and fill the first time a chest is opened
  70. auto-add: true
  71.  
  72. # whether to force a player into surval for games
  73. force-survival: true
  74.  
  75. # whether to freeze players when they join a game
  76. freeze-players: true
  77.  
  78. # whether to force damage done to a player, regardless if another plugin has cancelled it or not
  79. # Can be used to stop plugins like Factions from cancelling player damage
  80. force-damage: true
  81.  
  82. # whether players can place blocks
  83. can-place-block: false
  84.  
  85. # whether players can break blocks
  86. can-break-block: false
  87.  
  88. # whether players can interact with blocks (Chests, Enchant tables, ect...)
  89. can-interact-block: true
  90.  
  91. # blocks players can place (NOTE: if "can-place-blocks" is false, they cannot
  92. # place blocks except for these blocks, and vice versa) ex: "[1]", "[1, 10, 28]"
  93. special-blocks-place: []
  94.  
  95. # blocks players can break (NOTE: if "can-break-blocks" is false, they cannot
  96. # break blocks except these blocks, and vice versa) ex: "[1]", "[1, 10, 28]"
  97. special-blocks-break: []
  98.  
  99. # blocks players can interact (NOTE: if "can-interact-blocks" is false, they cannot
  100. # interact with blocks except these blocks, and vice versa) ex: "[1]", "[1, 10, 28]"
  101. special-blocks-interact: []
  102.  
  103. # Reset block changes after a game ends
  104. reset-changes: true
  105.  
  106. # If resetting should be internal only. RECOMMENDED, especially for those who use LogBlock
  107. # GLOBAL ONLY
  108. force-internal: true
  109.  
  110. isolate-player-chat: true
  111.  
  112. # if isolate-player-chat is enabled, this is the maximum distance a player can hear another player from
  113. # if this is 0, then in-game players can hear each other, but they can't hear out-of-game players
  114. chat-distance: 15
  115.  
  116. # if this is true, players who haven't done "/hg subscribe" won't see most messages
  117. # players automatically get subscribed when they enter a game
  118. # subscribers are not persistent between server restarts
  119. # GLOBAL ONLY
  120. allow-minimal-messages: true
  121.  
  122. # whether to remove items off the ground when a game ends
  123. remove-items: true
  124.  
  125. # This is the amount of time, in seconds, before spectators can sponsor a random item for free. Restarts once reaches time.
  126. # This is rounded up to the nearest half-minute mark
  127. spectator-sponsor-period: 0
  128.  
  129. # If 1, a cannon sound will be played every death
  130. # If 2, a cannon sound will be played only on the last death
  131. # Any other number will turn it off
  132. death-cannon: 1
  133.  
  134. # This is to check if the game allows players to auto-join
  135. # Only matters if auto-join is true
  136. auto-join-allowed: true
  137.  
  138. # In seconds, the maximum amount of time a game can last
  139. # 0 or below does not limit time
  140. max-game-duration: 0
  141.  
  142. # If this is false, players are automatically sent back to where they were before they joined when a game ends
  143. # If this is true and no spawn is set, it defaults to the player's back location.
  144. use-spawn: true
  145.  
  146. # This is time in seconds from the start of the game that players cannot be hurt
  147. # Can have decimals
  148. grace-period: 30
  149.  
  150. # Time in seconds that players have to move or chat before they get kicked.
  151. # Has a max variance of 10 seconds
  152. # Value of 0 does not use a timeout
  153. timeout: 300
  154.  
  155. # If true, when a player leaves a game (not quits), a life will be deducted
  156. take-life-on-leave: true
  157.  
  158. # Amount of time in seconds after min-players has been achieved does a game start
  159. # 0 is off
  160. start-timer: 30
  161.  
  162. # If this is true, mobs will not target players while they are waiting for a game to start
  163. stop-targetting: true
  164.  
  165. # Whether to hide players' nametag by faking a sneak
  166. hide-players: false
  167.  
  168. # Whether to hide players' nametag by faking a sneak
  169. # If 1, a message will be shown every death
  170. # If 2, a message will be shown only on the last death
  171. show-death-messages: 2
  172.  
  173. # Have lightning strinke a near a player every X seconds if there are a certain number of players left (Set to 0 to turn it off)
  174. lightning-on-players-count: 3
  175.  
  176. # Delay between lightning strikes in seconds
  177. lightning-on-players-delay: 10
  178.  
  179. # Whether or not to use Bukkit's scoreboard
  180. use-scoreboard: true
  181.  
  182. # Contains options relating to teams
  183. teams:
  184.  
  185. # If this is true, any player with the permission hungergame.team.<team> (with "team" being the team name) or hungergame.team (allows all) can join a team
  186. allow-teams: true
  187.  
  188. # If this is false, team members cannot hurt each other
  189. allow-friendly-damage: false
  190.  
  191.  
  192. # Setups ADD to global in any list
  193. setups:
  194. # test1:
  195. # inherits: parentSetup, parentSetup2
  196. # default-time: 5
  197. # min-vote: 10
  198. # allow-join-during-game: false
  199. # min-players: 2
  200. # allow-rejoin: false
  201. # winner-keeps-items: false
  202.  
  203. --------------------------------------------------------------
  204. ~(itemconfig.yml)
  205. global:
  206. # with this false, you cannot use item names, but you can use custom blocks
  207. # GLOBAL ONLY
  208. use-match-material: true
  209. chest-loot:
  210. - ==: Item
  211. values:
  212. chance: .5
  213. stack:
  214. ==: org.bukkit.inventory.ItemStack
  215. type: DIAMOND_AXE
  216. # if no amount given, defaults to 0
  217. damage: 1
  218. # if no amount given, defaults to 1
  219. amount: 1
  220. - ==: Item
  221. values:
  222. chance: .1
  223. stack:
  224. ==: org.bukkit.inventory.ItemStack
  225. type: DIAMOND_SWORD
  226. # if no amount given, defaults to 0
  227. damage: 1
  228. # if no amount given, defaults to 1
  229. amount: 1
  230. - ==: Item
  231. values:
  232. chance: 1
  233. stack:
  234. ==: org.bukkit.inventory.ItemStack
  235. type: APPLE
  236. - ==: Item
  237. values:
  238. chance: 1
  239. stack:
  240. ==: org.bukkit.inventory.ItemStack
  241. type: COOKIE
  242. - ==: Item
  243. values:
  244. chance: 1
  245. stack:
  246. ==: org.bukkit.inventory.ItemStack
  247. type: EXP_BOTTLE
  248. - ==: Item
  249. values:
  250. chance: 1
  251. stack:
  252. ==: org.bukkit.inventory.ItemStack
  253. type: COOKED_BEEF
  254. - ==: Item
  255. values:
  256. chance: 1
  257. stack:
  258. ==: org.bukkit.inventory.ItemStack
  259. type: STICK
  260. - ==: Item
  261. values:
  262. chance: 1
  263. stack:
  264. ==: org.bukkit.inventory.ItemStack
  265. type: DIAMOND
  266. - ==: Item
  267. values:
  268. chance: 1
  269. stack:
  270. ==: org.bukkit.inventory.ItemStack
  271. type: IRON_INGOT
  272. - ==: Item
  273. values:
  274. chance: 1
  275. stack:
  276. ==: org.bukkit.inventory.ItemStack
  277. type: GOLD_INGOT
  278. - ==: Item
  279. values:
  280. chance: 1
  281. stack:
  282. ==: org.bukkit.inventory.ItemStack
  283. type: COBBLESTONE
  284. - ==: Item
  285. values:
  286. chance: 1
  287. stack:
  288. ==: org.bukkit.inventory.ItemStack
  289. type: WOOD
  290. - ==: Item
  291. values:
  292. chance: 1
  293. stack:
  294. ==: org.bukkit.inventory.ItemStack
  295. type: ENDER_PEARL
  296. sponsor-loot:
  297.  
  298. chests:
  299. # example:
  300. # # unneeded
  301. # inherits: exmample1
  302. # items:
  303. # - ==: Item
  304. # values:
  305. # # chance is not needed, without it, it defaults to 1/3.
  306. # # 1 is always, 0 is never
  307. # chance: 1
  308. # stack:
  309. # ==: org.bukkit.inventory.ItemStack
  310. # type: APPLE
  311. # - ==: Item
  312. # values:
  313. # chance: 1
  314. # stack:
  315. # ==: org.bukkit.inventory.ItemStack
  316. # type: CAKE
  317.  
  318. itemsets:
  319. # Example game
  320. # To use one of these, when creating a game do
  321. # /hga add itemset <name-of-game> <name-of-itemset> NOTE make sure there are no space in the list of itemsets
  322. # example:
  323. # # unneeded
  324. # inherits: exmample1
  325. # chest-loot:
  326. # - ==: Item
  327. # values:
  328. # # chance is not needed, without it, it defaults to 1/3.
  329. # # 1 is always, 0 is never
  330. # chance: 1
  331. # stack:
  332. # ==: org.bukkit.inventory.ItemStack
  333. # type: APPLE
  334. # sponsor-loot:
  335. # - ==: Item
  336. # values:
  337. # chance: 1
  338. # stack:
  339. # ==: org.bukkit.inventory.ItemStack
  340. # type: CAKE
  341.  
  342. rewards:
  343. # Every one of the below will be given
  344. static:
  345. # - ==: Item
  346. # values:
  347. # # chance is not needed, without it, it defaults to 1/3.
  348. # # 1 is always, 0 is never
  349. # chance: 1
  350. # stack:
  351. # ==: org.bukkit.inventory.ItemStack
  352. # type: APPLE
  353. # The max amount of items that can be given to a player randomly
  354. max-random: 5
  355. # The following will be randomly given to the player
  356. random:
  357. # - ==: Item
  358. # values:
  359. # # chance is not needed, without it, it defaults to 1/3.
  360. # # 1 is always, 0 is never
  361. # chance: 1
  362. # stack:
  363. # ==: org.bukkit.inventory.ItemStack
  364. # type: APPLE
  365.  
  366. kits:
  367. # Example
  368. # test:
  369. # - ==: Item
  370. # values:
  371. # # chance is not needed, without it, it defaults to 1/3.
  372. # # 1 is always, 0 is never
  373. # chance: 1
  374. # stack:
  375. # ==: org.bukkit.inventory.ItemStack
  376. # type: APPLE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement