Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by DotRar, May 23, 2015.
Hey, anyone know a way to cancel a response in ServerListPingEvent?
It's not possible without actually modifying code to do this safely, though I assume sending a corrupted MOTD and cancelling the ping might cause the client to display the server as offline.
How would I create these?
I just tested and it seems passing in a null MOTD will cause the server to appear offline. Players can still connect to it though~
Oh, and it will display a short 1-line error message in the console each time the server is pinged and returns the null MOTD xD
Then kick on login
Get the connection and disconnect it..?
How do I do that? I'm currently learning more about connections and sockets ect.