Nu it’s a proxy server that has hacks that I want block from player joining to my server only from that server tho.
yeah just block that server's IP so the proxy users cant join your server see user IP = 1 proxy ip = 2 when user join using proxy their ip is 2 if you block the proxy, they cant join
like this? PHP: public function onDataPacketReceive(DataPacketReceiveEvent $e): void{if(LoginPacket::$serverAddress == "mcpeproxy.tk"){//stuff}}
Why don't you convert the IP to numbers? EDIT: Check if the packet is an instance of login packet. Like if($e->getPacket() instanceof LoginPacket){
Well, I am pretty sure you do not join the server with the IP mcpeproxy.tk, but with another one. Maybe this is a lobby to send players to the correct sub-servers and from the sub-server you select the server you want to hack on. I would just join my server with McpeProxy and then just ban my IP. There is no other way.
Just ban IP address 174.138.125.58, that will at least block the free version of that proxy - it's a DigitalOcean server so it's static. The paid version might use a different IP, but I'm not paying to find out.
You could do that too ofc. Let's just hope svile keeps making money off it so he doesn't release the source code. I was surprised at how many of the hacks actually worked though...