Code: must be compatible with pocketmine\plugin\Plugin::__construct(pocketmine\plugin\PluginLoader $loader, pocketmine\Server $server, pocketmine\plugin\PluginDescription $description, string $dataFolder, string $file) I know the api changed but how do get those value like: $loader, $server ,description , $dataFolder , $file? PHP: //onEnable()$this->getServer()->getPluginManager()->registerEvents(new eventmanager($this), $this); //very old?
ok...I figure it out I extended PluginBase in the eventmanager class but I it used to be ok Why is it not allowing me to do that? @SOFe (hope you know why : D)
I... I forget... it was like a year ago... maybe some bizarre reason and forgot to delete it... good question...