Skip to content

Foxikle/FoxRank

Repository files navigation

FoxRank

version version

Installation Proccess

Check out the wiki linked Here.

For Developers

FoxRank does support other plugins through the use of its API.

To get started, add the following dependency tag to your pom.xml

<dependency>
    <groupId>me.foxikle</groupId>
    <artifactId>foxrank</artifactId>
    <version>1.9.4</version>
</dependency>

This tells maven to download the FoxRank library for you.

Next, to get an Instance of FoxRank, simply use Bukkit's ServicesManager class. Here is an example class using it. Make sure this is in your main class' onEnable method.

import me.foxikle.foxrank.FoxRank;
import org.bukkit.plugin.java.JavaPlugin;

public class Demo implements JavaPlugin {

    private FoxRank foxRank;

    @Override
    onEnable() {
        foxrank = this.getServer().getServicesManager().load(FoxRank.class);
    }

    public FoxRank getFoxRank() {
        return foxRank;
    }
}

Now you should be all set to use the FoxRank library. If you encounter any bugs, please be sure to report them in the issues tab.