Why do this code output everytime "Dieser Spieler ist nicht Online" but the player is online? https://paste.ee/p/AxUHD Sorry IDK how i paste it here into php-lines so i think its better to put it into paste.ee
Because of this comparison that doesn't make sense at all: PHP: if($args[1] == $this->getServer()->getPlayer($args[1])){ I think this is what you want to do instead: PHP: if($this->getServer()->getPlayer($args[1]) !== null){