Commit Graph

43 Commits

Author SHA1 Message Date
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
JoeShimo
0b11bcc84f specify name instead of just saying 'user' when getting a response from the remove command 2019-10-31 14:03:55 +00:00
JoeShimo
b91fc8bb4f Added a removed list
this list means that limited whitelist roles cannot add back users that have been removed by staff members
2019-10-31 13:42:22 +00:00
JoeShimo
b997ba94be formatting & console log fix 2019-10-31 00:00:47 +00:00
JoeShimo
77bfc32330 Update plugin.yml 2019-10-30 23:41:11 +00:00
JoeShimo
bb9af73581 changed role check to equals instead of contains
solves the issue where another role with a similar name as another permission role will be treated the same.
2019-10-30 23:35:00 +00:00
JoeShimo
a860ca17b5 removed unneeded stuff 2019-10-30 23:09:16 +00:00
JoeShimo
e79625f392 added a role group with limited whitelists 2019-10-30 23:07:30 +00:00
JoeShimo
404246835f Split allowed to use role into 2 roles
Add,Remove Role & Add Role
2019-10-29 15:19:43 +00:00
JoeShimo
2f87a03f35
Update README.md 2019-08-25 15:31:30 +01:00
JoeShimo
905a377c3b added a remove command and info command 2019-08-25 15:19:17 +01:00
JoeShimo
158c5b5a27 help command & minor optimization
if a user with a valid role types !whitelist without a name after, the bot will respond with a help message
2019-08-25 14:18:29 +01:00
JoeShimo
63c09e9c3f changed another part of the !whitelist command to be case insensitive 2019-08-01 16:11:17 +01:00
JoeShimo
4e44065fae made !whitelist command case insensitive 2019-08-01 15:45:42 +01:00
JoeShimo
66ccc6f616
Update README.md 2019-08-01 15:31:32 +01:00
JoeShimo
9a7db26b5b
Update README.md 2019-08-01 15:31:04 +01:00
JoeShimo
d16122cdce finished discord client for the most part 2019-08-01 15:10:58 +01:00
JoeShimo
ef5d2fc122 more progress on discord client 2019-07-30 00:25:38 +01:00
JoeShimo
a6c6bfabec Progress on discord client 2019-07-29 00:02:12 +01:00
JoeShimo
81a70f80f4 This is a new commit 2019-07-28 22:11:04 +01:00