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
If I were to set PVP to false in the server properties, would this plugin toggle it for players participating in the game?
@travja
He was the only one left for sure. He had won because a player dropped and rejoined.
Not sure what to say. The errors was not a big deal I guess cause we still had a winner.
Problems also When I warp them to the tubes they get glitchy and lose half life. One died. If I don't pull lever fast enough they will die. Could be because I'm using tubes. Also need someway to stop game it was a real nightmare getting everyone on and after the glitch out on the warp the only way was for players to log out and login or it was fixed from me restarting server.
Trying some different things tommorow.
@slixxkilla
Does that normally happen? If it doesn't do you know if ps3_coldblooded was the only one one that used /ha join?
couple of errors tonight
4/20/2012 11:38:09 PM [INFO] ps3_coldblooded is the victor of this Hunger Games!
4/20/2012 11:38:09 PM [SEVERE] Could not pass event PlayerQuitEvent to HungerArena
4/20/2012 11:38:09 PM org.bukkit.event.EventException
4/20/2012 11:38:09 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
4/20/2012 11:38:09 PM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
4/20/2012 11:38:09 PM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
4/20/2012 11:38:09 PM at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:179)
4/20/2012 11:38:09 PM at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:698)
4/20/2012 11:38:09 PM at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
4/20/2012 11:38:09 PM at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
4/20/2012 11:38:09 PM at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
4/20/2012 11:38:09 PM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
4/20/2012 11:38:09 PM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
4/20/2012 11:38:09 PM at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
4/20/2012 11:38:09 PM Caused by: java.util.ConcurrentModificationException
4/20/2012 11:38:09 PM at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
4/20/2012 11:38:09 PM at java.util.ArrayList$Itr.next(Unknown Source)
4/20/2012 11:38:09 PM at me.Travja.HungerArena.DeathListener.onPlayerQuit(Main.java:830)
4/20/2012 11:38:09 PM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4/20/2012 11:38:09 PM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
4/20/2012 11:38:09 PM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
4/20/2012 11:38:09 PM at java.lang.reflect.Method.invoke(Unknown Source)
4/20/2012 11:38:09 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
4/20/2012 11:38:09 PM ... 10 more
4/20/2012 11:38:44 PM [SEVERE] Could not pass event PlayerJoinEvent to HungerArena
4/20/2012 11:38:44 PM org.bukkit.event.EventException
4/20/2012 11:38:44 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
4/20/2012 11:38:44 PM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
4/20/2012 11:38:44 PM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
4/20/2012 11:38:44 PM at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:132)
4/20/2012 11:38:44 PM at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129)
4/20/2012 11:38:44 PM at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
4/20/2012 11:38:44 PM at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
4/20/2012 11:38:44 PM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
4/20/2012 11:38:44 PM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
4/20/2012 11:38:44 PM at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
4/20/2012 11:38:45 PM Caused by: java.lang.NullPointerException
4/20/2012 11:38:45 PM at me.Travja.HungerArena.DeathListener.onPlayerJoin(Main.java:813)
4/20/2012 11:38:45 PM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4/20/2012 11:38:45 PM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
4/20/2012 11:38:45 PM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
4/20/2012 11:38:45 PM at java.lang.reflect.Method.invoke(Unknown Source)
4/20/2012 11:38:45 PM at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
4/20/2012 11:38:45 PM ... 9 more
@Squirzy
I am going to add more automation with V1.3 but I have to get 1.2.2 out first... and I'm pretty busy
You should make it so server admins sets a location for a lobby, where all players spawn in when they join the server or when a game ends. And once all players die (1 remaining as winner), the server will congratulate the player, reward the player and then teleport all players back to the lobby. Once that is done, a count down of 30secs to 1 min will count down until the next game starts again. When te time is up, all players will teleport to the starting area and freeze them and another count down of 10 secs or something will count down until the game starts and unfreezes players. This will make it fully automatic and will let servers run over and over again without an admin or mod online
What might it take to do a reset of some chest. like catacombs? For now i will just use Catacombs on my Arena and reset like that. They get items in middle, cannot break blocks, and get whatever is in a Catacomb (which will have crafting tables)
@tweekcraft
That is going to be a BIG update...
Can u make so the arena restor itself?
@slixxkilla It is trying to save the config but it's already there so it doesn't, nothing to be worried about. :)
@travja
I do have commandbook, and I fixed part of the problem. The spawn was set but in the config file there was an option to have exact spawn point or something and it was false so people spawned in the general area. But there's still a problem where if a player crashes or leaves they are sometimes left inside the arena when they join back, but they left so there no longer in the game.
Also just wondering if you know of an addon where it can restore a massive arena to its original state. I tried world edit, but it crashes the server. I just need it to simply load a backup I have. I plan on setting up an automated system where commands are scheduled to go off every hour and set up the game on its own, but I cant get a way to reset the map other then manually.
Annnd also, it seems like the lightning is still catching players on fire and hurting them.
problem? when I restart it trys to rewrite config which is fine but it shows error (im sure isn't a big deal)
4/20/2012 9:56:04 AM [WARNING] Could not save config.yml to plugins\HungerArena\config.yml because config.yml already exists.
@spaze4life
Ummm... Once I get a little more core work done I will start work on automation. But I suppose I can add /ha ready and once the people that have done /ha join = the amount of /ha ready it will start. Also, I am going to try and work out a config line for allowed commands and then the rest will be cancelled.
@travja
Oops i see sorry :/
You need to make this plugin self sufficient so that there doesn't have to be an admin sitting over the game the hole time. E.G (Make sure ALL commands are blocked inside of the hungergames!) (Make sure that people cant use the /back command to get back into the hunger games once they die) - Id suggest that only people who are currently "Active" in the games can attack eachother! (Maybe even lock the world off that the hunger games is being used in) - Requires multi world support
-Admin creates arena settings...positions..deathspawn THEN THE REST IS UP TO THE PLAYERS Player... /join (Gets put into a start posittions) Player... /ready (When a certain number of people do this command (Stated in config!) eg..5 Then the games begind a countdown and start... Last man standing wins!
@TheOnlyRealTGS
/ha list already has a perm, and /sponsor I can add one.
@agiantcheeto
I could do that... Umm... that is actually what I had originally. What I would advise is getting CommandBook temporarily so you can change the spawn point. For me they are at spawn when they first join. So set the spawn point and then you're good. Also, I will eventually get a toggleable iConomy support, for now though, I am going to work on more core stuff for the plugin. But in the future! :D
@jacburn
So you are basically saying it disables commands? So they can't teleport out of the arena and just let the other battle it out?
Idea: Make it so when some one joins the games, it changes their permissions, and after they die, leave, get kicked, or win, it changes back. I know that a Jail plugin does this when you jail them. (http://forums.bukkit.org/threads/admn-sec-simplejail-v1-7-8-jail-those-nasty-players-1-2-5-r1-0.20001/)
@travja
Your addon is not causing the spawn problem, minecraft is. When players join for the first time it usually spawns them to an area xblocks by xblocks around the set spawn point. I would like your addon to have a feature where when a player joins, it automatically sends them to the death spawn, or something, and this should happen everytime they join. Because as of now with the minecraft glitch players that join the server spawn outside of the spawn zone and inside the hunger games arena, and they can attack players while there technically not in the hunger games. "Summary" Feature: sends player to spawn point upon connecting to server.
Also another thing, I clear everyones inventory before starting a new game, and that clears the people who have previously won rewards. So could you maybe add iconomy support, so money rewards can be give.
Also, i believe this has been asked, more /setspawn # points, like maybe 48 or something. I get alot of players who are dissapointed when they cannot participate.
Thanks, your addon is the best out there for hunger games in my opinion.
Thanks for the update! A suggestion: Permissions for /ha list and /ha sponsor
@hawkfalcon
I might be able to but it will be a while before I get it out.