HungerArena
2/12/20 - To anyone that might see this! I am working on recoding and optimizing this plugin--from the ground up. If you are interested in helping out, or want to be among the first to test it, please join my Discord!
HungerArena
Thank you for 50,000 downloads!!
Been a while, 50,000 downloads is quite the milestone. I'm going to be doing a full rewrite of the plugin soon. Hopefully fix stupid bugs and things. Thanks guys :D
HungerArena - A simple plugin for the Hunger Games!
Recommended build: 1.4
I currently don't have a server, but I'm ready to hit the order button and I'm currently working on the spawn and things!! I just need a few donations, so hit this button!
\/ \/ \/ \/ \/ \/ \/
Need help?
Video courtesy of our very own FordRacer!
Description
This is a simple Hunger Games plugin! You can set up all the player positions, warp all tributes there, and fight for a reward! You set the positions using /startpoint 1, 2, 3, etc. Then you don't have to set the locations again! Then you use /ha join to going the game(/ha leave to get out) Then /ha warpall - Warps all tributes to position freezing them in the process. Then to start the games you do /ha start - it announces "Let the Games Begin!" and allows the players to move and from there you fight!!! In the config you can toggle block protection for tributes that are playing. There is a configurable chat radius allowing tributes to talk to each other. When a player is killed they will be teleported to the spot defined with /ha setspawn Then, the winner will be rewarded 10 diamonds unless you change it in the config! /ha restart clears all lists.
How to use!
Video courtesy of our very own FordRacer!
How to configure and install the plugin:
Requirements
- A permissions plugin
The plugin has only been tested with PermissionsEX and PermissionsBukkit and GroupManager
COMMANDS
Commands can be found here: https://github.com/travja/HungerArena/wiki/Commands
PERMISSIONS
Permissions are here: https://github.com/travja/HungerArena/wiki/Permissions
NON-COMMAND FEATURES
Chest Storage - By hitting a chest with a blaze rod it will store the chest, also, if a tribute opens a chest it will store it if it hasn't already been stored.
Have a configurable max players! - In the config there is an option to set the max amount of players!
Use Signs as commands! - Make a sign with the first line [Ha] or [HungerArena] and the second line can be any command from HungerArena that starts with /ha Also you can use [Sponsor] signs too!
Arena Resets - Any tribute modified block will be stored and reset at the end of the game. Blocks are configurable.
Whitelistable commands - Self explanatory!
Whitelistable sponsor items - again, self explanatory!
Economy support! - You can charge fees for sponsoring, joining, and give a reward for winning!
Fully Automated - Configure the plugin to make it auto restart.
DeathMatches! - Configure the deathmatch time in minutes and it will count down.
Freezing - Tributes will be frozen on their pedestals and will either blow up or be teleported back if they leave.
BUGS
- Report bugs in the tickets tab.
CONFLICTING PLUGINS
- GriefPrevention - There are quite a few configuration settings that will get in the way of what HA wants to do.
PLANNED
- Multi Arena support
- Spawns with a tool
- Storing inventory on join
Need help?
Read the FAQ before you ask in comments or make a ticket.
Changelog
Changelog will now be Here! (Just making the description a little shorter)
Other stuff and credit
Note: This is my Second plugin, still kind of a newb. Any tips/improvements are welcome!
Also, if you would like a dev build email me @ [email protected]
Also, I would like to recognize my pals from Curly Brace Productions for helping me out!
Wanna learn how to code?
Also, if you could look at my other vids (Minecraft Let's Play) here: http://www.youtube.com/watch?v=F8rlcleduEc&feature=player_embedded
@TheOnlyRealTGS
Not sure...
@TheOnlyRealTGS
It is trying to save the config but it's already there so it doesn't, nothing to be worried about.
Hey the plugin is great! I had a hunger games server but had to do everything manually. Now with this plugin all i have left to do is start the games. I would love it if you make more then 24slots. Maybe 40 or 50. My server is always full. So please upgrade it to more people can play! Thanks :D
Btw why is this happening?
2012-04-17 18:36:35 [INFO] [HungerArena] Enabling HungerArena v1.2.1
2012-04-17 18:36:35 [INFO] [HungerArena] HungerArena has been Enabled
2012-04-17 18:36:35 [WARNING] Could not save config.yml to plugins\HungerArena\config.yml because config.yml already exists.
<<reply 658226>>
The only reason this would be happening is if players are leaving the server and there is only one person that is playing.
I post my server log:
2012-04-17 18:36:32 [INFO] Starting minecraft server version 1.2.5
2012-04-17 18:36:32 [INFO] Loading properties
2012-04-17 18:36:32 [INFO] Starting Minecraft server on *:25565
2012-04-17 18:36:32 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
2012-04-17 18:36:32 [INFO] [HungerArena] Loading HungerArena v1.2.1
2012-04-17 18:36:32 [INFO] [WorldEdit] Loading WorldEdit v5.3
2012-04-17 18:36:32 [INFO] [Pail] Loading Pail v0.8
2012-04-17 18:36:32 [INFO] [WorldGuard] Loading WorldGuard v5.5.2
2012-04-17 18:36:32 [INFO] [PailPlus] Loading PailPlus v0.3
2012-04-17 18:36:32 [INFO] [Pail] Enabling Pail v0.8
2012-04-17 18:36:33 [INFO] Connection reset
2012-04-17 18:36:33 [INFO] Preparing level "The Survival Game V.1.2"
2012-04-17 18:36:33 [INFO] Default game type: 0
2012-04-17 18:36:33 [INFO] Preparing start region for level 0 (Seed: -4530952403499657140)
2012-04-17 18:36:34 [INFO] Preparing spawn area: 57%
2012-04-17 18:36:34 [INFO] Preparing start region for level 1 (Seed: 2876081679307486377)
2012-04-17 18:36:34 [INFO] Connection reset
2012-04-17 18:36:35 [INFO] [HungerArena] Enabling HungerArena v1.2.1
2012-04-17 18:36:35 [INFO] [HungerArena] HungerArena has been Enabled
2012-04-17 18:36:35 [WARNING] Could not save config.yml to plugins\HungerArena\config.yml because config.yml already exists.
2012-04-17 18:36:35 [INFO] [WorldEdit] Enabling WorldEdit v5.3
2012-04-17 18:36:35 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-04-17 18:36:35 [INFO] [WorldGuard] Enabling WorldGuard v5.5.2
2012-04-17 18:36:35 [INFO] [WorldGuard] Blacklist loaded.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2) TNT ignition is PERMITTED.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2) Lighters are PERMITTED.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2) Lava fire is blocked.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2) Fire spread is UNRESTRICTED.
2012-04-17 18:36:35 [INFO] [WorldGuard] Loaded configuration for world 'The Survival Game V.1.2'
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2_the_end) TNT ignition is PERMITTED.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2_the_end) Lighters are PERMITTED.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2_the_end) Lava fire is blocked.
2012-04-17 18:36:35 [INFO] [WorldGuard] (The Survival Game V.1.2_the_end) Fire spread is UNRESTRICTED.
2012-04-17 18:36:35 [INFO] [WorldGuard] Loaded configuration for world 'The Survival Game V.1.2_the_end'
2012-04-17 18:36:35 [INFO] [WorldGuard] 1 regions loaded for 'The Survival Game V.1.2'
2012-04-17 18:36:35 [INFO] [WorldGuard] 0 regions loaded for 'The Survival Game V.1.2_the_end'
2012-04-17 18:36:35 [INFO] [PailPlus] Enabling PailPlus v0.3
2012-04-17 18:36:35 [INFO] Server permissions file permissions.yml is empty, ignoring it
2012-04-17 18:36:35 [INFO] Done (2,724s)! For help, type "help" or "?"
2012-04-17 18:36:58 [INFO] /ALOT of ppl lost connection so i deleted this part
2012-04-17 18:36:59 [INFO] Jmations [/77.96.222.181:55100] logged in with entity id 73 at ([The Survival Game V.1.2] -1572.5, 96.62000000476837, -604.5)
2012-04-17 18:36:59 [INFO] Jakewhitehead [/77.96.222.181:50663] logged in with entity id 74 at ([The Survival Game V.1.2] -1568.5, 96.62000000476837, -602.5)
2012-04-17 18:37:00 [INFO] Tangosmurf [/81.101.124.25:57538] logged in with entity id 75 at ([The Survival Game V.1.2] -1559.5, 96.62000000476837, -610.5)
2012-04-17 18:37:01 [INFO] creepyL [/86.158.111.52:51098] logged in with entity id 76 at ([The Survival Game V.1.2] -1559.5, 96.62000000476837, -605.5)
2012-04-17 18:37:01 [INFO] muzzyman [/81.152.93.158:56042] logged in with entity id 86 at ([The Survival Game V.1.2] -1556.5, 96.62000000476837, -607.5)
2012-04-17 18:37:01 [INFO] Leksell96 [/87.227.51.69:49805] logged in with entity id 87 at ([The Survival Game V.1.2] -1556.5, 96.62000000476837, -607.5)
2012-04-17 18:37:04 [INFO] TheHummbug [/83.67.70.185:54750] logged in with entity id 88 at ([The Survival Game V.1.2] -1564.5, 96.62000000476837, -612.5)
2012-04-17 18:37:04 [INFO] Kayan118 [/75.72.228.172:51515] logged in with entity id 89 at ([The Survival Game V.1.2] -1563.5, 96.62000000476837, -597.5)
2012-04-17 18:37:06 [INFO] creepyL has Joined the Game!
2012-04-17 18:37:06 [INFO] marlowejd [/79.75.69.119:60606] logged in with entity id 90 at ([The Survival Game V.1.2] -1559.5, 96.62000000476837, -604.5)
2012-04-17 18:37:06 [INFO] creepyL is the victor of this Hunger Games!
As you can see creepyL is the first one to join the game and then he wins.
@Thingon
No
K, Just an update, I think I fixed all/most of the bugs, will release tonight!
@hawkfalcon
Doesn't.... I could add an explosion to where the player dies but not everyone would hear it... And if the people closer heard it they would think that another tribute was there.
@Thingon
Not yet, Might do it eventually
Is there a chest reset?
@travja
Caanyou?:D Or does it already do that? ;/
K... Bug fixes will be delayed as I am finding more bugs and can't figure out why the code is giving me issues... Hope to have them fixed by the end of the week (maybe wednesday)
When someone dies in the game, can you make it so there is a boom?
@TheOnlyRealTGS
I think I fixed this... Dunno, need to test
@TheOnlyRealTGS
I think I have fixed the chat bug... I only have it so people that are playing have the chat restrictions. As for teleportation, did you regenerate a new config?
@TheOnlyRealTGS
Working of fixing this
@TheOnlyRealTGS
The only reason this would be happening is if players are leaving the server and there is only one person that is playing.
@Darrennick
A video would be great! My Skype is: travja4 And I would also like to thank you for finding bugs!
@ratedr98
Umm... I could disallow them the right to fight until they are warped, would that work?
@ratedr98 You should disable pvp in the spawn point.
Yeah that seems like a good idea.
PLEASE FIX! When my players type the /ha join command they can begin to kill one another! Can you please have it so that once they type /ha join they teleport straight to their pod!
@travja
It says they died. But just like the regular minecraft message. For say, when they die from another player killing them it shows the custom blue message. But as for starvation.. it doesnt show the message. They get tp'd to the spawn area but they are still on the list.
"Even if you disable the ''near chat'' function it dont seems to be deactivated for the ppl that not are in game (ppl that not have typed /ha join). When these ppl say something it is displayed like this: <What you say> <YourUserName><What you say>"
This is the chat bug. Exactly this. And goes even more crazy with 'Realistic Chat' Plugin. "When you die and a lightning strikes you, other ppl near you is often set on fire"
This too. If somebody kills another player pvp, it sets the person who killed them on fire.
Protection works fine. I would just love it if you could allow breaking of certain blocks.
I can create a video showing you some bugs if you like.
Whats your skype? This plugin is exactly what I need. Thanks.
Suggestion:
Make an option so you only hear the lightning when someone die
Another bug:
When you start the server and ppl type /ha join, some of the first gets the reward and the message: <username> Has won the hunger games
Another bug:
When you die and a lightning strikes you, other ppl near you is often set on fire
I get these messages in the server log when i do /ha warpall. And these errors continue forever until i restart the server
2012-04-17 16:08:10 [SEVERE] Could not pass event PlayerMoveEvent to HungerArena
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:209)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
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:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at me.Travja.HungerArena.DeathListener.onPlayerMove(Main.java:719)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 10 more
2012-04-17 16:07:56 [SEVERE] Could not pass event PlayerChatEvent to HungerArena
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786)
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:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at me.Travja.HungerArena.DeathListener.Chat(Main.java:843)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 11 more