Long winded name, but at least its specific.
This bot is setup for the very specific purpose of allowing users in the discord server this bot is added in to remotely add themselves to the whitelist of the specified minecraft server.
There are many limitations, including but not limited to:
- lack of multi (minecraft)server support
- lack of ability to remove names from whitelist remotely1
- it does only one thing.
This project is a wrapper for using the Minecraft RCON protocol; Due to many factors, I settled on using disnake and Aio-MC-RCON to accomplish this task.
This bot expects at bare minimum, a configuration file, named config.ini
, in the same directory as the bot script, containing AT LEAST:
[Discord]
# Discord bot token
TOKEN=CHANGEME
[Minecraft]
# Minecraft RCON password
PASSWORD=CHANGEME
There are other optional settings to configure, outlined in config.ini.default, but those are the bare minimum.
Pull requests and issues for fixes or improvements are welcome, though this project is designed to do a single thing, so take that as you will.
Footnotes
-
this may be a feature, depending on your users. ↩