Skip to content

Commit 990b613

Browse files
committed
Add bStats metrics
1 parent 7d54b7a commit 990b613

3 files changed

Lines changed: 1061 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package com.github.skriptdev.skript.plugin;
2+
3+
public class BstatsMetrics {
4+
5+
public static void registerMetrics(HySk plugin) {
6+
Metrics metrics = new Metrics(plugin, 29735);
7+
}
8+
9+
}

src/main/java/com/github/skriptdev/skript/plugin/HySk.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ protected void setup() {
4040
protected void start() {
4141
this.skript = new Skript(this);
4242
new SkriptCommand(getCommandRegistry());
43+
BstatsMetrics.registerMetrics(this);
4344
}
4445

4546
/**

0 commit comments

Comments
 (0)