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.
@georgegoessmall
You can't currently make the shovels unbreaking.. but you could make them enchanted. in the SpleefConfig.yml change diamond_spade: 1 to diamond_spade: durability:3 1
if PvP is not off, inside SpleefConfig.yml add in the option pvpOff to onStart: Example:
@rickoman
That looks like a Multiverse problem. Basically multiverse does something where it refuses to let the player join because it thinks they already exist in that world, this causes bukkit to throw the error you just showed. That error means they are already "in" the server even though multiverse wouldn't let them join. That makes BattleArena think they've already been handled and teleported even though they haven't.
I've tried to make a work around for this multiverse problem but my attempts have failed because the server literally thinks the player is online when they really aren't. So I can't distinguish between who is really on the server or not, when bukkit itself can't distinguish.
Hi, I got this error today, and the user was disconnected and lost his inventory (have it set to it is restored after match). He was also moved to a location outside the arena, randomly:
2012-09-28 16:02:16 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Failed to add player. EntityPlayer['boyboyyo5678'/34755, l='Arena', x=-68.11, y=1.00, z=-19.79](boyboyyo5678 at -68.10534350080349,1.0,-19.787138440720632) already is in chunk -12, -9 java.lang.IllegalStateException: Failed to add player. EntityPlayer['boyboyyo5678'/34755, l='Arena', x=-68.11, y=1.00, z=-19.79](boyboyyo5678 at -68.10534350080349,1.0,-19.787138440720632) already is in chunk -12, -9 at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:28) at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:101) at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:123) at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:172) at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92) at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121) at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41) at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Thanks,
Also: How do I turn off PvP?
And how do I make the shovels unbreaking?
@alkarinv
Not sure what I'm doing wrong but all I'm getting when trying to setup the Layer with (/spleef setLayer spleef snow_block) I ger the error "Arena spleef is not a spleef arena!"
No errors in console btw
* Okay so now i skipped the setLayer part and just tried to join and this error popped up: http://pastebin.com/Kx7KQVW4 arena.yml and spleefconfig.yml: http://pastebin.com/mjyyc6uR
@georgegoessmall
Add these 2 lines to the SpleefConfig.yml.
Also you will probably want to make at least 4 spawn points.
How do I set it to do 1v1v1v1?
@alkarinv
Thank you, I think a config option for time to regenerate would be great.
@alkarinv
Thanks!, Works great!
Yes i mean the time between no match like there is no match the floor can be broken.
@iNegr0x
Try using the most recent version of BattleArena (v3.6.8). It has a fix for windows servers that werent creating the configs properly. BattleArena_v3.6.8
This Plugins is Defekt. He dont create a Folder , Sry i dont have the Error Code.
@arriej
You should make the layer underneath something deadly. Like lava, or cactus, or swarms of invincible mobs.
For tracking the wins/losses you will need another of my plugins BattleTracker. It's a lightweight plugin that you can configure to only be a database backend for Spleef.
To make them get money, and have an entrance fee. Follow this first, and if it doesnt make sense I can help you out. Config tutorial
isn't it suppose to be that a player dies as soon he hits the water? And the floor keeps dropping snowbals in the water.
Am i doing something wrong?
Also now i made a lava floor under it, Its not counting looses and wins. And i want to be that the price money 150 is, How can i do this? And set a price for the arena ?
@rickoman
It's intended that the floor will regenerate after 45 seconds. I'll see if I can put an option for that inside of the config.yml, along with how long before it regenerates.
If a player does
If you only want 2v2, 3v3 etc, you have two options.
1. Make all spleef matches 2v2. go into the SpleefConfig.yml. Add these 2 lines.
2. Make only certain arenas 2v2
I really like the plugin. Two questions:
- Is it intended that the spleef floor resets by itself sometimes during a match?
- Is there a way to make allow other configurations aside from 1v1? Like 2v2 or 4 in a free-for-all?
@kustomcraft
1 block is missing eh? I'll see what is going on there.
The layer should reset when a new match is going to happen. Do you mean in between that time and when the match actually starts?
Nice plugin!, may i suggest, when the arena resets floor sometimes does not fully reset like one block was missing that when i was dieing in the lava i was digging and just dug it before it all reset somehow o.O, and also make it players can not dig the floor befoure the game, some times people can use hacked clients to get into the arena and dig the floor witch ruins the game for other people..
@tmackb24
There is an issue for Windows servers where the config file wasn't being created properly. I am working on a fix now. The fix will be in for BattleArena_v3.6.8, should be out tonight or tomorrow. I'll put up a direct link for you when I make it.
Also for now you can get it here https://github.com/alkarinv/ArenaSpleef/blob/master/SpleefConfig.yml Copy that into your ArenaSpleef directory.
You might also need to create an SpleefMessages.yml SpleefMessages.yml.
Really sorry about that, i didnt know I had path issues for windows.
My spleefarena isnt making a config folder. It has the arena.yml but no config.yml. I have battle arena installed also?