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.
@xATon2x
What do you mean lose their inventory?
Players should have their inventory stored at the beginning, then they should get it back at the end of the spleef.
If that's not happening some other plugin is probably not playing nicely with spleef. In which case PM me a list of your plugins.
Is there a way to make it so that the player loses without having them lose their inventory?
any chance u can come on within the next hour? ;)
@tarahere81
I can check now. Why don't you hop on! :)
it is : 91.121.226.106 /warp spleef /spleef join
Might wanna wait til tomorrow now its pretty dead late at night here =)
@tarahere81
whats your ip?
I'll come on and check it out.
I have the area guarded with towny and world guard not sure if this could cause the problem.. but the floor comes back after a game is finished just no regeneration to stop camping :/
yeah I tried /spleef setLayer splarena 1 20 and /spleef setlayer splarena 1 40 no luck ;d
@tarahere81
I just checked. It's working. Make sure you are using the command /spleef setlayer <arena name> <layer num> <time>
so like.
I don't think the floor regenerates i been watching it for quite awhile, using v 1.1.0 with battle arena
@MegaZone2012
I don't know anything about skitscape, so no clue there.
If you don't know how many people are going to join you can open up a spleef event where any number of players can join.
Otherwise you can configure the default number of teams and players per team. So you can do 1v1 (default) or 1v1v1v1, or 2v2v2, or whatever.
Pretty stupid question can multiple players join the arena? also does skitscape use this on his server? thanks!
@mhjxrtyhd
Nothing like that is in right now, I do like the idea and something like this is already on the list of enhancements I will be implementing. I'll put this in as well.
No like how you do two people can start a round, and say that the countdown is 60 seconds, but more people can join and the countdown will restart so as to let 2 people to start a match + more people
@mhjxrtyhd
Yeah, so you can change up the config to have different number of players per team, and different number of teams competing.
Changing the number of teams
Changing the number of players on each team
You can also do event spleefs, using the command /espleef, which allow any number of players to join. Running events
Wait alkarinv is there a command or config in this plugin that will allow me to have 2 or more people to join in a spleef match because everytime 2 join it just leaves it at 2 and starts the game. Is there any way around this?
@tarahere81
lol, oops :)
Yeah, one is made to be small 1v1 2v2, 1v1v1v1, etc matches. You just join the queue and fight when enough people are there.
The event spleef is made for larger groups. Give people time to join and have huge groups of players.
Since they are kind of different ideas I made them use different arenas. You don't want 20 people fighting in the same size arena as a 1v1 spleef!
ohhh nevermind i figured it out right after i posted hahaha.. there is /espleef as well ! so i just deleted my /spleef arena =)
Sooo I cannot make an espleef event without making a spleef event?
@tarahere81
Right now there isn't a great way to do what you want. Here is the waitroom setup https://github.com/alkarinv/BattleArena/wiki/Adding-wait-rooms
So the best way (for now) is to probably make a separate arena for the spleef event espleef. Then you can do things like espleef auto or just schedule it so that's constantly running. Scheduling events.
You can use signs for joining the event, and I can easily make one that allows players to start the event through a sign. At that point it's almost exactly what you want (almost).
I'll work on making it do exactly what you are describing though.