How do you change the default kick message? Is overidding the only way? If yes, can someone give me an example?
which messages do you mean? message which display to player "kicked by admin Reason: ddfff" or Join and Quit messages?
A trick to avoid that: Let $main be the instance of your main class. For kicking code: PHP: $main->_WeAreKicking = true;$player->kick($message, false);$main->_WeAreKicking = false; For handler code: PHP: public function onKick(PlayerKickEvent $ev){ if($main->_WeAreKicking) return; // normal code for handling kicking} Since most of the things in PocketMine are single-threaded, this method can be used.