AutoWhitelist is a mod made to automate the whitelisting of players based on their Discord role.
Its main purpose is to make the whitelisting of Twitch subscribers and YouTube channel members easy.
This mod works on top of the vanilla whitelist, so make sure to enable the vanilla whitelist, you can do that by changing white-list on server.properties to true or by running whitelist on on the server console
config/autowhitelist.json5, it is auto-generated after the mod is run for the first timeTo register your player run the command /register <username> in Discord
The command requires the user to insert their Java username, if they change their nick, they don't have to register again.
There is no way for a user to change their registered account or to register another one, a moderator will have to run /whitelist remove <player> in the Minecraft server.
An example of running the command is /register AwakenedRedstone
The mod does not officially support offline servers.
When a player looses the role or leaves the discord server they are automatically removed from the whitelist
To reload a specific part of the mod run /autowhitelist reload [bot|cache|config] or /autowhitelist reload to reload everything
