-
Notifications
You must be signed in to change notification settings - Fork 0
API
Chris edited this page May 18, 2014
·
8 revisions
FactionAlert's API is designed to let developers crack it open and do whatever they like.
FactionAlert has a maven repository! It's located here. To use it, simply add one of these to your repositories:
<repository>
<id>factionalert-repo</id>
<url>https://github.com/superckl/factionalert/tree/mvn-repo</url>
</repository>
<repository>
<id>factionalert-repo</id>
<url>https://github.com/superckl/factionalert/tree/mvn-repo-1.6.9.4</url>
</repository>
and this to your dependencies:
<dependency>
<groupId>me.superckl</groupId>
<artifactId>factionalert</artifactId>
<version>0.53</version>
</dependency>
The javadocs for FactionAlert can be found here.
FactionAlert fires calls an event to let other plugins know that it intends to dispatch a simple alert to a group of receivers. This event is DispatchSimpleAlertEvent and can be listened for using the default Bukkit listeners system.
In progress