Commit Graph

119 Commits

Author SHA1 Message Date
Joe Shimell e458164af9
Create LICENSE 2020-11-27 21:08:51 +00:00
Joe Shimell c4b8f989ef clean-up & bug fixes 2020-11-27 20:56:06 +00:00
Joe Shimell 117d87add5 refactoring 2020-11-21 00:43:09 +00:00
Joe Shimell dabffb1a1f Added !whitelist clear command for limited whitelisters, changed logging solution to logback, re-shaded deps 2020-11-18 00:57:09 +00:00
Joe Shimell af2a949e58 fix for startupmembercheck removing people still in the guild 2020-10-29 01:19:01 +00:00
Joe Shimell 2b3fa31aeb moving premium version back over 2020-10-29 00:08:22 +00:00
Joe Shimell 9435d86106 quick fix for start-up hang when the bot does not have the 'GUILD_MEMBERS' intent 2020-10-27 23:14:54 +00:00
Joe Shimell df0f141c45 Revert "relocated dependencies to avoid conflicting with other plugins"
This reverts commit 049507c32c.
2020-10-27 17:25:07 +00:00
Joe Shimell 049507c32c relocated dependencies to avoid conflicting with other plugins 2020-08-13 18:30:11 +01:00
Joe Shimell 38af892584 option to show vanished players on the player count 2020-07-11 19:38:34 +01:00
Joe Shimell e71d68f910 Some code cleanup 2020-07-10 00:41:37 +01:00
Joe Shimell 2db6c8cc68 Support for auto adding multiple roles, target whitelist roles now respect 'use-id-for-roles' option and will check for ids instead, when enabled. 2020-07-08 20:01:49 +01:00
Joe Shimell cb29f51982 version bump 2020-07-08 14:30:31 +01:00
Joe Shimell d9802b1c1c Show skin armour on whitelist
Fixes not showing hair etc. on the players' skin
2020-07-08 14:26:07 +01:00
Joe Shimell 1b3454300f Custom command prefix support & ability to hide the players' skin image on whitelist 2020-07-08 01:50:24 +01:00
Joe Shimell 1a155939ed
Merge pull request #10 from JoeShimell/dependabot/maven/org.apache.logging.log4j-log4j-core-2.13.2
Bump log4j-core from 2.12.1 to 2.13.2
2020-07-01 21:02:50 +01:00
dependabot[bot] 224e389967
Bump log4j-core from 2.12.1 to 2.13.2
Bumps log4j-core from 2.12.1 to 2.13.2.

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-01 19:21:45 +00:00
BuildTools d1acb83f10 fixed bug not assigning roles on multiple servers. Fixed a config variable not hot reloading. 2020-06-30 19:54:39 +01:00
Joe Shimell f47cd33a4f Update README.md 2020-06-05 12:14:46 +01:00
Joe Shimell 1dfcfb9586 Pass through vanished player count if reloading 2020-06-04 13:27:51 +01:00
Joe Shimell 934707e603 clean up 2020-06-04 12:39:04 +01:00
Joe Shimell cdc1ba23f3 Hot reload support 2020-06-04 12:07:47 +01:00
Joe Shimell ba9b761b6d Support for using ids for Discord roles instead of the role name
Helps when trying to add Role with emojis and special characters
2020-06-02 18:29:57 +01:00
JoeShimell 5b815d7cc3 fixed a bug where the bot did not check if the user was already on the whitelist, when not using Easy Whitelist 2020-05-01 21:07:06 +01:00
JoeShimell 1041bf9503 Custom message support 2020-05-01 20:21:06 +01:00
Joe Shimell 36f81a2948
Merge pull request #9 from vacer25/Bugfix2
Fixed bug in player count when vanished and normal players join/leave.
2020-04-27 09:21:48 +01:00
vacer25 48a194622a Fixed bug in player count when vanished and normal players join.
Updated role error messages.
Increased version to 1.3.3
2020-04-27 00:08:19 -04:00
JoeShimell e23e4b3f66 Fixed an error when attempting to assign player count regardless of if the bot was initialized successfully 2020-04-25 12:32:41 +01:00
Joe Shimell 6b83b1d2f6
Merge pull request #8 from vacer25/Bugfix
Made !whitelist add/remove commands required to be at start of message.
2020-04-25 11:35:55 +01:00
vacer25 3eeb7dd197 Fixed player count being updated even if player has silent joining permissions.
Now when a player joins/quits with at least one of "discordsrv.silentjoin", "discordsrv.silentquit", or "sv.joinvanished" permissions, they player count will not be modified.
2020-04-24 21:59:21 -04:00
vacer25 2636cb47f8 Made !whitelist add/remove commands 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 <username>" without triggering the bot.

Fixed error that occurred when users leave guild which did not use the plugin to add to the whitelist.
Fixed version not displaying correctly (was still showing 1.2.0).
Made GitHub link in /dwabout command green.
2020-04-24 20:53:18 -04:00
Joe Shimell 7c153397e8
Merge pull request #7 from vacer25/feature/DiscordRoleManagement
Added option to add/remove a role to users after whitelisting.
2020-04-24 23:39:57 +01:00
vacer25 4d16d2f292 Added website to pom.xml (fixed FIXME)
Corrected comments in CommandAbout and CommandStatus
2020-04-24 18:36:21 -04:00
vacer25 a93de6368b Updated readme with whitelist role instrucions
Incremented version to 1.3.0
2020-04-24 18:35:59 -04:00
vacer25 847273bf48 Added 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.
2020-04-24 17:40:36 -04:00
JoeShimell be4bc8fff5 Added config option for showing player count. Moved join & leave Events to a new class. 2020-04-20 13:45:11 +01:00
Joe Shimell dda4a8f33e
Merge pull request #6 from timroejr/feature/DiscordActivityIndicator
Feature: Added Discord Activity Indicator
2020-04-20 12:22:53 +01:00
Timothy Roe, Jr 4c93c3b3cb Fix to show Discord Activity on plugin start. 2020-04-19 00:49:17 -07:00
Timothy Roe, Jr 8cb168260a Added Activity to Discord Bot to show number of Users Online. 2020-04-19 00:44:10 -07:00
Joe Shimell fdfba50f86
Merge pull request #5 from zaanposni/feature/remove_on_guild_leave
[Feature] Autounlist on guild leave and version/info command
2020-04-14 17:13:31 +01:00
zaanposni aad47f62b8 added info/version command, unlist users on guild leave. version bump to 1.2 not compatible with lower versions! 2020-04-14 17:45:34 +02:00
JoeShimell ed16ccfbdd avoid times whitelisted going into negatives if max whitelist amount is lowered and a user has whitelisted over it 2019-11-11 00:08:09 +00:00
JoeShimell bcc0c08eb5 Update DiscordClient.java 2019-11-10 13:49:47 +00:00
JoeShimo 8fd23d0a1f clean up 2019-11-10 00:04:56 +00:00
JoeShimo 46c2d4a607 added fancier bot messages, add work around to validate minecraft usernames with the easy whitelist plugin 2019-11-06 23:41:42 +00:00
JoeShimo 7904e30c32 easy whitelist support 2019-11-06 14:23:10 +00:00
JoeShimo 210e00700f Removed JDA warning messages, Actually error out when bot fails to initialize, Update / Add entries to config without user input 2019-11-04 13:45:53 +00:00
JoeShimo 27666ef939 basic username validation for add command 2019-11-04 12:52:54 +00:00
JoeShimo ed3eea348a Update README.md 2019-11-01 15:34:56 +00:00
JoeShimo 4cf4ac3e5d readme update 2019-11-01 15:33:26 +00:00