- Improved Join/Leave messages

- Moved Server Commands into separate class
- Added \Server namespace
This commit is contained in:
Steffen Schröder
2013-11-19 20:29:37 +01:00
parent b389b32d88
commit a9b1842a6f
8 changed files with 249 additions and 217 deletions

View File

@ -76,7 +76,7 @@ class MapCommands implements CommandListener {
// TODO: mx fetcher nutzen?
$params = explode(' ', $chat[1][2], 2);
if (count($params) < 2) {
// TODO: show usage
$this->maniaControl->chat->sendUsageInfo('Usage example: //addmap 1234', $player->login);
return false;
}
// Check if ManiaControl can even write to the maps dir