Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "plugins/ModBanSystem-master/src/ModBanSystem/Main" at line 31 i get this error every time i try to load my plugin up, i'm not the best with plugins so please try to help giving details as simplified as possible. line 30 and 31: $this->getServer()->getPluginManager()->registerEvents($this, $this); $this->getServer()->getScheduler()->scheduleRepeatingTask(new CountTask($this), 20);
Have a look at the 3.0.0 scheduler changes https://github.com/pmmp/PocketMine-MP/releases/tag/3.0.0 $this->getServer()->getScheduler() changed to $this->getScheduler()
Fatal error: Class 'pocketmine\scheduler\PluginTask' not found in C:\Users\miles\Desktop\MILES OWN SERVER\plugins\ModBanSystem-master\src\ModBanSystem\CountTask.php on line 7 now look
now i get this error for each command used ingame [Server thread/CRITICAL]: ErrorException: "Undefined offset: 1" (EXCEPTION) in "plugins/ModBanSystem-master/src/ModBanSystem/Main" at line 127
Just tell us where you found the plugin, then someone can fork it and fix on the form. Nobody likes MediaFire.
Used that before and I don’t really like it at all. I’d rather use modban system but it’s broken and I can’t fix