When i teleport a player using teleport() when they step on a certain block(s) i get this error, althought the teleport works. Code: 24.10 21:44:31 [Server] RakLibServer thread/NOTICE Blocked 173.xx.xxx.xxx for 5 seconds (I blocked out the last parts of the ip for obvious reasons) Can someone explain what this means? And how do i fix it? All other teleports dont give this error, such as ones activated by commands and such. The only ones giving me this error are the ones activated when stepping on a certain block(s) Also, instead of making another thread, is there an alternative method for setHealth()?
if block is a nether portal so client send some packed to the server, which is not implemented and server block his IP adress. And look at katana they already fixed it.
its not a nether portal block. The plugin gets what block the player is stepping on then teleports them. But having this messages pop up in the console each time is really annoying + you get blocked for 5 seconds.
No one has a solution for this? I would really appricate it. Its really annoying being blocked for 5 seconds each time you teleport.
@Hotshot_9930 We're on the same boat... zzz Im having this issue too every time teleport() is fired to a player...
I had the same thing, it gave me this error when i teleported player to exact same position more then once.
Hmmm.. reproduce the issue? Proper ways? I dont understand... And looks like many people is having this issue...
If you want people to help you fix, you have to let people produce the same issue always on their side. Otherwise, we can't help you if it doesn't happen on our side.
This code cause the block PHP: public function onMove(PlayerMoveEvent $e){$p = $e->getPlayer();for($i = 0; $i < 25; $i++){$p->teleport($p->getLevel()->getSpawn());}} Code: [11:52:34] [RakLibServer thread/NOTICE]: [RakLib Thread #-1273312448] Blocked 192.168.1.3 for 5 seconds
Yep, same with me... I used teleport() in PlayerMoveEvent too... and That RakLib error (blocking) happened... Any solutions?
I already told you to use PlayerMoveEvent->setTo instead of Player->teleport... Anti mods is not related to RakLib. RakLib only handles very basic network layer stuff.