mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
The role of a slave as a host for Factorio servers is not well reflected in its name and has caused confusion among users. Rename slave to host to better reflect its role as a host of Factorio servers.
24 lines
588 B
JavaScript
24 lines
588 B
JavaScript
"use strict";
|
|
let { libLink } = require("@clusterio/lib");
|
|
|
|
module.exports = {
|
|
name: "global_chat",
|
|
title: "Global Chat",
|
|
description: "Forwards chat between instances.",
|
|
instanceEntrypoint: "instance",
|
|
controlEntrypoint: "control",
|
|
|
|
messages: {
|
|
chat: new libLink.Event({
|
|
type: "global_chat:chat",
|
|
links: ["instance-host", "host-controller", "controller-host", "host-instance", "control-controller"],
|
|
forwardTo: "controller",
|
|
broadcastTo: "instance",
|
|
eventProperties: {
|
|
"instance_name": { type: "string" },
|
|
"content": { type: "string" },
|
|
},
|
|
}),
|
|
},
|
|
};
|