Skip to content

bicknrown/mc-whitelist-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft server whitelist Discord companion bot

Long winded name, but at least its specific.

purpose

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.

limitations

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.

setup

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.

configuration

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.

contributions

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

  1. this may be a feature, depending on your users.

About

A discord bot to whitelist members based on usernames

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages