Commit Graph

51 Commits

Author SHA1 Message Date
Joe 53a66fc228 Fixed logger error on start up 2024-01-22 17:50:35 +00:00
Joe d88513ee49 Fixed errors caused by dep updates, mainly JDA 2024-01-18 16:02:46 +00:00
Doc deeb688146
Fix word 2022-01-20 16:29:48 -03:00
Doc 7bd2effa24
Add support for target-text-channels for Slash Commands 2022-01-20 16:22:46 -03:00
Xyntexx 4e843db351 Stop using !commands start using /commands
add /whitelist whois @discorduser
1.17.1 version update
2021-07-23 09:54:00 +03:00
Xyntexx e25cefe956 create parent and remove duplicate code 2021-04-03 21:42:29 +03:00
Xyntexx be0938689f fix: exceptions on first launch
fix: !clearname info not showing
refactoring and code cleaning
2021-04-03 19:28:53 +03:00
Joe Shimell b19c8b8247 Check for role name/ID depending on config 2021-03-18 13:58:32 +00:00
Joe Shimell 0497d2d8c8 fixed role check & version bump 2021-03-18 02:21:05 +00:00
Joe Shimell 6d147ce2b3 combine all roles into array once at start up, added extra checks for role startup check, fixed sending the Unwhitelist function discord ID instead of their minecraft names, fixed role check not triggering due to checking for role id not role name 2021-03-18 02:08:05 +00:00
Xyntexx 579c991e75 feat: add ability to test for all limited roles 2021-03-17 22:40:28 +02:00
Xyntexx 4f27151e49 refactor Minecraft whitelistings in a function for shorter code 2021-03-17 00:43:04 +02:00
Xyntexx ab6c20b447 feat: check for required role at startup 2021-03-17 00:07:33 +02:00
Xyntexx c07191e18f add permission removing to startup check 2021-03-16 23:16:20 +02:00
Xyntexx d545defdb3 refactoring: combining permission assignment and removal to functions 2021-03-16 22:07:23 +02:00
Joe Shimell 0efbb9e929 version bump 2021-03-13 13:25:58 +00:00
Joe Shimell 973d5f53e7 remove user's entries if required role is not present 2021-03-12 16:19:48 +00:00
Joe Shimell 0d6ad6705d
Merge pull request #36 from Xyntexx/feature/Luckperms
feat: Added support for LuckPerms
2021-03-04 21:53:50 +00:00
Joe Shimell 24afba37a7 Only filter out self, not other bots/webhooks 2021-03-03 14:09:40 +00:00
Xyntexx a74cd0b075 feat: Added support for LuckPerms 2021-03-02 21:12:03 +02:00
Joe Shimell 96701b44d4 added crafatar as a secondary option for displaying players' skins 2021-02-27 14:59:17 +00:00
Joe Shimell d6e88aaaf4 on-whitelist command's %PLAYER% variable is no longer converted to lowercase to fix compatibility with case sensitive commands 2021-02-04 12:51:47 +00:00
Joe Shimell e7f86b8417 Allow 'show-warning-in-command-channel' to run even when 'remove-unnecessary-messages-from-whitelist-channel' is set to false 2021-02-03 12:05:44 +00:00
Joe Shimell 40250fc1ab Fix for whitelisting amount issue, option to delete unneeded messages after a set amount of time, option to hide info commands 2021-02-03 11:33:33 +00:00
Joe Shimell eb2d033b7b added !whitelist whois command
!whitelist whois minecraftUsername will check the userlist for any occurrences and display the linked ID/Account plus their whitelisted users.
2020-12-22 16:15:53 +00:00
Joe Shimell 1d26a922b6 removed unneeded class 2020-12-20 18:17:40 +00:00
Joe Shimell 096cea3137 added @DiscordMention parameter to !whitelist add command for staff members
Allows staff members to link a minecraft name to a Discord ID without the users input
2020-12-20 18:15:44 +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 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 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
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 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
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
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
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
Timothy Roe, Jr 8cb168260a Added Activity to Discord Bot to show number of Users Online. 2020-04-19 00:44:10 -07: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