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.
-
View User Profile
-
Send Message
Posted Jun 29, 2012I've just uploaded v0.8.2a, which fixed the bug where players were not able to spectate matches using "/hbg spec [arena]". You don't have to delete any files when updating to this release from v0.8a or v0.8.1a. It's a minor fix, but I thought someone might want it. You can get it on GitHub too before it's approved on BukkitDev: v0.8.2a
-
View User Profile
-
Send Message
Posted Jun 29, 2012I suppose I could add a rectangle option. :)
-
View User Profile
-
Send Message
Posted Jun 29, 2012I kinda needed that cuboid arena. Mine is not square or round. And even if it would be it would be hard to get the center and radius :s Would there be a way to put that in again please? :p
-
View User Profile
-
Send Message
Posted Jun 28, 2012@sgttarn
Woo! :)
-
View User Profile
-
Send Message
Posted Jun 28, 2012@Minerscentral
To give money to the winner, go to the config.yml file and add this(if using iConomy):
You can replace 100 with the value you want to pay the winner. Also, just thought I would mention, when "RestrictChat" is set to true in config.yml, tributes do not see chat messages from non-tributes and those that aren't within "ChatRadius"(#7 in your next build suggestions).
-
View User Profile
-
Send Message
Posted Jun 28, 2012How can you give users money if they win?
Also
I will make a video tomorrow for you about setting up the config and chests
Suggestions for next build:
1) Bring back setcubiod function as another option of making aren6
2) Allow spec to sponsor members a random item after a match and maybe curse them
3) And Give the top 3 players of the round money with vault!
4) Better /hbg help maybe some pages and not just alot of crap
5) How to create chest classes Video would be helpful
6) Keep track of players 1st 2nd and 3rd places in mysql so you could type
/hbg stat <player name>
7)Members in arenas cannot hear members spectating or outside of arenas.
8) When you make a map you can add items to a chest and they will stay there. Would be could for like an archery range so you don't have to create a separate chest class
-
View User Profile
-
Send Message
Posted Jun 28, 2012To anyone who has had confusion setting up chest classes or the new playlists, the Config Tutorial page has been updated.
-
View User Profile
-
Send Message
Posted Jun 28, 2012@Baamoink
Doh! I accidentally made it so that you can only spectate when you are IN a game(oops). Fixed for next version, and thanks for the bug report!
Concerning the player killing messages:
It's no accident that no death messages are displayed. To keep it more like the book, the players aren't able to see who has died, but the deaths are displayed at night time. However, I do completely understand your want for gloating rights xD. If I do add this as a feature in the future, then it will have to be optional.
-
View User Profile
-
Send Message
Posted Jun 28, 2012Been testing it on my server, we have 57 plug-in's running on 5.0Gb RAM. & it works brilliantly now, all previous problems are now fixed, players can leave the arena with no internal errors & they receive their items upon return.
I've got our players giving it a good ol' testing, we've found that players cannot join spectate mode, including myself with OP. When I type /hbg join <arena> we all receive the following message. "[HBG] You are in a game! Leave before you spectate!" so we try typing /hbg leave, which then gives us "[HBG] You are not in a game or spectating!". That's the only problem we've been able to find so far... Will post if we find anything else!
Would also like to add a request, now that players don't actually die when killed in the Arena, we no longer receive our HeroicDeath messages telling us who killed who. I personally like this for the sake of gloating rights on who got the kill, especially when you have 8-9 players in the same scuffle. So if you could add "<player> killed <player>" messages to your 'to-do list', that would be awesome!
Otherwise really enjoying this plug-in, & quite happy to throw a donation your way for your hard work!
-
View User Profile
-
Send Message
Posted Jun 28, 2012@tomjw64
The performance is really good. I have 37 plugins and have maybe 7% CPU usage with 10 people on. And that on the 1636MB vps. They do limit hdd usage though but you could talk to them about it. also support and replies to tickets are quick and friendly. you can also get a free remote mySQL database (that seriously saved me once :p).
-
View User Profile
-
Send Message
Posted Jun 28, 2012@Minerscentral
Void map would definitely be preferred. You can just MCEdit in new arenas when you need to. Try to put them as close to each other as possible when you do.
The problem with having a world for each is pretty simple. A lot of worlds means a lot of threads, a lot of chunks loaded, a lot of mobs, which means a lot of RAM and CPU usage.
Yeah, so go with the void map. I don't want you to kill your server. xD
-
View User Profile
-
Send Message
Posted Jun 28, 2012Which one would help reduce lag?
Keep all my hg maps are in a huge void map.
Or put into individual worlds.
any input?
-
View User Profile
-
Send Message
Posted Jun 28, 2012v0.8.1a has been uploaded, mainly to fix the nasty error everyone was getting whenever a player was eliminated. This update also clears drops as well as mobs before match start.
Updating is extremely recommended! You can get the new version on GitHub before it's approved on BukkitDev: v0.8.1a
Note: If updating from v0.8a, a database clear is not necessary, but if updating from an earlier version, you MUST still clear your database.yml file.
-
View User Profile
-
Send Message
Posted Jun 28, 2012@jaggy80
Nope, everyone is getting that, it's not another plugin. I just fixed it.
-
View User Profile
-
Send Message
Posted Jun 28, 2012Wondering if anyone else is getting Internal error when trying to /hbg leave All my players are stuck in the game until it's stopped. I'll post a ticket if I can get the console error info. I'm guessing it's conflicting with one of my other plugins. Everything else seems to work.
-
View User Profile
-
Send Message
Posted Jun 28, 2012@Minerscentral
@Baamoink
I'll take care of this today, and upload a new version asap.
@urndel
yessir, i can do that. Also, on a side note, how do you like mclayer as a host, I'm thinking about maybe trying them out.
-
View User Profile
-
Send Message
Posted Jun 28, 2012My Chest do not fill still i deleted database file and created a new arena. People are not counted dead after they die.
When a player finishes in the arena, it spams them saying that they can't go outside of the arena, so they are forced to relog. When they log out this error is received in the console.
28.06 13:43:06 [Server] INFO ... 17 more
28.06 13:43:06 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
28.06 13:43:06 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:616)
28.06 13:43:06 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
28.06 13:43:06 [Server] INFO at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
28.06 13:43:06 [Server] INFO at me.tomjw64.HungerBarGames.Listeners.Game.EliminationListener.death(EliminationListener.java:26)
28.06 13:43:06 [Server] INFO at me.tomjw64.HungerBarGames.Util.Games.PlayerHandler.eliminate(PlayerHandler.java:79)
28.06 13:43:06 [Server] INFO at org.bukkit.craftbukkit.CraftWorld.dropItemNaturally(CraftWorld.java:318)
28.06 13:43:06 [Server] INFO at org.bukkit.craftbukkit.CraftWorld.dropItem(CraftWorld.java:299)
28.06 13:43:06 [Server] INFO at org.apache.commons.lang.Validate.notNull(Validate.java:203)
28.06 13:43:06 [Server] INFO Caused by: java.lang.IllegalArgumentException Cannot drop a Null item.
28.06 13:43:06 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
28.06 13:43:06 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
28.06 13:43:06 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
28.06 13:43:06 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
28.06 13:43:06 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
28.06 13:43:06 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
28.06 13:43:06 [Server] INFO at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
28.06 13:43:06 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:341)
28.06 13:43:06 [Server] INFO at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:228)
28.06 13:43:06 [Server] INFO at net.minecraft.server.EntityHuman.F_(EntityHuman.java:159)
28.06 13:43:06 [Server] INFO at net.minecraft.server.EntityLiving.F_(EntityLiving.java:435)
28.06 13:43:06 [Server] INFO at net.minecraft.server.Entity.F_(Entity.java:268)
28.06 13:43:06 [Server] INFO at net.minecraft.server.EntityLiving.aA(EntityLiving.java:264)
28.06 13:43:06 [Server] INFO at net.minecraft.server.Entity.aA(Entity.java:366)
28.06 13:43:06 [Server] INFO at net.minecraft.server.EntityLiving.aI(EntityLiving.java:1359)
28.06 13:43:06 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
28.06 13:43:06 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
28.06 13:43:06 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
28.06 13:43:06 [Server] INFO org.bukkit.event.EventException
28.06 13:43:06 [Server] SEVERE Could not pass event EntityDamageByBlockEvent to HungerBarGames
-
View User Profile
-
Send Message
Posted Jun 28, 2012@VCarnelion
Arena limits are now set with /hbg setboundary [square/circle] [radius] This way you stand in the center of your arena and set it
-
View User Profile
-
Send Message
Posted Jun 28, 2012@tomjw64
Error 1: When a player finishes in the arena, it spams them saying that they can't go outside of the arena, so they are forced to relog. When they log out this error is received in the console.
Error 2: This is what keeps coming up when I try to type /hbg leave
-
View User Profile
-
Send Message
Posted Jun 28, 2012Could you please make it optional to reset the world time? Its very annoying when other stuff is going on in that world