No description
Find a file
2024-12-07 14:33:28 +01:00
.idea Initial commit 2024-12-07 14:33:28 +01:00
src/main/java/eu/m724/mstats Initial commit 2024-12-07 14:33:28 +01:00
.gitignore Initial commit 2024-12-07 14:33:28 +01:00
pom.xml Initial commit 2024-12-07 14:33:28 +01:00
README.md Initial commit 2024-12-07 14:33:28 +01:00

Instructions

In pom.xml:

<dependency>
    <groupId>eu.m724</groupId>
    <artifactId>mstats-spigot</artifactId>
</dependency>

In plugin.yml:

libraries:
  - eu.m724:mstats-spigot

In main class:

import eu.m724.mstats.MStats;
import org.bukkit.plugin.java.JavaPlugin;

public class MyPlugin extends JavaPlugin {
    @Override
    public void onEnable() {
        // it's recommended that this is the last line of onEnable
        
        int mStatsId = 1; // replace this of course with your plugin ID
        MStats.init(this, mStatsId);
    }
}