/** * @param PlayerJoinEvent $event * * @priority LOWEST * @ignoreCancelled true */ public function onPlayerJoin(PlayerJoinEvent $event) { $this->plugin->addAttachment($event->getPlayer()); }