maniaControl = $maniaControl; } /** * Forces a Player to a certain team * @param $adminLogin * @param $login * @param $teamId */ public function forcePlayerToTeam($adminLogin, $login, $teamId){ $this->maniaControl->client->query('ForcePlayerTeam', $login, $teamId); //TODO bestätigung und chatnachricht } /** * Forces a Player to spectator * @param $adminLogin * @param $login * @param int $spectatorState */ public function forcePlayerToSpectator($adminLogin, $login, $spectatorState = self::SPECTATOR_BUT_KEEP_SELECTABLE){ $this->maniaControl->client->query('ForceSpectator', $login, $spectatorState); //TODO bestätigung und chatnachricht } public function warnPlayer($adminLogin, $login, $message = ''){ } public function kickPlayer($adminLogin, $login, $message = ''){ } public function banPlayer($adminLogin, $login, $message = ''){ } }