HungerBarGames
The Hunger Bar Games Plugin
HungerBarGames is a Hunger Games plugin currently under development by tomjw64 and HaydenCappadona. Our goal for this plugin is to be the most or one of the most full and complete Hunger Games plugins available publicly.
Please remember that this plugin is still in Alpha so it will in all probability have a few bugs here and there!
If you do find a bug please create a ticket and we will fix it as soon as possible.
Our plan for this plugin is to make integration with any kind of server a possibility, and to make it easy. Whether your server is creative or survival this plugin will work like it's suppose to.
We also are trying to make arena management as simple as possible. Who wants to refill all the chests in the arena manually? Nobody, that's who. Our plugin will allow you to assign chests to classes that you can define yourself in the configuration to have them filled automatically each round. Our plugin will also handle arena reloading, giving you the option to either rollback changes on the arena or completely restart the entire world.
This plugin will be very easy to install as well. We will include pre-made chest classes and options, so that you can just drag and drop the files into your plugin folder and get started. We also will not have any dependencies!
Lastly, we plan to make everything in this plugin as configurable as possible. From chat restriction to assigning the chance an item has to spawn in a chest, you decide how your games are run!
Announcements:
Is your server running HungerBarGames? If so and you want some more players on your server, let us know and give us some server info! I hope to make a list of servers that people can join to try the plugin out.
Important Links:
- How to Use
- Commands and Permissions
- Config Tutorial
- Frequently Asked Questions
- Change log
- GitHub
- Feature requests, Suggestions, Bug Reports, and Issues
Main Features:
Key: Completed; In development; In planning; Not started.
- Arena creation and Management.
- Multiple Arena's compatible. Run as many games as you want at once!
- Auto starting of games with configurable playlists! Play even when an admin isn't on!
- Option to control server wide pvp
- Plays cannon (lightning) sound when player's die and displays deaths at night.
- Hides death and log out messages for people playing in a game.
- Auto chest filler thats fully configurable.
- Set lots of spawn points for various things such as the lobby.
- Permissions and OP system support
- Chat and command restriction
- Arena protection from non-tributes
- Spectator system.
- Spoutcraft GUIs for Spoutcraft users (Spoutcraft optional)
- Different shapes of arena boundaries.
- Sponsoring system.
- Player rating system.
- Auto chest finder.
- Auto reset of an arena after games.
- New survival aspects such as thirst and energy using Spout
- Option of a multi-arena mode, or a dedicated arena mode that auto-joins players who log in
- Compatibility for Factions, McMMO, War, and Towny
- Plugin acts as a Gamemaker
- Plugin API
- Allow players to form plugin handled alliances
- NPCs/Bots that fill in empty slots
The Different Ways to Use this plugin:
Arena's and World Arena's: This is the standard mode that allows you to create as many Arena's and World Arena's as you want.
OR
Dedicated Server Mode (Single Map) (Currently Not Implemented!): This Mode is used if you want to use a single map such as Official "Survival Game's" Map's. The advantages if using this mode are features such as automatic spawning spawn points on join and many, many more!
Compatibility:
This plugin is currently partially compatible with the following plugins:
We also plan compatibility with the following plugins:
Reccomend With the use of:
- Minecraft
- Essentials
- WorldGuard (Must have WorldEdit installed to use WorldGuard)
- Orebfuscator
- NoCheat+
Known Bugs:
- Arena boundaries are set in all worlds, not just the arena worlds. Fixed for next release.
Check the F.A.Q. before reporting a bug, your question may be already answered there.
Next Update:
- Better internal file management
- Per-world plugin restriction
- Config option to make it day when game starts
- Announcing of game status as well as next map in the playlist
- More informative arena listing
- Rectangular arena boundaries
- Command aliases
- Prevent the plugin from trying to fill a chest with an invalid item ID
- Fix bug where arenas block editing in every world
- Sorted help?
Estimated Release: To be announced
Idea Board:
- Video tutorial for config and chest classes
- Add Dedicated Server Mode
- Be able to auto-fill furnaces and dispensers as well as chests
- Broadcast arena status
- Slowly damage and kill players that try to leave the arena. (Will be optional)
- Set a tributes cause of death as the last person that hurt them
- Commands for users who don't want to mess with config files
- Player alliances
- Configurable spawning of mobs and animals in an arena.
- Optional grace period at the beginning of the round.
May the odds be ever in your favor,
tomjw64 and HaydenCappadona.
@jaggy80
Thanks I will try and let you know if it works
@minecrafterwork
I had this problem.. all you have to do is give your default group the HBG.mod.edit permission node to every other world except the world your arenas are located. Just a temp-fix though.
Hi,
I run a multiworld server and when I use this plugin, it prevents players from building or breaking blocks in any of my other worlds, why is this?
I want to have it set to that Hunger Games matches are automatically initiated every hour automatically, is this possible? (Pardon me if my question has already been answered, sleep deprivation does things to me..)
Hey, thx it worked !
Curious if you have a date for Dedicated Server Mode (Single Map) cus that would be perfect !
@Misafic
Ah so it is mine. As I feared. I've updated it so that it will not cause that error anymore, here. If you had any extra additions to it, you will need to add them again. Hopefully that will fix it!
Here :
Chestclasses.yml
Hope that helps.
@TheFluffey
Stats of what exactly? A page with just the number of tributes would be pretty plain, in my opinion. I also don't know how @tomjw64 would feel about trying to add MySql
@sgttarn
Suggestion: Online webstats with MySql are a must!
@Misafic
I just had this problem, could I see your chestclasses.yml? I went through mine and found that some item ids were not real, could or could not be the same for you.
Hey, Been trying to use this plugin for a day now, everything works fine, except when the lobby countdown finishes, im not tped onto the spawn i'm stuck in the lobby and i can't move at all, in my logs i get this :
Grave means Severe in French.
Oh an any idea on a date for the dedicated server part, cus i'm using the plugin on a Survival games dedicated.
17:09:04 CONSOLE:[GRAVE] Exception in thread "Thread-9154"
17:09:04 CONSOLE:[GRAVE] at net.minecraft.server.ItemStack.setData(ItemStack.java:153)
17:09:04 CONSOLE:[GRAVE] at net.minecraft.server.ItemStack.<init>(ItemStack.java:39)
17:09:04 CONSOLE:[GRAVE] at org.bukkit.craftbukkit.inventory.CraftItemStack.<init>(CraftItemStack.java:61)
17:09:04 CONSOLE:[GRAVE] at org.bukkit.craftbukkit.inventory.CraftItemStack.<init>(CraftItemStack.java:49)
17:09:04 CONSOLE:[GRAVE] at org.bukkit.craftbukkit.inventory.CraftItemStack.<init>(CraftItemStack.java:27)
17:09:04 CONSOLE:[GRAVE] at org.bukkit.craftbukkit.inventory.CraftItemStack.createNMSItemStack(CraftItemStack.java:232)
17:09:04 CONSOLE:[GRAVE] at org.bukkit.craftbukkit.inventory.CraftInventory.setItem(CraftInventory.java:75)
17:09:04 CONSOLE:[GRAVE] at me.tomjw64.HungerBarGames.Util.Chests.ChestClass.fillChest(ChestClass.java:48)
17:09:04 CONSOLE:[GRAVE] at me.tomjw64.HungerBarGames.Threads.Countdown.prepareWorld(Countdown.java:90)
17:09:04 CONSOLE:[GRAVE] at me.tomjw64.HungerBarGames.Threads.Countdown.<init>(Countdown.java:33)
17:09:04 CONSOLE:[GRAVE] at me.tomjw64.HungerBarGames.Game.startCountdown(Game.java:52)
17:09:04 CONSOLE:[GRAVE] at me.tomjw64.HungerBarGames.Threads.Lobby.run(Lobby.java:46)
17:09:04 CONSOLE:[GRAVE] at java.lang.Thread.run(Unknown Source)
17:09:04 CONSOLE:[GRAVE] at me.tomjw64.HungerBarGames.Arena.fillChests(Arena.java:42)
Thx, Misafic
@tomjw64
This maybe stupid but, can you add "arena reset" setting? Like, you can choose whether you want to reset chest only, or arena only, or both..
I don't need any "block resetting" feature in my arena. Maybe that's the reason why my server keeps getting crashed (as stated at my previous post).
Correct me if I'm wrong.
Thank you :D (Excuse my english :3)
Not sure if this is worth a ticket, but if an arena is created in a world that is later removed, the arena seems to default to another world and won't let players break blocks in that radius. We had a world called hbga and after deleting, the arena went to world "survival". It was our own mistake but took me a while to figure out why players couldn't break blocks :)
Thanks for the great plugin!
@tomjw64
For #1 Just make it reset like 5 minutes into the game or like 10. You choose what to do.
But my problem some how magically fixed itself so you don't have to worry about it I guess. Loving the plugin though its really good!
@carter9898
First of all thanks for your suggestions! Every idea helps! I'll try to respond to each one that sgttarn hasn't(because I agree with his opinions).
1) I have yet to come up with a sponsoring system that will fully work for everyone, but that still won't require a separate plugin to be installed. To be honest, I have no idea and your idea is as good as any.
3) That would be ridiculously challenging for me to do, especially because I have zero experience web programming, and I would have really no idea where to start with that. I don't want to say it's impossible, because I'm sure it's not, but don't expect something like this anytime soon. xD
4) It is possible to change the config so that it doesn't damage players at all, but I can understand if you want to keep it true to the book, but still fun for the players. I can add the explosion damage being configurable if you like on the idea board or next update section.
5) That is quite a good idea. I suppose I could add that fairly soon. For now you might just have to do your percentages so that it turns out similarly.
7) The problem here is that some people might not want a dome, or might already have an arena with a dome around it. It would be a lot of work for me, but would only help a couple people. In short, I don't think it would be worth the trouble.
8) Trust me, there are good reasons for the fact that the vast majority of plugins use a lightning blast rather than a TNT explosion. I'll list a couple here:
Anyways, thanks again for the ideas! I really do appreciate them! :)
@carter9898
Number 6, after death the players already should automatically become spectators and get teleported to the spec point. And I like your second idea, it makes a lot of sense. Alternatively there should also be a configurable setting for if it hits the max. I always have a lot of people telling me to start the game when it's already full, but the countdown has time left.
P.S. "Tell me what you thank!" Think* :)
I have a BUUUUNCH of ideas you should consider
1. Not sure if its possible, but I think sponsoring would be cool like this:
Joe: /hbg sponsor billy woodenplank 64
If Joe has 64 of woodenplank in his inventory, they are removed and given to billy
If Joe does NOT have 64 of woodenplank in his inventory, the planks are not given, and (configurable) Joe is not able to sponsor for X amount of time.
Thats just me, i'm sure better ideas have arised with the plugin.
Also
2. (Configurable) I have it to min of 6 people but a time of 500 seconds. I think it would be cool if you could add a setting where, if it got to that number (mine would be around 15 to my server), the lobbytime was skipped and went directly to the arena. I have mine set so high because I'd rather have one game of 12 people than 2 games of 6 people. Seems a bit more fun.
3. Also, I think it would be cool too see something like the control panel in the real hunger games. It would be cool if, somehow, something like Dynmap for admins could be made where they could select exactly where they want lava to go, mobs to go, an angry dog to go, whatever. This is probs impossible, but I think its a cool idea if at all possible!
4. I'd like to see something where if a user steps off the plate it does like 2 hearts of damage to them and puts them back on, so users wont get pissed off. It would be cool because you would have a disadvantage insted of having to just quit altogether and face it, most people get excited and jump off, even the admins!
5. I think the chests would be cool like this:
Current command: /hbg autoassign classname
What if you could do: /hbg autoassign classname1 classname2 classname3 and each chest class could have a percentage of being one of the chests
Example:
You have 100 chests
you do /hbg autoassign diamondtools stonetools autofill
Autofill= 60% chance of spawn
Stonetools=30% chance of spawn
diamondtools= 10% Chance of spawn
In 60 of those chests autofill is present, 30 stonetools, and 10 diamondtools so it would randomly cycle without you having to choose each chest, and players wont know which chests to prey on!
6. I think it should autotp to spectator after death so if people want to play they have to watch also so people don't just spam the games to try to get easy money
7. I think that you should be able to pick either a point or two points and if you pick one it creates a randomly generated bio-sphere ready for the games and if you selected two it would create a randomly generated bio-rectangle(LOL)
I can see this becoming big espicaly since you could make like six arenas for a playlist with just commands and then customise them after that.
8. Insted of lighting, when people die would a large tnt sound be possible with no explosion?
Not forcing anything, I was just bored in the car and wrote up a few cool ideas :p
Tell me what you thank!
Take care!
-Carter
@VCarnelion
I'm not exactly sure how I can, as it seems to be a minecraft problem. It looks like the server is trying to spawn a mob from a spawner in a chunk that's not loaded, or something like that.
@tomjw64
alright i posted a ticket thanks for the quick reply!
@tomjw64
Yes, I got this problem twice this day. Any solution? :(