Skip to content

Tert0/msmp-enhanced

Repository files navigation

MSMP Enhanced

MSMP Enhanced is a server-side Fabric Mod that extends the Minecraft Server Management Protocol introduced in Minecraft 1.21.9 (25w35a).

This mod provides optional Unix socket support and adds additional RPC methods. MSMP Enhanced can also be used as a remote server console backend, similar to RCON but with support for structured Text Components and command tab completion. This allows external tools (like web panels or CLI utilities) to run commands, view styled output, and get live suggestions for commands as you type.

Features

Methods

Command Execution

  • Method: msmpenhanced:command/run
  • Description: Runs console commands and returns the command output as structured Text Components
  • Parameters: command (String)
  • Response: messages (Array of Text Components)

Command Suggestion (Tab Completion)

  • Method: msmpenhanced:command/suggest
  • Description: Allows external tools (e.g. web panel or CLI tools) to provide command tab completion
  • Parameters: partialCommand (String)
  • Response: suggestions (Command Suggestions)

Unix Socket Support (Optional)

Instead of binding the Minecraft Management Server to a TCP port, MSMP Enhanced can listen on a Unix Domain Socket. See Config for the configuration options.

Schemas

Command Suggestions

  • start (Integer): start position of the suggestions
  • end (Integer): end position of the suggestions
  • suggestions (Array of Command Suggestion)

Command Suggestion

  • text (String): command suggestion
  • tooltip (Optional Text Component): additional tooltip

Config

Config is stored at config/msmpenhanced.json

{
  "unixSocketEnabled": false,
  "unixSocketPath": "msmp.sock"
}

MSMP Enhanced will default to TCP (vanilla behavior).

License

This project is licensed under the GNU Lesser General Public License version 3 only.

About

Extends the Minecraft Server Management Protocol (MSMP), including new JSON RPC methods and Unix socket support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages