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 Aug 23, 2012@Jasonfrog
Any how do i make it so that people can access chest
-
View User Profile
-
Send Message
Posted Aug 23, 2012@Jasonfrog
can u join my server or something and help me????
-
View User Profile
-
Send Message
Posted Aug 23, 2012@kitskub
How do i add chest??????
-
View User Profile
-
Send Message
Posted Aug 23, 2012@Jasonfrog
If you use the internal resetter (reset-changes, without LogBlock or HawkEye) chests can automatically reset. Or you can make auto-add true then add random items to chest-loot. Or you can manually make a chest a fixed-chest by do /hga set fixedchest <name> then adding items in the itemconfig.yml under chests. If you need help, I'm here.
@Jasonfrog
Yes! It can! Except it only protects when a game is running or when players are waiting. Depending on how you want it set up will decide how you need to set your config
-
View User Profile
-
Send Message
Posted Aug 23, 2012Any can this plugin protect the area? or do i have to use Worldguard and stuff?
-
View User Profile
-
Send Message
Posted Aug 23, 2012I'm not getting the chest. so how do i make permanent chest with items in it how do i add item to chest how do i refill them without going through everything
-
View User Profile
-
Send Message
Posted Aug 22, 2012@detno
http://pastie.org/4572107
-
View User Profile
-
Send Message
Posted Aug 22, 2012ok so i need to put it into the item config file ?
if so can u give me like a starterlist like gve me a item set list and like 4 other items so i know how to do it and where do i put this as well ty in advance
-
View User Profile
-
Send Message
Posted Aug 22, 2012@detno
You can't add an itemset to the config file through commands. But you can add an itemset to a game with /hga add itemset <game> <name>
@detno
@zendrex has not returned my messages about the tutorial. Hoping he does soon.
@Taznuma
Not exactly sure what is happening with the chests. I will do some profiling later.
I fixed this. Now players can still destroy blocks, but they get reset. And they are subject to the same rules as the rest of the game.
-
View User Profile
-
Send Message
Posted Aug 21, 2012Now that I have the loot sorted out, I seem to be having an issue with the server freezing whenever chests are accessed. I'm not able to determine any rhyme or reason to this but it is definitely happening more often than not.
For example we start a game and we rush to the center, as soon as a chest is accessed the server crashes. And when I say crashes, I'm not sure if it is running EXTREMELY slow or actually crashing. I'm not getting any errors in any logs with MyHungerGames or the server.
And a hopefully easier bug to fix, players are able to destroy blocks when they use the /hg join command but before the actual games begin. During the countdown or waiting on votes.
If you need any more information from me please let me know. I will provide you with whatever you need including access to the server if you want. Thanks again for all the hard work!
-
View User Profile
-
Send Message
Posted Aug 21, 2012maybe add a little read me that gives you a starter list that u can check with and a tutorial on some of the popular commands or all if u can and i can get this working ill give a donation to your hardwork
-
View User Profile
-
Send Message
Posted Aug 21, 2012ok so how do i make a item set ingame thru admin commands?
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Taznuma
Awesome!
1) Losing experience on winning? I'm not sure how, but I'll look into it.
2) The number of item ATTEMPTS is based off an equation: ceil((size * sqrt(y))/sqrt(100))
where x is size of the inventory and y is number of items in the config. The minimum items is half that number. Basically, it says that if you have 100 items in your config, then all the chest slots have the potential to be full and at least half of them will be.
3 & 4) That's possible.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@kitskub
That did it! Thank you so much!
Now onto questions and requests =).
First, I am having reports of players losing their XP upon leaving the map through winning, death, or quitting.
Second, is there a way we can select the max items for chests to have? I am assuming the way you have it setup right now is that each item is individually rolled and if successful it is placed in the chest. This could potentially lead to completely filled chests sometimes. Perhaps a better way to handle this would be to specify in the config files the max amount of items a chest can contain, say 6. Then in game, a roll is done for 1-6 for each chest to determine how many items to place and then every item is rolled on at once for a specific spot. Hopefully that makes sense!
Third, would it be possible to support randomly generated maps somehow? I saw a hunger games random map generator and I thought it would be cool to use if this plugin could support it =).
And finally, along with the above suggestion, is there a way we could select a random map? Lets say I have 4-5 maps setup for Hunger Games, but I don't want them directly accessible. That way when one person types /hg join it places them in a map and when that map is started the next person to type /hg join gets placed in the next random map.
Thanks for all the hard work! I really do appreciate it! =)
-
View User Profile
-
Send Message
Posted Aug 20, 2012@detno
This, in fact, has been caused because you tried to add chest loot to an itemset that didn't exist. I have added a check so that it creates the section if it doesn't exist.
@detno
Yep, probably the problem. Question is now, why can't you?
-
View User Profile
-
Send Message
Posted Aug 20, 2012also i may be doing it wrong but i cant make a item set ingame with admin commands
-
View User Profile
-
Send Message
Posted Aug 20, 2012C:\Users\Mike\Desktop\new server 2>java -Xms1024M -Xmx1024M -jar bukkit.jar 195 recipes 27 achievements 23:40:55 [INFO] Starting minecraft server version 1.3.1 23:40:55 [INFO] Loading properties 23:40:55 [INFO] Default game type: SURVIVAL 23:40:55 [INFO] Generating keypair 23:40:55 [INFO] Starting Minecraft server on *:25565 23:40:55 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R1.0 -b2320jnks (MC: 1.3.1) (Implementing API version 1.3.1-R1.0) 23:40:55 [INFO] [MyHungerGames] Loading MyHungerGames v0.7-dev 23:40:55 [INFO] Preparing level "world" 23:40:55 [INFO] Preparing start region for level 0 (Seed: 6938358163719280732) 23:40:56 [WARNING]
-Bukkit Auto Updater-23:40:56 [WARNING] Your version of CraftBukkit is out of date. Version 1.3.1-R2. 0 (build #2340) was released on Sun Aug 19 12:52:49 EDT 2012. 23:40:56 [WARNING] Details: http://dl.bukkit.org/downloads/craftbukkit/view/0137 1_1.3.1-R2.0/ 23:40:56 [WARNING] Download: http://dl.bukkit.org/downloads/craftbukkit/get/0137 1_1.3.1-R2.0/craftbukkit.jar 23:40:56 [WARNING]----- 23:40:56 [INFO] Preparing start region for level 1 (Seed: 2393986767541755576) 23:40:56 [INFO] Preparing spawn area: 12% 23:40:57 [INFO] Preparing start region for level 2 (Seed: 2393986767541755576) 23:40:57 [INFO] Preparing spawn area: 52% 23:40:58 [INFO] [MyHungerGames] Enabling MyHungerGames v0.7-dev 23:40:58 [INFO] [MyHungerGames] 0.7-dev - Vault is not installed, defaulting to Bukkit perms. 23:40:58 [INFO] [MyHungerGames] 0.7-dev - No logging plugins installed, using in ternal resetter. 23:40:58 [INFO] [MyHungerGames] 0.7-dev - 1 games loaded. 23:40:58 [INFO] [MyHungerGames] 0.7-dev - Enabled. 23:40:58 [INFO] Server permissions file permissions.yml is empty, ignoring it 23:40:58 [INFO] Done (2.741s)! For help, type "help" or "?" 23:41:14 [INFO] Rysinx[/127.0.0.1:50357] logged in with entity id 171 at ([world ] 35.5, 40.0, 0.5) 23:41:27 [INFO] Rysinx: Set own game mode toCREATIVE mode 23:43:14 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'hga' in plugin MyHungerGames v0.7-dev at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 8) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4 92) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler. java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825)at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at com.randude14.hungergames.ItemConfig.addChestLoot(ItemConfig.java:105 ) at com.randude14.hungergames.commands.admin.add.AddChestLootCommand.hand le(AddChestLootCommand.java:43) at com.randude14.hungergames.commands.SubCommand.execute(SubCommand.java :34) at com.randude14.hungergames.commands.CommandHandler.handleAdminCommand( CommandHandler.java:205) at com.randude14.hungergames.commands.CommandHandler.onCommand(CommandHa ndler.java:32) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more
-
View User Profile
-
Send Message
Posted Aug 20, 2012ok i will in a couple secs need to launch server
-
View User Profile
-
Send Message
Posted Aug 20, 2012@detno
Ok, I have added a response to the add itemset command. Also, can you post the console log for when you try /hga add chestloot?
@Taznuma
I know what it is now! It's much simpler than it seems it is. Your itemconfig should look like this
global/chests is for fixed chests. You want random loot :P. Also, I'm assuming you want 100 percent chance, which is 1, not 100
-
View User Profile
-
Send Message
Posted Aug 20, 2012@kitskub
It still doesn't seem to work. Here are my config files exactly:
itemconfig.yml
Config.yml
No items in any chests =(.