BattleDev

From Battle Plugins
Jump to: navigation, search
DEV.png

API

Tutorial

Read this tutorial for creating a simple first extension game.

Event Handlers

BattleArena uses a custom annotation, @ArenaEventHandler, that allows you to only listen for events that occur inside an Arena. This is used like the normal @EventHandler annotation but greatly simplifies code as all the checking to make sure a player is in a game, and finding the correct game, is already taken care of. @ArenaEventHandler:

         @ArenaEventHandler
             public void onBlockPlace(BlockPlaceEvent event){
                 /// This event will only be called for players inside the arena placing blocks
             }

CustomCommandExecutor's

BattleArena allows you to simplify commands with a custom way of creating methods. Custom Command Executor

JavaDocs

[| JavaDoc]

Battle Arena Modules

See this page for more details on Battle Arena: Modules

Maven Repository

Maven repository coming soon!

Examples

Handling Arena Events Examples

Full Plugin Examples

Useful Options

API Tutorial

Custom Command Executor

Handling Arena Bukkit Events Examples

Return to Index

Main Page