tweaks724/src/main/java/eu/m724/tweaks/ping/PingChecker.java
Minecon724 9e83de33c7
New ping checker
It now averages
And no ProtocolLib
2024-11-30 19:14:16 +01:00

22 lines
529 B
Java

/*
* Copyright (C) 2024 Minecon724
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
* in the project root for the full license text.
*/
package eu.m724.tweaks.ping;
import org.bukkit.plugin.Plugin;
public class PingChecker {
private final Plugin plugin;
public PingChecker(Plugin plugin) {
this.plugin = plugin;
}
public void init() {
new CookiePingChecker(plugin).start();
new MsptChecker().init(plugin); // TODO should this be here
}
}