No description
Find a file
2025-01-05 11:11:41 +01:00
.idea update 2025-01-05 11:10:55 +01:00
src/main/java/eu/m724/mstats update 2025-01-05 11:10:55 +01:00
.gitignore Initial commit 2024-12-07 14:33:28 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2025-01-05 11:11:41 +01:00
README.md update 2025-01-05 11:10:55 +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 JavaPlugin class:

import eu.m724.mstats.MStatsPlugin;

public class MyPlugin extends MStatsPlugin { // instead of JavaPlugin
    @Override
    public void onEnable() {
        // ... your onEnable code ...
        
        mStats(1); // Replace 1 of course with your plugin ID
    }
}