UNPKG

@clusterio/plugin-global_chat

Version:

Clusterio plugin forwarding between Factorio servers

21 lines 749 B
import * as lib from "@clusterio/lib"; import { BaseInstancePlugin } from "@clusterio/host"; import { ChatEvent } from "./messages"; /** * Removes gps and train tags from messags * * @param content - string to strip tags from. * @returns stripped string. */ declare function removeTags(content: string): string; export declare class InstancePlugin extends BaseInstancePlugin { messageQueue: string[]; init(): Promise<void>; onControllerConnectionEvent(event: string): void; handleChatEvent(event: ChatEvent): Promise<void>; sendChat(message: string): void; onOutput(output: lib.ParsedFactorioOutput): Promise<void>; } export declare const _removeTags: typeof removeTags; export {}; //# sourceMappingURL=instance.d.ts.map