mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Ctl ended up calling its main class for "Control" for historical
reasons, along with its config file and plugin entrypoint.
The plugin entrypoint was renamed to ctl in 808eda0513. This
finishes that renaming by also renaming the main class, default config
file, config-control command, and main entrypoint.
The config-control command is renamed to config to be consistent with
the host and controller's config commands.
The term "control" is still kept in the config and message locations as
a common specifier for both ctl and web_ui.
22 lines
549 B
JavaScript
22 lines
549 B
JavaScript
// Plugin exercising the plugin system in the integration tests, see #342.
|
|
// Written as plain JavaScript so that it does not need to be built.
|
|
|
|
import { ControllerEcho, HostEcho, HostEchoReceived } from "./messages.js";
|
|
|
|
export const plugin = {
|
|
name: "test_plugin",
|
|
title: "Test Plugin",
|
|
description: "Plugin used to test the plugin system.",
|
|
|
|
controllerEntrypoint: "controller.js",
|
|
hostEntrypoint: "host.js",
|
|
instanceEntrypoint: "instance.js",
|
|
ctlEntrypoint: "ctl.js",
|
|
|
|
messages: [
|
|
ControllerEcho,
|
|
HostEcho,
|
|
HostEchoReceived,
|
|
],
|
|
};
|