LavaArena
Lava arena is an exciting new minigame consisting of a lava based package of fun where all players get a bow and unlimited arrows. The aim is to shoot the other players into the lava below. Gold blocks creates a MASSIVE EXPLOSION aimed to knock off players! Diamond Blocks teleports you to them and refill your health.
Configuration video will be made for the next update as configuration is changing to support multiple arenas
Commands/Permissions
Just place the LavaArena.jar in the plugins folder of the server and it should (still in testing) create the configuration file. To set where the arena floor is, stand in the first corner and run the command /la set1 and then stand in the opposite corner and type /la set2. Run /la save to make sure that the configuration file is updated and then /la generate to put in the floor. Use /la join and /la leave to join and leave the game.
| Command | Purpose | Permission |
|---|---|---|
| /la join | Joins a game if not already in one | lavaarena.join |
| /la leave | Leaves a game | lavaarena.leave |
| /la generate | Generates a new floor | lavaarena.generate |
| /la set1 | Sets the first position of the floor | lavaarena.set1 |
| /la set2 | Sets the second position of the floor | lavaarena.set2 |
| /la save | Save the configuration file | lavaarena.save |
| /la load | Loads the configuration file | lavaarena.load |
| /la kick <player> | Kicks a player from a game | lavaarena.kick |
/lavaarena and /la can be used interchangeably depending on your preference.
Config Example File
It appears that the config file may not be created properly. Below is the config file I use on my test server. Use this code (with the locations/world changed as appropriate) if the plugin doesn't quite work (update coming soon).
Arena: L1: x: -1681 y: 85 z: 453 L2: x: -1587 y: 85 z: 359 World: Minigamez TopScore: 0 FirstLaunch: false Debug: false
Plans for the next update
- Multiple arena support
- Configuration video
- Max player per arena (configurable)
- Change the spawn rates for blocks on the floor (including disabling Diamond/Gold blocks per arena)
- Premade arena can be generated (to save time and effort)
- Complete mapping of arena (to detect when players are teleported away from the arena)
- Commands can be run as other users (/la join <arena> <player>, for admins)
- Reward system integration
- Less bugs (with any luck)
Suggestions/Problems
This is my first plugin which I am still developing. I have done some testing and it seems stable, but there may be a few bugs/changes you would like to the plugin. Please suggest them below as I would appreciate the input.
Source Code
For those who are interested the source code is located on github.
-
View User Profile
-
Send Message
Posted Mar 27, 2015I'm still interested in this plugin, and I will still pay to have it updated.
mslaw
-
View User Profile
-
Send Message
Posted Jan 11, 2015I will donate $25 if you just update this plugin to 1.8, lol.
mslaw
-
View User Profile
-
Send Message
Posted Jan 11, 2015Please update this plugin for 1.8, its a really fun minigame and we would like to use it again on our server.
mslaw mc.sioncraft.net
-
View User Profile
-
Send Message
Posted Apr 12, 2014Doesn't work with 1.7.2. It gives the errors for tasks 10 &11
-
View User Profile
-
Send Message
Posted Mar 25, 2014Is this stable with 1.7.2 or nah? Really like the look of this plugin.
-
View User Profile
-
Send Message
Posted Nov 28, 2013@Isis21
I have started to notice the issue with Multiverse, and I'm afraid I haven't found a fix (to keep them in the game). However, if joining the game within the minigames world works then you could set permissions to have lavaarena.join in the minigames world and not in the other worlds. This is about the only suggestion I can give to get it to work with multiple worlds (I will look into it though).
As for working in 1.7.2, I have no idea. I'm guessing that most plugins won't, but I haven't been able to test, as the 1.7.2 version of bukkit is not released yet.
-
View User Profile
-
Send Message
Posted Nov 24, 2013Update to my last post, I noticed that if we join the game from within the minigames world, we still spawn at the main world spawn but our old inventory is restored. Where we spawn is not so important, but getting the players their inventory back is important. How can we make sure that people join the game from within the minigames world? That would solve our problem for now. Thanks.
-
View User Profile
-
Send Message
Posted Nov 24, 2013I love this plugin! And its so simple to install and operate. Only one slight problem, we are using multiverse and when we die in the arena we spawn back at the main world spawn instead back in the arena! That would not be a problem but, the inventory we have when we enter the arena is gone and all we have is the Bow and Arrow from the lava arena? I tried deleting the config and letting it generate a new one to see if that would solve the problem but we still spawn at the world spawn and not back in the arena. I cannot find any place in either Multiverse or Essentials spawn that lets me change where we spawn when we die in the arena. Is there anyway to fix this? And will this plugin break when we update to 1.7.2? Keep up the good work and we look forward to using this plugin for a long time.
-
View User Profile
-
Send Message
Posted Sep 4, 2013@jessefjxm
I was made aware of this issue by jefle (though I think they had more errors than you have). I think it is caused by something not quite being saved right in the config as it thinks there is an arena but there isn't. If it is the "first-run" then try setting up an arena and then type /la save and then reload/restart). Does the plugin still work as it should (just spams errors to the console) or is it impossible to set up an arena? Try using the config example file if it doesn't (changed to the correct coordinates of course) as it may fix the issue. If that still doesn't work then maybe wait until the next release as I should have fixed the config issues by then (as I rewrote that bit of the code).
-
View User Profile
-
Send Message
Posted Sep 4, 2013@CityOnFire
Should be able to keep the arena that you have made (but not the floor of the arena where the players are). The plugin requires you to select the corners of where the floor is (and that is all it'll generate). In the video is a mockup arena of what could be done.
-
View User Profile
-
Send Message
Posted Sep 4, 2013Meet this error……
19:35:00 [WARNING] [LavaArena] Task #54 for LavaArena v1.0 generated an exception java.lang.NullPointerException at me.RocketRat23.LavaArena.LavaArena$2.run(LavaArena.java:76) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:518) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
-
View User Profile
-
Send Message
Posted Sep 4, 2013if i have an arena already made, can i use this plugin to make it a game? or do i have to start from scratch in order for the plugin to work? thank you much.
-
View User Profile
-
Send Message
Posted Sep 3, 2013@Geoneo97
It appears from a quick look that vault will do what I want (and DoctorCooper wants). If it is then I'll consider adding it as a soft dependent so that those who want it can and those who don't aren't required to.
-
View User Profile
-
Send Message
Posted Sep 3, 2013Please add Vault to this plugin ... Essentials Eco
-
View User Profile
-
Send Message
Posted Sep 1, 2013@DoctorCooper
I'll look into incorporating a reward/token system. Is there any specific plugin that you were thinking about (e.g. iConomy) so I can test it before releasing the update? I am most likely to set it so that it'll run a command as the server when a player leaves (so it can do /money give <name> <points>). This would be customizable in the config to support multiple plugins (or disabled if not required).
-
View User Profile
-
Send Message
Posted Aug 31, 2013@RocketRat23
Is there any way you could incorporate rewards? Like... either per-point, or per-win, you can get a token or something? I'm thinking sort-of like tying this, a few other Minigames, and a Token plugin together so that you can win <blank> tokens for every <blank> points, then exchange those for <blank> in either Minigame.
-
View User Profile
-
Send Message
Posted Aug 30, 2013@fuzypoo
I have managed to repeat the issue, and replied to daboross's reply to you. I think it is because Sky Wars isn't checking whether the player that is respawning was in the game or not, and so teleported them to the lobby. This will also occur if the player dies in any world (I think) as the priority is set to Highest. I also made it an issue on GitHub as I think that is what daboross reads the list of issues from.
-
View User Profile
-
Send Message
Posted Aug 29, 2013@RocketRat23
I have found the reason why players spawn at the other mini-game's lobby. It is that mini-game's plugin that is affecting respawn. However, in LavaArena when a player is killed by another player, that player is sent out of the arena although it says the player has been killed by the other player. A possibility could be that the Sky Wars plugin is interfering with the LavaArena plugin, but I am not certain. If I could somehow make it to where it would be a continuous game until /la leave, I think that would solve all my problems. I just don't understand why it sends the player to spawn after being killed. The lava is one block below the level of the stone brick blocks.
-
View User Profile
-
Send Message
Posted Aug 29, 2013@fuzypoo
It is great that you enjoy the plugin but I ain't 100% sure why you aren't respawning within the arena as it is supposed to work as you described.
I have something that checks to make sure that the player stays within 20 blocks of the floor (to check if they have teleported away). This may be triggering when players die if they are falling into a void or something (and not dying from lava about 2-3 blocks below). When this event triggers it would kick the player and teleport them to the world's spawn point (which may be the lobby of the other mini game).
If you can check the server console for something like [LavaArena] Player has left the game (out of arena). If it is a different message in the brackets then please post another comment and I'll tell you what is causing the strange behavior.
This isn't an issue that I thought would occur, but since it has I'll find a new way to detect players leaving the arena without using the /la leave command for the next update.
-
View User Profile
-
Send Message
Posted Aug 29, 2013Hey! Great plugin! I would like to know if there is a way you can respawn within the arena when you die, and when you want to leave, you can do /la leave? I think that'd be very helpful. Also, is it possible to change the respawn point after you die? When players die within this arena, they are taken to the lobby of another Mini Game plugin I have installed and not the actual spawn. Thank you for the help!