BattleArena
NOTE: This project has moved to Modrinth. All future updates will be posted there and this page will no longer receive updates.

A complete match and event framework for creating arenas and minigames in Minecraft. Supports creating modes through config files, or fully custom modes through plugins.
BattleArena allows you to create your own competitions on a Minecraft server through config files. Nearly all aspects of game logic are configurable, ranging from team sizes, spawn points, maps, game mechanics and many other features.
Features
- Arena isolation - Store/restore player items when joining or leaving competitions
- Classes - Create custom kits or classes
- Dueling - Configure dueling options for your competitions
- Dynamic arenas - Scale up competitions in worlds on-demand
- Scoreboards - Configure scoreboards for competitions
- Statistic Tracking (with BattleTracker) - Store competition statistics and include leaderboards
- Team configuration - Create solo or team-based competitions
- Tournaments - Run bracket tournaments for any match type
- World restoration - Restore maps once a competition ends
Default Modes
Active games in BattleArena are referred to as Competitions. BattleArena natively supports two competition types:
Matches
A game that is started when a certain condition is met (i.e. number of players), or is always active. These games can be joined at any time, as long as there are available maps. Common examples may include Spleef, SkyWars, Survival Games, or Capture the Flag.
A list of additional gamemodes can be found here.
Events
A game that is started based on a certain interval, or when triggered by a server administrator. These games cannot be joined normally unless the event is active. Common examples may include a bracket tournament, deathmatch, or a free for all.
Builtin Match Types
- Arena: Simple duels mode that you fight with what is given to you in the config.
- Skirmish: You bring in items you want to fight with. The game is always running, and you can join and leave at any time.
- Colosseum: 4v4 team deathmatch. Last team standing wins.
- Battlegrounds: 1 minute match in which the winner is the player with the most kills.
Builtin Event Types
- Free for All: A free for all deathmatch that starts every 30 minutes. Last player alive wins.
- Deathmatch: A 2-minute event where if you die you respawn. The player with the highest number of kills wins.
- Tournament: Bracket tournament for any number of teams.
User Guide
Most all of the configurable features in BattleArena will lie in the respective <arena>.yml files located in plugins/BattleArena/arenas. These can be modified, removed, and new ones can be added.
The full user guide for BattleArena can be found at the User Guide on the BattleDocs.
For Developers
BattleArena is highly extendable and has wide support for creating your own matches, events, and even competition types. It is an event driven framework, meaning external plugins can easily add or modify behavior in numerous ways.
Full documentation for the BattleArena API can be found on the Developer Guide on the BattleDocs.
Additional Extensions and Modules
BattleArena is a framework at heart, meaning that the base plugin comes with a very standard feature set, with the bulk of additional content coming from modules and extensions. The following extensions and modules build on top of BattleArena, and allow you to further extend BattleArena's capability.
Extensions
These are plugins which add new modes to BattleArena.
- ArenaSpleef - Adds Spleef to BattleArena
- ArenaCTF - Adds Capture the Flag to BattleArena
- ArenaPaintball - Adds a Paintball mode to BattleArena
- ArenaParkour (coming soon) - Adds Parkour to BattleArena
Statistic Tracking
Statistics are tracked by our sister plugin BattleTracker. This adds functionality such as leaderboards and ranking to BattleArena. See the BattleTracker page for more information.
Modules
These extend on existing BattleArena functionality and can (often) be used in any mode, even custom ones.
Bundled: These modules come pre-installed with BattleArena.
- Arena Resoration - Allows you to restore maps at the end of a competition from a WorldEdit schematic
- Boundary Enforcer - Ensures that players do not leave the arena bounds while in a competition.
- Classes - Adds custom classes (or kits) to BattleArena.
- Duels - Allows you to duel other players in configured arenas.
- One in the Chamber - Adds One in the Chamber support to BattleArena.
- Scoreboards - Adds scoreboard support to BattleArena.
- Team Colors - Changes the color of a player's name in arenas this module is enabled in.
- Team Heads - Sets each player's head item to a wool item of their team color.
- Tournaments - Adds bracket tournament support to BattleArena.
- Vault Integration - Support for functionality with Vault, such as adding/removing currency or giving/removing permissions in arenas
Third Party:
- PhatLoots - Support for configuring and resetting loot tables inside competitions.
A full list of party modules and plugins that utilize BattleArenacan be found on the Modules and Other Tools page on the BattleDocs.
Links
- Website: https://www.battleplugins.org
- Discord: BattlePlugins Discord
- Donate: BattlePlugins Patreon
Important Mentions
Special thanks to alkarin_v for writing the original BattleArena plugin back in 2011. While very little of the original code survives today, this laid the foundation of what would eventually become the BattlePlugins suite and the innovations that followed.
-
View User Profile
-
Send Message
Posted Dec 26, 2014Also, I have a question, I hope this hasn't been asked before ^.^'
I'm running this on a modded server, and I have a plugin that adds NPCs. These NPCs can execute server commands, and they also have dialog. So I would like to make it so that the NPC offers a "join arena" part of the dialog, and when the player clicks join arena, it sends him there. Are there any commands that can work with this? I mean something along the lines of /arena join <player>, not just /arena join, since that would not work.
Sorry if I'm not clear enough or am re-asking a question ^.^'
Thank you!
-
View User Profile
-
Send Message
Posted Dec 26, 2014Can I make a suggestion?
Betting. I would strongly suggest letting players bet on the fights. In an ideal situation, you could make it so that there's a timer (configurable) in which non-participants that are within a distance (also configurable) of the arena bet on who the winner will be. Afterwards, it should teleport all the spectators/betters to a defined area so that they could watch the match.
-
View User Profile
-
Send Message
Posted Dec 25, 2014@Zach443
That's only a temporary solution. I did suggest he try AsyncWorldEdit.
Yet another solution would be to upgrade the server hardware (CPU, RAM, etc).
Yet another solution:
We could always code a Block-Logging feature... Or hook into existing Block-Loggers like LogBlock, Hawkeye, etc. I think this would be more efficient because you wouldn't have to paste the entire region... you'd only be replacing what was destroyed.
Yeah, it'd be less blocks... but we'd have to pay the penalty for opening the connection to the database and waiting for the query. Which is why I suggested our own implementation where we simply store the log in memory for faster retrieval at the end of the match.
-
View User Profile
-
Send Message
Posted Dec 25, 2014@Europia79
"Don't allow regions to be destroyed"
That is not much of a solution. I think people that go through the trouble of setting that up want and have it for a reason :P
-
View User Profile
-
Send Message
Posted Dec 25, 2014@GodsDead
When does the 20 sec pause occur ?
Is it after a match ends ? Are you using WorldEdit to reset destroyed regions ?
if so, don't allow regions to be destroyed and you won't need to reset them with WorldEdit.
Alternatively, you could try AsyncWorldEdit along side WorldEdit. Be aware that I have never done this, so I would do it in a testing environment 1st... before trying it on a production server.
-
View User Profile
-
Send Message
Posted Dec 25, 2014@GodsDead
Yeah, that is not normal.... I think I will need to talk to you over IRC or something similar to solve your issue. I am not going to be available much today, but if you send me a PM on here we can work something out. :)
-
View User Profile
-
Send Message
Posted Dec 25, 20142758% on the timings report, may have a slight problem. Disabled the plugin for now.
-
View User Profile
-
Send Message
Posted Dec 23, 2014@NewtPvP
I just took a quick glance at the Spleef Arena source code... it looks like it's mostly calling BattleArena code... which means that updating BattleArena might fix your issues.
Try BattleArena v3.9.9.11 and lemme know if that works.
-
View User Profile
-
Send Message
Posted Dec 21, 2014@NewtPvP
I am working on that now! It should be released in the next few days, hopefully tomorrow.
-
View User Profile
-
Send Message
Posted Dec 21, 2014Is there anyway someone could update Arena Spleef to support WE 6 ?
-
View User Profile
-
Send Message
Posted Dec 19, 2014@GodsDead
As you probably know, arenas are created with WordGuard regions. That means you can add all the normal region flags to arenas. I would try setting the "entry" flag to deny. This should stop people (and mobs) from walking into your arena. I am not 100% sure how the arenas will react to this, so make sure you test your arenas just to make sure players that should be there can still get there.
-
View User Profile
-
Send Message
Posted Dec 19, 2014Is there a way to stop animals following people into the arena? Wolfs are proving troublesome.
-
View User Profile
-
Send Message
Posted Dec 17, 2014@CloudeLecaw
heya CloudeLecaw!
First, let's assume for a second that this error is even possible. Even if it is possible, goto the web address that it's trying to communicate with: http://battleplugins.com/statistics/set
You'll see that this error doesn't even matter.
As far as opening JARs. No that is NOT a solution. That is so that you can see for yourself what I'm talking about. Opening the JAR is proof that it's impossible. It's something that's done for a plugin to even get approved on dev.bukkit.org
Based on the stacktrace, i'm 100% sure that you're running either v3.9.6.7 or v3.9.6.7.4 ...because those are the only versions of BattleArena that could possibly produce those errors. Ask any Java developer if you don't believe me.
Unfortunately, I do not have enough information to help you. Please, either contact me on Skype and I will help you. OR post your entire server.log.
Please do not post Telnet or console. I need the file. Thanks!
-
View User Profile
-
Send Message
Posted Dec 16, 2014@CloudeLecaw
Lastly, with respect to WG5... YES, you can still use WG5 with the latest version of BattleArena. However, I don't know if WG5 will work with Craftbukkit 1.8
It seems to startup fine with no errors... however, someone should test it out. And verify that WG5 does in fact work on 1.8
-
View User Profile
-
Send Message
Posted Dec 16, 2014@CloudeLecaw
heya CloudeLecaw. First off, I would appreciate it if everyone would NOT post errors from the CONSOLE. Rather, go into the server.log and copy & paste the startup and stacktrace to pastebin. And leave a pastebin link. The reason for this is that the server.log is formatted to make it easier to read stacktraces.
Next, with respect to the error... That stacktrace is 100% impossible. Because the mc.alk.battleplugins was introduced in v3.9.6.7 and removed in v3.9.7.11
Simply open the JAR. The process varies depending on which operating system you're using. The only thing that I can speculate is... is that you're probably incorrectly installing or updating BattleArena... which could be a simply OS permission issue... Or something else ? If you need further help with this issue, just message me on Skype. I'll be happy to help.
-
View User Profile
-
Send Message
Posted Dec 16, 2014@CloudeLecaw
You can use either, but v6 causes some errors in some versions. Check out version, 3.9.9.8 for the fix
-
View User Profile
-
Send Message
Posted Dec 16, 2014Guys, i just released a new version of BattleArena v3.9.9.8
It fixes an issue reported by xion87 where BA doesn't work with WG6. Sorry about that. I originally didn't have time to fully test v3.9.9.6... The only thing I did was make sure it would compile and check for startup errors.
For BattleArena v3.9.9.8, if you want to use craftbukkit 1.8, make sure your WorldGuard has the Spigot patch.
http://www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-8.36598/
-
View User Profile
-
Send Message
Posted Dec 10, 2014@CloudeLecaw
That's an old version. You should update BattleArena and then those errors will go away.
-
View User Profile
-
Send Message
Posted Dec 10, 2014@NanoEdit
Good job finding that bug. The reason that happened is because you used WorldEdit v5.x with WorldGuard v6.x and the new WorldGuardInterface was instantiated based on the WorldGuard version. However, the WorldGuardInterface uses WorldEdit behind the scenes to perform some of it's responsibilities for saving regions and resetting regions.
Long story short, it's now fixed in BattleArena v3.9.9.6
-
View User Profile
-
Send Message
Posted Dec 10, 2014@Europia79
On enable:
http://pastebin.com/KMZTxLvj
On disable:
http://pastebin.com/tNyBGd2n