MyHungerGames

Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
The goal of this project was not only to create the Hunger games (commonly also referred to as Survival Games), but allow to server owners and admins tweak the game to their exact needs. That is why almost every part of this plugin can be customized to fit your exact needs. MyHungerGames has features that several other's Hunger Games's plugins don't have, including per-arena settings and in-game stats.

- Fully Automated
- Webstats
- Multiple arenas with simultaneous games
- Per-Arena settings
- In game stats wall
- Economy Support
- Randomly filled chests
- World/Arena resetting
- Multi-World Support
- Spectating
- Sponsoring based on Vault economy
- Power redstone when the game starts, and more!
Full feature list here.

What is feature-match?
If you see a feature in another plugin that this one doesn't have, tell us and we'll add it within a reasonable amount of time. But we will also make sure the feature is fully customizable. Post a ticket, mark it as "enchantment", and write your ideas.
Commands and Permissions?
http://dev.bukkit.org/server-mods/myhungergames/pages/commands-and-perms/
I found a bug. What do I do?
We set up multiple ways to report bugs. You can report it on github, the issues link up top, or on the main page. Most times, expect a quick reply.
Why choose this?
Choose this plugin because its many configurable settings, compared to other Hunger Games plugins.
This plugin creates an unique Hunger Games experience.
What material names can I use?
You can use any of the official Bukkit Material names available here.
Where can i find an example for the itemconfig.yml?
You can find it here with hashtags.
And here without hashtags.
What are the planned features?
Please check out "enchantment" tickets that are accepted, see them here.
And for 1.2 here is a list.






-
View User Profile
-
Send Message
Posted Jun 24, 2012Man, is there any way to the box be filled by their owns? I don'tt want to fill the chests every single game... and what itemset does? I just don't understand it. and I don't know how to use chest-loot as well... please help me!
-
View User Profile
-
Send Message
Posted Jun 23, 2012Im having trouble with /hga add chest, always says internal error.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@kitskub
I figured that out after I installed it, but I'll definitely keep that in mind for future reference. Thanks.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@Bjornke
You shouldn't need to (and really shouldn't at all) add Bukkit API as a netbeans library. The project depends on it and maven will take care of downloading everything if you click "download declared dependencies." (Except Vault, HawkEye, and LogBlock, which you'll have to manually install.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@kitskub
Just spent the last 30 minutes screwing around with NetBeans trying to add the bukkit API. NetBeans didn't like adding the Library, apparently they dropped the ability to easily add Libraries to projects, so I had to manually add it to the project. What a pain. Finally got that done, cloned your code from your git and have been looking at it for just 5 minutes so far. See what I can do.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@Gyldenglad
I currently still don't know what exactly is causing this, but I have added some logging that should make it much easier to spot the problem. Would you be willing to still do the beta, knowing that there might be some bugs that may pop up and you would just have to deal with them until a fix is out?
@Bjornke
That sounds great! Unless you really want to help code it, you don't have to. But if you do, the more help the better.
Both: I'm going to add something real quick, then I'll PM you a dropbox link.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@kitskub
Hey,
Wouldn't mind testing it out. I have a sever that me and about 5 other friends of mine play on often and we enjoy the plugin. We're willing to beta test for you. Also, I have some Java coding experience from the Android platform, not sure how much of an effort it would be for me to get implemented with bukkit plugin development in NetBeans and all but if you're looking for someone to help coding, I'm willing to give it a shot.
-
View User Profile
-
Send Message
Posted Jun 23, 2012@kitskub
If the chest bug is fixed I can, but right now I have disabled HG because of this bug, and I had to ban a few people because they just kept rerolling chests till they had full iron armor. It leaves a really bad vibe on the server when this happens so..
-
View User Profile
-
Send Message
Posted Jun 22, 2012Hey all:
Currently, I'm working on v0.5 and there are a LOT of changes, If anybody would be willing to beta-test v0.5 before release, that would be GREAT! The downside is there might (and probably will) be a few, but the upside is that you get first dibs.
Just reply here, or PM me if you're interested.
P.S. if someone wants to become a all-the-time official tester, that'd be cool too.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@BennetW
I'm sorry, I don't quite understand the process you took. From what I understand, you add spawnpoints in the world "world" then went to the config and changed it to "world_sg1"? If this is the case, that could very well be the problem. However, I have put in a few null checks that will definitely fix this problem for v0.5
-
View User Profile
-
Send Message
Posted Jun 22, 2012So I have my lobby world: world then I have my map world: world_sg1 in the hunger games folder: games.yml i set the spawn points intstead of world to world_sg1 but now it doesn't teleport, in the console it says:
14:07:29 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'hg' in plugin HungerGames v0.4.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:351) at org.bukkit.craftbukkit.entity.CraftEntity.teleport(CraftEntity.java:162) at com.randude14.hungergames.games.HungerGame.playerEntering(HungerGame.java:463) at com.randude14.hungergames.games.HungerGame.join(HungerGame.java:430) at com.randude14.hungergames.commands.CommandHandler.handleUserCommand(CommandHandler.java:87) at com.randude14.hungergames.commands.CommandHandler.onCommand(CommandHandler.java:32) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
please help
-
View User Profile
-
Send Message
Posted Jun 22, 2012I really need help with multiword config!
-
View User Profile
-
Send Message
Posted Jun 21, 2012Ok, everyone: If your game has ever gotten "stuck," can you pastebin your config file (how it was when it got stuck)? I think that I can hunt through the code and try my best to find it, but if I have a few config files, that would narrow down the options significantly. Thanks all.
-
View User Profile
-
Send Message
Posted Jun 21, 2012@Gyldenglad
Uh, actually, it clears the inventory after the teleport... so my original guess was wrong. What inventory plugin do you use? If it is open source, I can take a look and see what's causing it.
-
View User Profile
-
Send Message
Posted Jun 21, 2012Great plugin!!! The only bugs: Chests Commands for OPs after leaving a match
-
View User Profile
-
Send Message
Posted Jun 21, 2012@kitskub
Most the countdown, joining and winning messages, they don't want to see those in all worlds.
The chest problem is the main problem right now though, hope you find the bug :)
-
View User Profile
-
Send Message
Posted Jun 21, 2012@Gyldenglad
The thing with the multiple inventories is that it clears the inventory before teleport. To solve this, I'll have to change the clearing of the inventory to be after the teleport on join and before the teleport on leave. I honestly don't know what's causing games to get stuck. However, the fact that you included that /hg list and /hg stat contain different info will make it easier to find the bug. So, thank you for that. If you can ask what message they're getting spammed with, I can limit those messages. Or, as you suggested, a config option could work.
@Gyldenglad
I think I might know why, but I have some tests to run. If you want to solve this problem temporarily, you disable auto-add for the chests and add the manually.
-
View User Profile
-
Send Message
Posted Jun 21, 2012Also right now I'm banning people who reopens chests to get more items. Do you have any idea what can cause this..?
-
View User Profile
-
Send Message
Posted Jun 20, 2012@kitskub
Thanks for your great work so far. Here's some bugs I found:
1) With multiple inventories mod, you can join from World A with clear inventory and for whatever reasons you might land in the spawnpoint in World B (HG world) with some items that you shouldn't be able to have upon joining.
2) Game seems to get stuck a lot, like multiple times a day every 2 hour or so. It says that game is running by /hg list (etc 12/24 in game) but /hg stat shows its blank, the only solve I have found is to /hga reload and logs doesn't show much other than "saving a game..". It's quite a serious problem I hope you can look into this, if you need to get more information you could probably check out my server, unless you have a clue what it is about already.
Also a lot of people whines about getting "spammed" about HG messages, can you make an option to limit it to the world only, and then have an option when a new game can start so people can gather up in time?
-
View User Profile
-
Send Message
Posted Jun 20, 2012@xsolar66
Hmm, although that's not a bug with MyHungerGames, it's bug with teleporting, it might be able to be solved by teleported the player just a little above the block...I'll check it out.
Yes, that's a good idea, and will be in for v0.5