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.
@jwa1
The scoring system works off my other plugin BattleTracker. So you can either use that or just go into the messages.yml and take out those sections for wins/losses. Battletracker can be configured to just be a database backend for Spleef.
Let me know if you want to take them out and I can guide you through !
When i start a game of spleef it says: [spleef] jwa1[0] VS (other opponent)[0]
and when i win: [spleef] jwa1[0] (0:0) defeated (other opponent)[0] (0:0)
Those zeros, are they part of a score system? If yes, how do i enable it?
@skylakewalker
So I logged in and maybe its fixed? Let me know!
i cant get the regen to work either: 198.12.123.254 is there a way i can get to regen on restart?
@styno97
I hopped on, but I can't tell the version you have. Could you give me the perms "arena.admin", that would help to see what is going on.
The server where im op on atm is having a problem with the regen function. We made a spleef arena, protected it with wordguard, made a layer , set the spawns for it . We also set the regens for it but somehow its not working. It says that it is created but after each game we do it doesn't reset , pls help us ( ip : flick.dyndns.org)
@savetrev
The regen function isnt working here either.
All was well and now for some reason, I have a spleef and paintball arena up. I list them and see them and they are set up, but it says, "A valid arena has not been built for Spleef." Thanks!
@savetrev
Give me your ip so I can check.
Here is the section on dueling
https://github.com/alkarinv/BattleArena/wiki/Dueling
Thank you so much! :-)
I still can get regen working, but I'll try later.
Also, do you know the command line for others (builders) being able to challenge others to a duel? I tried spleef.*, arena.*, arena.spleef.*
Thanks :-) I'm just using the console. I couldn't find anything in the jars.
@savetrev
Nah, bukkit sometimes takes a bit to verify the new jars.
Here is a github download link for now
https://github.com/downloads/alkarinv/ArenaSpleef/ArenaSpleef.jar
Thank you! :-) Sorry if this is a stupid question: I only see 1.1.0 available for download. Where do I get 1.1.5?
@Stuntweed
You hadn't used the db in. 80,614 seconds.. Anyway download the newest BattleTracker that should auto reconnect even after long periods of non use (at least it should now).
@savetrev
Try the newest ArenaSpleef, it has a fix for this. 1.1.5+
I got my spleef arena set up, but I'm not sure how to get the regen working. I created the arena, selected two spots with a wooden axe, and then put in "/spleef setlayer first 1" then "/spleef setlayer first 1 1" then broke the snow and it didn't regen. I tried different heights in case I missed, but to no avail. I have no idea how it knows which blocks to regen...? Thanks! and I love this plugin!
@alkarinv
New error pops up when I stopped my server after playing a spleef match.
http://pastebin.com/3YWSxkZp
@Stuntweed
Strange, that means the block the player clicked was null... That really shouldn't ever happen but I now check for it! It's handled through BattleArena so I will update that today.
@kamuzai8
RIght now when it fills any arena it uses it, so the arena would have to be filled while the other is in use, but I'm working on the queuing system now (it's a today goal). So hopefully soon you can do this.
@alkarinv
This works, but I have two arenas. One that is 1v1 and one that is 1v1v1v1.
How do I make both work? Thanks
@alkarinv
This happens when playing a spleef game:
http://pastebin.com/5WZHWqPn
@joehot200
Oh, and this should fix your issue with joining/leaving.
https://github.com/downloads/alkarinv/BattleArena/BattleArena.jar
@kamuzai8
You just made 4 spawns, To make it 4 players.
Go into ArenaSpleef/SpleefConfig.yml
add a line that says. nTeams: 4
example:
That will make that work.
@joehot200
This should answer questions about giving rewards.
https://github.com/alkarinv/BattleArena/wiki/Configsetup#wiki-Giving_items_for_winninglosing
If that doesn't explain it well enough let me know!