mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Added metrics, and... we're golden? Welcome to AntiCheat v1.0 I guess.
This commit is contained in:
1 parent
94fb44c005
commit
ec23861ca1
2 files changed
+506
-1
No files matched your search
@@ -32,6 +32,7 @@ import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import net.h31ix.anticheat.event.*;
|
||||
import net.h31ix.anticheat.manage.AnticheatManager;
|
||||
import net.h31ix.anticheat.metrics.Metrics;
|
||||
import net.h31ix.anticheat.xray.XRayListener;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
@@ -46,6 +47,7 @@ public class Anticheat extends JavaPlugin
|
||||
private static Configuration config;
|
||||
private static boolean verbose;
|
||||
private static String updateFolder;
|
||||
private static Metrics metrics;
|
||||
|
||||
@Override
|
||||
public void onDisable()
|
||||
@@ -116,7 +118,15 @@ public class Anticheat extends JavaPlugin
|
||||
catch (IOException ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
try
|
||||
{
|
||||
metrics = new Metrics(this);
|
||||
metrics.start();
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
private void saveFile(String file, String url)
|
||||
|
||||
Reference in new issue
Block a user