ArenaSpleef

A Spleef plugin where players can queue and will join a free Spleef arena. You can make more than one Spleef arena and players will cycle through them. If all arenas are in use, the players are kept in the queue and will join when one opens up.
You can modify all aspects of the spleef by editing the SpleefConfig.yml. Including what items they get for the spleef, whether they get prizes, etc.
Features
- Regen layers at specified intervals
- Multiple layers can be created for any arena
- Multiple arenas can be used at one time
- Small team matches or server wide spleef events
Installing
- Put the ArenaSpleef.jar in your plugins folder, along with BattleArena.jar, WorldEdit.jar, and WorldGuard.jar
Making a Spleef arena
You will have to create an area for the spleef. Make one or more layers you want the players to fight on. Make sure that below the last layer that the players either land in water or lava/some other deadly trap.
- /spleef create <Spleef arena name> : Example /spleef create myFirstArena
- /spleef alter <Spleef arena name> 2 <- setup a second spawn, you can keep adding them if you want more than 2, like /spleef alter <Spleef arena name> 3. Example : /spleef alter myFirstArena 2
- Now select the layer you want the players to fight on with the WorldGuard edit tool (usually a wood_axe)
- /spleef setLayer <spleef arena name> . Example /spleef setLayer myArena
- you should probably protect the entire area with worldguard so they can't break out of the spleef arena.
Adding Multiple Layers
- /spleef setLayer <spleef arena name> <layer num> .
- Example /spleef setLayer myArena 2
Adding Regeneration to Layers
- /spleef setRegen <spleef arena name> <regen time>.
- /spleef setRegen <spleef arena name> <layer num> <regen time> .
- Example /spleef setRegen myArena 45 <- regen layer 1 every 45 seconds
Joining
- players will need the permission node arena.join.spleef
- /spleef join
- Permissions to leave arena.leave
Youtube Tutorials
YouTube Tutorials. If you find others please let me know
Help
- BattleArena wiki: Works for this plugin as well. Wiki
- Adding Signs : support for joining/leaving and status
- IRC: You can ask me questions in real time on irc when I'm on. You can usually find me in the rooms battleplugins, or bukkit in irc.esper.net. IRC through a browser
Requirements
This plugin is made to hook into BattleArena, so you also need to download it as well, along with WorldEdit and WorldGuard.
-
View User Profile
-
Send Message
Posted Jan 31, 2013@alkarinv Its when players return. Its never failed to tp anyone into the arena just when it tries to return them after the match.
-
View User Profile
-
Send Message
Posted Jan 31, 2013I added the plugin to my plugins folder and reloaded the server, but it doesn't generate a folder and it doesn't even show up at my /plugins ?
-
View User Profile
-
Send Message
Posted Jan 30, 2013@eightman8
You can put the flight off in several of the stages, with that and putting /flight on the disabled commands list that should be enough to stop it.
@Nick110
Ah, good to know!
@supawiz6991
This one is definitely me... not sure how it got there. It's saying one of the spawn location is null, either that or the player return location is null, both of which should never happen.
Is it when the players return? or get teleported in?
@alfahadgm
Sorry alfa, currently in the middle of changing that , so if it's not working I'm sorry and it should be completely working soon.
-
View User Profile
-
Send Message
Posted Jan 30, 2013how to disable teams in spleef ? i set nteams:8 and teamsize:1 , spleef wont auto forcestart until 8 players is joined
-
View User Profile
-
Send Message
Posted Jan 30, 2013@Nick110
Ya. I have that flag setup for inside the arena but not outside of it. I couldn't get the command sign to work inside that "blocked-cmds" region for obvious reasons. You got me thinking... The players type the flight command waiting for the match to start. I'm going to try a waiting room that is inside a "blocked-cmds" region. Nick110 thanks for the brain joggle.
-
View User Profile
-
Send Message
Posted Jan 30, 2013After a review of the logs heres what was found;
2013-01-30 05:28:16 [WARNING] [BattleArena] Task #39973 for BattleArena v3.7.9.5 generated an exception java.lang.NullPointerException at mc.alk.arena.controllers.TeleportController.teleport(TeleportController.java:56) at mc.alk.arena.controllers.TeleportController.teleportPlayer(TeleportController.java:41) at mc.alk.arena.competition.match.PerformTransition.transition(PerformTransition.java:221) at mc.alk.arena.competition.match.PerformTransition.transition(PerformTransition.java:92) at mc.alk.arena.competition.match.PerformTransition.transition(PerformTransition.java:59) at mc.alk.arena.competition.match.Match$MatchCompleted$1.run(Match.java:431) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:530) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
It mentions battle arena but Ill let you decided which plugin is the issue!
-
View User Profile
-
Send Message
Posted Jan 30, 2013@alkarinv
Same thing that is happening to supawiz is happening to me
-
View User Profile
-
Send Message
Posted Jan 30, 2013@eightman8
I didn't code the plugin or anything, but I hope this will help you, because I also use all of the Battle Arena Plugins.
There is a flag with World Guard called "blocked-cmds" With this flag you can choose which commands players are unable to run inside the arena. This way once a player uses the Command Sign, it turns off their flight, and then they can't turn it back on because /flight is a blocked command.
So what you'd need to do is /region flag (regionname) blocked-cmds /flight
Hope this helps!
-
View User Profile
-
Send Message
Posted Jan 30, 2013I’m struggling with disabling flight. We allow flight throughout the server but need to disable it in the arenas. Flight on/off toggle commands are /flight, /fly. Commands /flight off, fly off also work to disable flight.
I referenced the BattleArena Wiki and followed the doCommand option.
onStart:
doCommands:
- player fly off
options: [teleportIn, blockBreakOn, pvpOff]
I must be doing something wrong. I setup a command sign that allows them to join the arena and snuck in a /flight off command. Players just hurry and type /flight before the match starts. I use all your arena plug-ins and would like to turn flight off in all of them.
The arenas are a huge hit. Ever consider of a mob arena?
-
View User Profile
-
Send Message
Posted Jan 29, 2013@supawiz6991
Usually that is because of an error somewhere... anything on the console?
Otherwise pm me your ip so I can check it out.
-
View User Profile
-
Send Message
Posted Jan 29, 2013Having a recurring issue where when everyone dies the match doesn't end.
-
View User Profile
-
Send Message
Posted Jan 29, 2013@Homwer
Yeah, didnt think of that, I'll find a way to make that work, try and get it to you soon.
-
View User Profile
-
Send Message
Posted Jan 29, 2013@alkarinv Thank you, i could create an arena with /bomberman and a different config. People can join with /bomberman join
BUT !
The command /bomberman setLayer is not availiable! Therefore the "selfrestoring" layer cant be defined - so the Areana will not be restored.
I tried to modify a spleef arena but then the plugin states that no valid arena has been created, as soon as i have some kind of layer information in the arena.yml
-
View User Profile
-
Send Message
Posted Jan 28, 2013@Homwer
So the best thing to do would be this.
copy the SpleefConfig.yml and rename it to be BombermanConfig.yml
Then go inside and change everything to be Bomberman and choose a cmd, like bm. ( I will have to give you a dev version b/c I accidentally broke this functionality on 3.7.9.5) I'll pm you it.
Then they can type /bm join... then you can give them different items than a normal spleef.
Spleef and everything that uses BattleArena can do everything that the battlearena configs let you do.
-
View User Profile
-
Send Message
Posted Jan 28, 2013Hi @alkarinv, the thing is we are using your plugin for a Bomberman arena. It works verry well but we would like to give people tnt directly into their inventory and change the matchtime :-) We figured out a work around but different config files would be nice :-)
By the way, when we have more than one arena, and people are registering for spleef with "/spleef join" only, which arena will be taken?
And I've seen that BattleArena allows teamsize like 2-4 - so the game will start after 2 min. when two or three players are waiting or instant if all 4 are filles up. Does Spleef provide this function as well?
-
View User Profile
-
Send Message
Posted Jan 27, 2013@Cealian
Pm me your ip and I'll hop on to help.
@Homwer
Kind of.. you would have to make a different yml for each "spleef" , like /spleef1, /spleef2
Let me know if you want to do that... otherwise I'll be trying to put in complete configurability per arena... but it wont be there for at least another 2 weeks.
-
View User Profile
-
Send Message
Posted Jan 27, 2013Hi alkarinv is it possible to have different SpleefConfig.yml for different arenas?
-
View User Profile
-
Send Message
Posted Jan 27, 2013i have done all that wont work
-
View User Profile
-
Send Message
Posted Jan 26, 2013@MadeBySaints
oops.. nice catch thanks!
-
View User Profile
-
Send Message
Posted Jan 26, 2013and i wanted to add... where it says /spleef setRegen <spleef arena name> <regen time> <layer number>
It should be Layer number first, then regen time... atleast thats how it works ingame. :)