diff --git a/controller.js b/controller.js index 3eaeb49..0a49478 100644 --- a/controller.js +++ b/controller.js @@ -188,6 +188,8 @@ class ControllerPlugin extends BaseControllerPlugin { } } } + + return; } } diff --git a/info.js b/info.js index 4f4e8d2..dd4d6a7 100644 --- a/info.js +++ b/info.js @@ -2,7 +2,7 @@ const lib = require('@clusterio/lib'); class InstanceActionEvent { - static type = 'requests'; + static type = 'request'; static src = 'instance'; static dst = 'controller'; static plugin = 'ClusterChatSync'; @@ -22,6 +22,8 @@ class InstanceActionEvent { static fromJSON(json) { return new this(json.instanceName, json.action, json.content); } + + static Response = lib.JsonString; } const plugin = {