Skip to content

JoKrus/dj-battle-plugin-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattlePlugin Api

Usage

The BattlePlugin provides 2 events that you can listen to.

BattleStartedEvent and BattleStoppedEvent

They provide information about the Battle at start and if it was cancelled at stop.

You can listen to them like any other Bukkit event.

Installation

To get these events into your project on Maven.

  1. Add the JitPack repository to your build file
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
  1. Add this dependency
<dependency>
    <groupId>com.github.JoKrus</groupId>
    <artifactId>dj-battle-plugin-api</artifactId>
  <version>v1.2.0</version>
    <scope>provided</scope>
</dependency>