Cuberite Forum
KickPlayer - not working correctly. - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: KickPlayer - not working correctly. (/thread-604.html)



KickPlayer - not working correctly. - ThuGie - 10-25-2012

Hey,

When a command is called that uses KickPlayer it works.
But when its called from onLogin,OnPlayerLogin, OnPlayerSpawn it doesnt
The first 2 the player stays ingame not connected it seems but able to walk around on a bit of the chunks that have been loaded while (not connected to server?)

And when i use it onPlayerSpawn the client crashes.
Not sure if i'm doing something wrong or what.