added new socketmanager, testing and exception ahndling not done yet
This commit is contained in:
@ -112,6 +112,8 @@ class PlayerManager implements CallbackListener, TimerListener, EchoListener {
|
||||
// Echo Warn Command (Usage: sendEcho json_encode("player" => "loginName")
|
||||
$this->maniaControl->getEchoManager()->registerEchoListener(self::ECHO_WARN_PLAYER, $this, function ($params) {
|
||||
$this->playerActions->warnPlayer(null, $params->player, false);
|
||||
|
||||
return "abcdef";
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user