No description
Find a file
2024-12-07 18:09:35 +01:00
.idea Initial commit 2024-12-07 14:33:28 +01:00
src/main/java/eu/m724/mstats fix 2024-12-07 18:08:10 +01:00
.gitignore Initial commit 2024-12-07 14:33:28 +01:00
pom.xml [maven-release-plugin] prepare release mstats-spigot-0.1.0 2024-12-07 18:09:35 +01:00
README.md fix 2024-12-07 18:08:10 +01:00

Instructions

In pom.xml:

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

In plugin.yml:

libraries:
  - eu.m724:mstats-spigot:0.1.0

In main class:

import eu.m724.mstats.MStatsPlugin;

public class MyPlugin extends MStatsPlugin {
    @Override
    public void onEnable() {
        // It's recommended that this is the last line of onEnable
        mStats(1); // Replace 1 of course with your plugin ID
    }
}