A duel plugin for spigot. Spigot Project Page
Gradle:
maven {
name 'jitpack-repo'
url 'https://jitpack.io'
}
Maven:
<repository>
<id>jitpack-repo</id>
<url>https://jitpack.io</url>
</repository>
Gradle:
compile (group: 'com.github.Realizedd.Duels', name: 'duels-api', version: '3.4.1') {
transitive = false
}
Maven:
<dependency>
<groupId>com.github.Realizedd.Duels</groupId>
<artifactId>duels-api</artifactId>
<version>3.4.1</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
Add Duels as a soft-depend to ensure Duels is fully loaded before your plugin.
soft-depend: [Duels]
@Override
public void onEnable() {
Duels api = (Duels) Bukkit.getServer().getPluginManager().getPlugin("Duels");
}