Sometimes, when I start my private server and teleport or just move to a certain area, I instantly crashed and this appears in console. What's weird is this only happens sometimes, not every time I start my server. I have no clue what the issue is but I suggest it could be some kind of world data corruption in a few chunks. If you have any advice or information, please let me know. (message attached below) Thanks in advance. Note: it's not a connectivity issue Update: https://pmmp.readthedocs.io/en/rtfd/faq/connecting/raklibthreadblocked.html Read this; is there any way I can see the 5000+ packets that run within a tick Code: [13:46:15] [RakLibServer thread/NOTICE]: Blocked 127.0.0.1 for 300 seconds
Use this task file: PHP: <?phpnamespace myfile\test;use pocketmine\scheduler\Task;class MyTask extends Task { public function __construct(Main $plugin) { $this->plugin = $plugin; } public function onRun(int $tick) { $list = array_map(function($entry) : string{ return $entry->getName(); }, $this->plugin->getServer()->getIPBans()->getEntries()); if(in_array("127.0.0.1", $list)) { $this->plugin->getServer()->getIPBans()->remove("127.0.0.1"); $this->plugin->getServer()->getNetwork()->unblockAdress("127.0.0.1"); } }} -------------------- Main: PHP: <?phpnamespace myfile\test;use pocketmine\plugin\PluginBase;class Main extends PluginBase { public function onEnable() { $this->getScheduler()->scheduleRepeatingTask((new MyTask($this)), 1); }}