koishi-plugin-mcsm-portal
v0.0.19
Published
A Minecraft-styled MCSManager portal for Koishi.
Readme
MCSM Portal
A Minecraft-styled MCSManager portal for Koishi.
Feature
- Bind to an MCSManager panel with an API key.
- Check MCSManager node status from chat.
- List Minecraft server instances hosted by MCSManager.
- Render status and server lists as text or Minecraft-style images.
- Copy a server address quickly by name, alias, or instance ID.
- Optional QQ interaction helpers for reaction mirroring and OneBot-compatible avatar double-tap.
Requirements
- Koishi
^4.18.7 - MCSManager with API access enabled
- Optional:
koishi-plugin-puppeteerfor sharper PNG image output
Setup
Install koishi-plugin-mcsm-portal from the Koishi marketplace or npm, then configure:
connection.endpoint: your MCSManager panel URL, for examplehttp://127.0.0.1:23333connection.apiKey: your MCSManager API keyoutput.mode:textorimageimage.puppeteer: enable when the Puppeteer service is available
The default root command is mcsm.
Commands
| Command | Description |
| ------------------ | ---------------------------------- |
| mcsm check | Check MCSManager API connectivity. |
| mcsm status | Show node status. |
| mcsm servers | Show Minecraft server instances. |
| mcsm addr <name> | Return a matching server address. |
| mcsm refresh | Refresh cached MCSManager data. |
Dot commands such as mcsm.status are also supported.
