CactusDev / CactusBot

An open source, community-written service-agnostic chat bot
MIT License
30 stars 5 forks source link

Minecraft support #76

Open TransportLayer opened 7 years ago

TransportLayer commented 7 years ago

Minecraft support (feature request)

Adding Minecraft support to CactusBot would allow for more platform diversity, and could allow for statuses/roles to be synchronized and messages to be sent across all services.

Summary (via plugin)

Using a plugin would be the preferred option. This would allow for more direct access to the server and its events/messages. As most streamers running Minecraft servers will have a modded (Spigot or compatible) server, this will, in most cases, be a reasonable requirement.

Summary (via Minecraft protocol)

In cases where a modded server is not possible or desired, it could be possible to have CactusBot authenticate with a Minecraft account and control the server/read events and messages this way. This would require using the Minecraft protocol (as seen in this Apache-licensed library). The client should be put into Spectator mode after connecting, and to reduce server load, should remain in the spawn chunks.

Features

2Cubed commented 7 years ago

We could consider integrating this with #179.