Not Enough Management
Extends and enhances Minecraft's built-in Server Management Protocol (JSON-RPC over WebSocket).
截图
介绍
A server-side Fabric Mod for Minecraft 25w35a / 1.21.9+ that adds more features to the Minecraft Server Management Protocol (MSMP).
The MSMP provides an API over websocket that allows you to get live updates, change values, and request information from/to a Minecraft server without much hassle.
Communication is done both-ways with JSON objects.

🧩 Features
The vanilla Server Management Protocol features can be found on the wiki.
Notifications
| Path | Description | Parameters | Example Response |
|—————–|———————–|—————————————-|—————————————————————————————————————————————————————–|
| /chat_message | Player’s Chat Message | message: Chat Message | “{"jsonrpc":"2.0","method":"notification:chat_message","params":[{"id":"e68e2363-f1bb-446c-aeef-cccd23aeafb7","name":"DanMizu","message":"Hello World!"}]}“ |
Schema
Chat Message
- 🆔
id: string - 👤
name: string - 💬
message: string
⬇️ Installation
1- Enable the Server Management Protocol/Management Server in your server.properties file.
management-server-enabled- default
false - set to
true management-server-host- default
localhost - keep set to
localhost
⚠️ Warning
Ideally you keep this set to
localhostand only run services that need to access the server on the same machine.
If you trust everyone that’s connected to your local network (you shouldn’t!),
then set to
0.0.0.0to allow other machines on the same network to access the server.
management-server-port- default
25585 - set to an unused port if the default port is taken by another service on your machine
🚫 Caution
DO NOT FORWARD THIS PORT (Port-forwarding).
There is no authentication built into the management server and anyone that can connect essentially has full control over your server.
You’re recommended to run services that use it on the same machine and keep
management-server-hostset tolocalhost.
2- Download this mod, making sure to match it to the minecraft version of your fabric server.
3- Add the downloaded .jar file of this mod into your mods folder in your server, and start/restart.
▶️ Usage
You can use this with anything that can connect over websockets.
This example uses Node.js, specifically the wscat package.
If you want to follow along, make sure to first install Node.js and NPM
(NPM should be automatically installed alongside Node.js).
- Install properly onto your Fabric Minecraft server as detailed in Installation and run the server.
- Open a terminal application.
- Install wscat globally using NPM if you haven’t already:
npm install -g wscat. - Run the command
wscat -c ws://<management-server-host>:<management-server-port> - Log into your Fabric Minecraft server with your Microsoft account.
- Send a chat message in-game, and you should see a notification pop up in the terminal application with relevant information.
DanMizu 的其他作品
查看全部 →
Shinier Shinies
An accessibility addon for the Cobblemon mod. Adds a particle effect to Shiny Pokemon!
Pokémon Fishing
A Cobblemon Addon that overhauls fishing. Allows you to fish up Pokémon varying in rarity and adds a ton of Pokémon items to the loot pool!
Item Balls
A Cobblemon Addon that bring Item Balls from traditional Pokémon games to Minecraft!
Health Indications
See Player and Mob Health!
评论
登录后评论和评分