▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/MSMP Console
MSMP Console

MSMP Console

Extends the Minecraft Server Management Protocol (MSMP) by forwarding every server console log event

17
0

MSMP Console

A server-side Fabric mod that extends the Minecraft Server Management Protocol (MSMP) by forwarding every server console log event to all connected clients as a JSON-RPC 2.0 notification.

Installation

  1. Download the mod .jar and place it in your server's mods/ folder.
  2. Enable the Management Server in server.properties:
    management-server-enabled=true
    
  3. Start the server. The Management Server will listen on localhost:25576 by default.

Notification

Once a client connects to the WebSocket endpoint, it will receive a notification for every log event produced by the server.

Method: console:notification/log_event

Payload

FieldTypeDescription
timestampstringISO-8601 timestamp of when the log event occurred
levelstringLog level: TRACE, DEBUG, INFO, WARN, ERROR or FATAL
threadstringName of the thread that produced the log event
loggerstringFully qualified name of the originating logger (e.g. the class name)
messagestringThe fully interpolated log message
throwablestringSerialized stacktrace if an exception was attached, omitted otherwise

Example

{
  "jsonrpc": "2.0",
  "method": "console:notification/log_event",
  "params": [{
    "timestamp": "2026-03-21T15:06:06.146Z",
    "level": "INFO",
    "thread": "Server thread",
    "logger": "net.minecraft.server.MinecraftServer",
    "message": "Done (1.019s)! For help, type \"help\""
  }]
}
{
  "jsonrpc": "2.0",
  "method": "console:notification/log_event",
  "params": [{
    "timestamp": "2026-03-21T15:06:07.212Z",
    "level": "ERROR",
    "thread": "Server thread",
    "logger": "net.minecraft.server.MinecraftServer",
    "message": "Encountered an unexpected exception",
    "throwable": "java.lang.NullPointerException: Cannot invoke ...\n\tat net.minecraft.server.MinecraftServer..."
  }]
}

License

LGPL-3.0

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:LGPL-3.0-only
Опубликован:2 недели назад
Обновлён:5 дней назад
Главная