mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Changed hotpatch scenario dir for visibility, made scenario loading recursive
This commit is contained in:
1 parent
58b609cbd0
commit
1e868b4ff4
2 files changed
+39
-6
No files matched your search
@@ -12,6 +12,8 @@ module.exports = class remoteCommands {
|
||||
this.socket.on("gameChat", async data => {
|
||||
if(data.instanceID && data.instanceID != this.config.unique.toString()){
|
||||
if(data.data.includes("[CHAT]")
|
||||
// if this isn't used as an info command or something (reduce spam)
|
||||
&& !data.data.includes("!info")
|
||||
// check if we are allowed to cross chat at all, default to true
|
||||
&& (mergedConfig.enableCrossServerShout == undefined || mergedConfig.enableCrossServerShout)
|
||||
// check if we are supposed to relay this message
|
||||
|
||||
Reference in new issue
Block a user