mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +09:00
* .js to .ts * translate * update paths to dist/plugin * add "tsc --build" to prepare * use field main in package.json de find info * tsc --build need to append before webpack * update test and use for plugins package.main
18 lines
357 B
TypeScript
18 lines
357 B
TypeScript
import type { PluginInfo } from "@clusterio/lib";
|
|
|
|
import { ChatEvent } from "./messages";
|
|
|
|
const info: PluginInfo = {
|
|
name: "global_chat",
|
|
title: "Global Chat",
|
|
description: "Forwards chat between instances.",
|
|
instanceEntrypoint: "dist/plugin/instance",
|
|
controlEntrypoint: "dist/plugin/control",
|
|
|
|
messages: [
|
|
ChatEvent,
|
|
],
|
|
}
|
|
|
|
export default info;
|