diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 00000000..b3d519c7 --- /dev/null +++ b/changelog.txt @@ -0,0 +1,17 @@ +###v0.16### + +#Additions +- added changelog +- added new EchoManager which handles Interactions between different Controllers + - It is possible to send an Echo command via the Method sendEcho, as message Parameter strings, objects or arrays can get used + - An EchoListener can be added, callable by closure or implicit use (like on callbacks) + - The Listener always returns either an Stringer or an Object back as Param (arrays get converted into objects) + - On sending an Echo Message from another controller you need to provide an string to the dedicated method or an json_encoded array or object + - 4 Echos are Implemented by ManiaControl (ManiaControl.Restart, ManiaControl.AuthenticationManager.GrandLevel, ManiaControl.AuthenticationManager.RevokeLevel, ManiaControl.PlayerManager.WarnPlayer) +- added Method getServerLoginByIndex to Server object +- added some missing PHP Docs + +#Bug Fixes +- fixed TriggerDebugNotice Method +- Exception fix on kicking Players +- updated FaultException List \ No newline at end of file diff --git a/core/Callbacks/EchoManager.php b/core/Callbacks/EchoManager.php index e9ef5323..8b5deb71 100644 --- a/core/Callbacks/EchoManager.php +++ b/core/Callbacks/EchoManager.php @@ -139,8 +139,6 @@ class EchoManager implements CallbackListener, EchoListener { $message = $param[1][1]; } - var_dump($name); - var_dump($message); switch ($name) { case 'ManiaControl.Restart': $this->maniaControl->restart($message); diff --git a/plugins/MCTeam/WidgetPlugin.php b/plugins/MCTeam/WidgetPlugin.php index 9e789fd1..1cc9b4f9 100644 --- a/plugins/MCTeam/WidgetPlugin.php +++ b/plugins/MCTeam/WidgetPlugin.php @@ -12,7 +12,6 @@ use FML\Script\Script; use ManiaControl\Callbacks\CallbackListener; use ManiaControl\Callbacks\Callbacks; use ManiaControl\Callbacks\TimerListener; -use ManiaControl\Commands\HelpManager; use ManiaControl\ManiaControl; use ManiaControl\Manialinks\IconManager; use ManiaControl\Players\Player;