SocketLink allows developers to create their own applications that connect to the Minecraft server chat. By sending a simple json message with the following format:
Code (Text):
{
"username": "testuser",
"message": "test message",
"external": true
}
their messages will be displayed to users on the server. The plugin is very simple to use, and is easy to setup. Just install the plugin, optionally change the port in the config and you're good to go!
The plugin also provides a `/metrics` command and `SocketLink.metrics` permission to display Websocket info
By default, the plugin will listen on port `8887`, which is coonfigurable, in a future update the listen address will also be configurable.
A test website is available at
https://necrozma.xyz/minecraft, your servers ip address and websocket port should added as query paramaters like this:
Code (Text):
https://necrozma.xyz/minecraft?host=127.0.0.1&port=8887
If you would like to see a feature added or report a bug, feel free to check out the
Github or
Discord
![[IMG]](/proxy/image?url=https%3A%2F%2Fbstats.org%2Fsignatures%2Fbukkit%2FSocketLink.svg)