mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 03:05:21 +09:00
.
This commit is contained in:
@@ -188,6 +188,8 @@ class ControllerPlugin extends BaseControllerPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
info.js
4
info.js
@@ -2,7 +2,7 @@
|
|||||||
const lib = require('@clusterio/lib');
|
const lib = require('@clusterio/lib');
|
||||||
|
|
||||||
class InstanceActionEvent {
|
class InstanceActionEvent {
|
||||||
static type = 'requests';
|
static type = 'request';
|
||||||
static src = 'instance';
|
static src = 'instance';
|
||||||
static dst = 'controller';
|
static dst = 'controller';
|
||||||
static plugin = 'ClusterChatSync';
|
static plugin = 'ClusterChatSync';
|
||||||
@@ -22,6 +22,8 @@ class InstanceActionEvent {
|
|||||||
static fromJSON(json) {
|
static fromJSON(json) {
|
||||||
return new this(json.instanceName, json.action, json.content);
|
return new this(json.instanceName, json.action, json.content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static Response = lib.JsonString;
|
||||||
}
|
}
|
||||||
|
|
||||||
const plugin = {
|
const plugin = {
|
||||||
|
|||||||
Reference in New Issue
Block a user