Cuberite Forum
Working with packets. - 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: Working with packets. (/thread-3354.html)



Working with packets. - _XxFedexX_ - 04-26-2021

I am basically making a Vanish plugin, but it is not working correctly.
In fact, if you use a hacked client, you can still see players with PlayerESP.
So i searched in the API any way to work with packets and stop sending position update packets to the client if the player is vanished.
To do the vanish, i used Player:SetVisible() function.

Thank you!