2024-04-22 22:34:43 -07:00
|
|
|
package cc.restfulmc.demo;
|
2024-04-22 21:58:35 -07:00
|
|
|
|
2024-04-22 22:34:43 -07:00
|
|
|
import cc.restfulmc.demo.listener.ServerPingListener;
|
2024-04-22 21:58:35 -07:00
|
|
|
import com.comphenix.protocol.ProtocolLibrary;
|
|
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Braydon
|
|
|
|
*/
|
|
|
|
public final class DemoSpigotPlugin extends JavaPlugin {
|
|
|
|
@Override
|
|
|
|
public void onEnable() {
|
|
|
|
ProtocolLibrary.getProtocolManager().addPacketListener(new ServerPingListener(this));
|
|
|
|
}
|
|
|
|
}
|