Better handling when not eligible to access the 'GUILD_MEMBERS' intent
Merging premium version back to the free version - Thank you to the people that supported me over at mc-market
General bug fixes
In-game ban events
When enabled, the bot will listen in-game for the /ban command. When the ban command is executed and the target Minecraft username is linked to a Discord ID, the bot will remove any assigned whitelisted-roles and assign any set banned-roles. The bot will also remove any other Minecraft usernames that were whitelisted through the same Discord ID.
Whitelisted Roles Auto Remove
Automatically removes any whitelisted-roles from a Discord user if a user in any of the add-remove-roles removes any of their registered Minecraft usernames through the bot. The bot also removes any whitelisted-roles if any of their linked Minecraft names are removed in-game when add-in-game-adds-and-removes-to-list is enabled.
Adds In-Game Add and Removes To Lists
When enabled, the bot listens for vanilla or easy whitelist add/remove commands. When someone is removed they are added to a store called in-game-removed-list.yml. This means users in Discord cannot re-add users that have been removed in-game (not through the bot). When a user is added in-game and is located in either removed lists (removed-list.yml & in-game-removed-list.yml) they will be removed from said lists automatically.
Assign Permissions with Ultra Permissions
Automatically assigns permissions set in server-root/plugins/DiscordWhitelister/on-whitelist-permissions.yml to the target Minecraft username on whitelist success. The bot also automatically removes any assigned permissions when removed from the whitelist either through the bot or in-game, and when banned.
Use On Whitelist Commands
Runs any amount of commands as either the console or the target Minecraft username when the player is successfully whitelisted. Any command you add to the list supports %PLAYER% which will be replaced with the target Minecraft username when the player is successfully whitelisted. NOTE: The 'PLAYER' type will only work if the target whitelisted player is in the server at the time of command dispatch. This should only be used in specific situations.
Utility Commands
!clearname [mcName]:
Clears a whitelisted name from a limited-add user, un-whitelists the target name alongside removing on-whitelist perms if enabled; and gives the user a whitelist token back.
!clearban [mcName]:
Clears the target name from either or both removed lists so a limited-add user can add the specified name in the future.
These commands remove the need to edit the files manually if you run into an issue regarding mistaken whitelist adds etc.
Custom prefix support for utility commands.
Custom message support for utility commands.
Added an option to disable un-whitelisting on server/guild leave.
The bot will now check on start-up if any users have left whilst the bot was offline and un-whitelist their associated Minecraft names accordingly.
Automated instructional message:
Sends an instructional message (if enabled) after a successful whitelist, to help the next user whitelist correctly.
Message can be sent instantaneously or delayed with a timer.
Message can be edited within custom-messages.yml.
The whitelist remove command now also removes any occurrences of the specified name from the user list if there is any.