public function call(PlayerInteractEvent $e){ $e->getPlayer()->kill(); } public function onJoin(PlayerJoinEvent $e){ $e->call(); } like this, can I? If I can use it anytime, tell me a case that can not use in another situations.
Why would you want to call a join event after it was just called lmao. By the way, the member function is call(), the event is PlayerJoinEvent.