A simple spigot plugin which allows whitelisting through a discord text channel. This provides an easy way for users to whitelist without needing to be on the minecraft server.
3 separate role groups:
Removed list:
Discord commands:
/whitelist add "minecraftUsername"
in a valid channel to whitelist people on your minecraft server/whitelist remove "minecraftUsername"
in a valid channel to remove people from the whitelist on your minecraft server/whitelist
in a valid channel to get info about the bot and how to use itCustom Message Support:
(server-root)/plugins/DiscordWhitelister/custom-messages.yml)
use-custom-messages
)Use Discord server/guild role ids instead of role names:
445666895333687347
instead of Admin
use-id-for-roles
' to true
add-remove-roles:
- 446223693887176704
add-roles:
- 485463455940214794
limited-add-roles:
- 639221397981233162
use-id-for-roles: true
Reload command:
dwreload
' or 'discordwhitelisterreload
' to reload the config and re-initialize the bot without having to restart the Minecraft serverAutomatically add/remove a role when adding/removing to/from the whitelist
whitelisted-role-auto-add
is set to true (false by default), the Discord role with the name defined by whitelisted-role
("Whitelisted" by default) will be added to that user when they successfully add (themselves) to the whitelist.whitelisted-role-auto-remove
is set to true (false by default), that role will be removed from that user when they successfully remove (themselves) from the whitelist.Manage Roles
permission in DiscordOnly select Discord roles can whitelist through the bot
Bot only listens for messages in select text channels
Logs whitelist attempts from valid roles in the console
Config file is located at: (server-root)/plugins/DiscordWhitelister/discord-whitelister.yml
, this needs a valid bot token and valid channel id(s) to work.
To create a Discord application and/or find your discord bot token, follow this link: https://discordapp.com/developers/applications/
Here is a short video showing all the steps needed to configure the bot: https://youtu.be/OqaeItuLefU
Version 1.2.0 onwards are not compatible with version 1.1.x and lower. This is due to the layout of user-list.yml being changed. You will need to remove user-list.yml manually and let the plugin create a new one. If you upgrade without doing so, registration will not work correctly.