custom votes plugin

This commit is contained in:
kremsy
2014-01-11 23:05:13 +01:00
committed by Steffen Schröder
parent 74ab572569
commit 1acddeb4e1
2 changed files with 168 additions and 30 deletions

View File

@ -106,6 +106,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
$this->maniaControl->chat->sendError("Couldn't remove map.", $player->login);
return;
}
//TODO message
//RemoveMap
$this->maniaControl->mapManager->removeMap($player, $map->uid);
}
@ -159,6 +160,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
$this->maniaControl->authenticationManager->sendNotAllowed($player);
return;
}
//TODO message
$this->maniaControl->client->query('NextMap');
}
@ -173,6 +175,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
$this->maniaControl->authenticationManager->sendNotAllowed($player);
return;
}
//TODO message
$this->maniaControl->client->query('RestartMap');
}