- Added server player count to the Discord bots status.
- Can be toggled on and off in the config (enabled by default).
- When a player joins/quits with at least one of 'discordsrv.silentjoin', 'discordsrv.silentquit', or 'sv.joinvanished' permissions, the player count will not be modified.
- Added an option to add/remove a role to users after whitelisting.
- This feature is meant to be used when users have the ability to whitelist themselves (limited-add-roles).
- If 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 when the user successfully adds to the whitelist.
- If whitelisted-role-auto-remove is set to true (false by default), that role will be removed when the user successfully removes from the whitelist.
- !whitelist add/remove commands are now required to be at start of message.
- Made the name be the text up to the first space following the command (everything else is ignored).
This allows writing something like "@user please do !whitelist add " without triggering the bot (fixes #3).
- Fixed an error that occurred when users leave the guild which did not use the plugin to add to the whitelist.
- Fixed an error when attempting to assign player count regardless of if the bot was initialized successfully.
Please read the
README for updated information on configuring the bot.
Credit goes to
@vacer25 &
@timroejr for creating this update.