Skip to content

heyxmirko/Duels

 
 

Repository files navigation

Duels

A duel plugin for spigot. Spigot Project Page


Getting the dependency

Repository

Gradle:

maven {
    name 'jitpack-repo'
    url 'https://jitpack.io'
}

Maven:

<repository>
  <id>jitpack-repo</id>
  <url>https://jitpack.io</url>
</repository>

Dependency

Gradle:

compile group: 'com.github.Realizedd.Duels', name: 'duels-api', version: '3.5.1'

Maven:

<dependency>
    <groupId>com.github.Realizedd.Duels</groupId>
    <artifactId>duels-api</artifactId>
    <version>3.5.1</version>
    <scope>provided</scope>
</dependency>

plugin.yml

Add Duels as a soft-depend to ensure Duels is fully loaded before your plugin.

soft-depend: [Duels]

Getting the API instance

@Override
public void onEnable() {
  Duels api = (Duels) Bukkit.getServer().getPluginManager().getPlugin("Duels");
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%