[14:19:37.728] java.net.SocketException: Connection reset
[14:19:37.744] java.net.SocketInputStream.read(Unknown Source)
[14:19:37.790] java.net.SocketInputStream.read(Unknown Source)
[14:19:37.790] bot.PacketThread.run(PacketThread.java:139)
[14:19:57.712] WARNING: Keepalive failed to send: java.net.SocketException: Socket closed
I'm trying to make a plugin to reconnect my bot after it is disconnected like it was above. When I create PluginMain, what do I need to implement so I may have a method availiable to catch it. Furthermore, what method is it? :p
Thanks.