Introduction
Nevoka.MinecraftRPC is a .NET / C# library designed to simplify integration with Minecraft's Server Management Protocol. It enables you to easily add server management features to your own projects, listen for server events, and invoke methods to query or modify server state.
What is the Minecraft Server Management Protocol
Starting with snapshot 25w35a, Minecraft introduced a Server Management Protocol for dedicated servers. This protocol provides:
- A JSON-RPC over WebSocket interface.
- Ability to query players, manage the allow-list, operators, server settings, game rules.
- Real-time event (notification) support, e.g. for player joins, game rules changes.
- Configuration via
server.propertiesfor enabling the management server, host, port, etc.
In snapshot 25w37a, further enhancements were made: authentication (bearer token), TLS support (enabled by default), ability to configure keystore for TLS, etc.