mirror of
https://github.com/shansen/EggCatcher.git
synced 2025-02-16 10:41:19 +01:00
Add bstats
This commit is contained in:
parent
335c6c26c8
commit
4c036ba2e7
18
pom.xml
18
pom.xml
@ -27,12 +27,21 @@
|
||||
<configuration>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>org.bstats:*</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>org.bukkit:bukkit</exclude>
|
||||
<exclude>org.yaml:snakeyaml</exclude>
|
||||
<exclude>net.milkbowl.vault:Vault</exclude>
|
||||
</excludes>
|
||||
</artifactSet>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>org.bstats</pattern>
|
||||
<shadedPattern>me.shansen.EggCatcher.bstats</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
@ -59,6 +68,10 @@
|
||||
<id>vault-repo</id>
|
||||
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>bstats-repo</id>
|
||||
<url>http://repo.bstats.org/content/repositories/releases/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
@ -74,5 +87,10 @@
|
||||
<version>1.6</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
<artifactId>bstats-bukkit</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@ -25,6 +25,7 @@ import org.bukkit.entity.Egg;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.bstats.Metrics;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ -53,6 +54,8 @@ public class EggCatcher extends JavaPlugin {
|
||||
economy = economyProvider.getProvider();
|
||||
}
|
||||
}
|
||||
|
||||
Metrics metrics = new Metrics(this);
|
||||
}
|
||||
|
||||
public void CheckConfigurationFile() {
|
||||
|
Loading…
Reference in New Issue
Block a user