Josh Roy and MD
ee1111f6aa
Prevent players from ignoring themselves ( #5488 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-08-24 22:04:37 +00:00
Josh Roy
42071f4ad4
Lower non bukkit type creation warns amount
2023-08-24 18:02:00 -04:00
Josh Roy
cf43e643ed
Fix usermap debug message not being debug
2023-08-24 18:02:00 -04:00
Josh Roy
7eed853294
Prepare for 2.21.0 dev builds ( #5467 )
...
time for an adventure
2023-08-05 19:16:34 +01:00
Josh Roy
6d2a8ffba4
Release 2.20.1
2023-08-05 18:59:32 +01:00
Josh Roy
b781c1e924
Add /ess usermap cache sub-command
...
Allows to view the number of known UUIDs as
well as name to UUID pairs.
2023-08-05 16:48:23 +01:00
Josh Roy
19d6db0b4c
Don't cache previously known offline names
...
This can lead to the potential that a UUID can
be mapped to the improper name. This logic should
be handled the join logic.
2023-08-05 16:48:23 +01:00
Josh Roy
02ced188c8
Always populate last known name into cache
...
In theory this should never be an issue but
somehow is?
2023-08-05 16:48:23 +01:00
Josh Roy
7f3b62a180
Remove extraneous manual user cache loading
...
The usermap will already do this on its own,
and we should really avoid doing this outside
the usermap to avoid unforeseen behavior changes.
2023-08-05 16:48:23 +01:00
Josh Roy
908b06570f
Remove extraneous offline name update code
...
This exact code exists in ModernUserMap#getUser(String)
2023-08-05 16:48:23 +01:00
Josh Roy
d7e5c10b51
Fix remaining offline visibility checks ( #5466 )
...
Purpur added a new self-referencing method that
we don't implement with our stub class. This will
prevent Player#canSee from being called for
offline players (it would be false anyway).
2023-08-05 11:44:40 -04:00
Josh Roy
b2ae28b450
Fix discord module console relay not filtering all color codes ( #5454 )
2023-07-26 14:22:30 -04:00
Josh Roy
e558e7365a
Fix trade signs not working with currency suffix ( #5441 )
2023-07-25 21:16:50 +00:00
Josh Roy
c32a0f975e
Revert duel hand behavior of /book command
2023-07-25 17:10:20 -04:00
Josh Roy
ae1f1583c2
Fix enchant not working with offhand
2023-07-25 17:10:20 -04:00
Josh Roy
52c9ca8197
Fix inaccurate online player count for Discord leave message ( #5440 )
...
fixes #5256
2023-07-23 15:10:46 +01:00
Josh Roy
f26e1b2e29
Fix invalid unlimited items preventing userdata to load
...
Invalid material names would previously return a null value
when deserializing. This raises an exception from within
Configurate because they use an EnumSet internally during
deserialization which doesn't support null elements.
2023-07-22 22:53:26 +01:00
Josh Roy
f84a311c2b
Ensure user data deserialization exceptions include file name
...
More than just a SerializationException can happen I guess
2023-07-22 22:53:26 +01:00
1022f7a3ab
Add KitPreExpandItemsEvent ( #5407 )
...
Co-authored-by: YanisBft <yanis.briffaut@gmail.com >
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-07-01 17:51:58 -04:00
Josh Roy
d57094c0bc
Add link module to /ess dump
2023-07-01 17:45:07 -04:00
Josh Roy
863b9cffc5
Add backoff and skip for Discord console relay
2023-07-01 17:45:07 -04:00
Josh Roy
1921abd310
Shorten logger names for Discord module console relay
2023-07-01 17:45:07 -04:00
Josh Roy
803d800bdd
Fix Discord module webhook closing incorrectly
2023-07-01 17:45:07 -04:00
Josh Roy
5276204cf2
Increase Discord module console relay message limit
2023-07-01 17:45:07 -04:00
Josh Roy
697128bcf2
Update Discord Module to JDA 5
2023-07-01 17:45:07 -04:00
Josh Roy and MD
a1fa1e38f8
Don't do visibility checks for OfflinePlayers ( #5375 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-07-01 16:41:56 -04:00
Josh Roy
834ef4ea57
Update to Minecraft 1.20
2023-07-01 20:37:21 +01:00
Josh Roy
03ed9a5b41
Fix roles/groups not being removed instantly upon unlink
2023-06-18 21:57:27 +01:00
Josh Roy
d67dd46cdc
Clean up link policy code
...
Also error when new link policy types are added
so we remember to write out the behavior here
2023-06-18 21:57:27 +01:00
Josh Roy
694ed6e66f
Use removeAccount return value for AccountLinkManager#unlinkAccount
2023-06-18 21:57:27 +01:00
Josh Roy
8a0526b1e5
Fix discord link data being rewritten when no data was changed
2023-06-18 21:57:27 +01:00
Josh Roy
8b2c7d7ad1
Fix regression in #5378 ( #5379 )
2023-06-03 23:13:09 +01:00
Josh Roy
8d07c4bb0f
Fix regression w/empty strings with KeywordReplacer ( #5378 )
2023-06-02 22:54:30 +00:00
Josh Roy
fc3dabf8f5
Fix keywords in kit commands not working ( #5377 )
...
Don't process b64 item through keyword replacer
and don't replace spaces on command strings
2023-06-01 21:14:41 -04:00
Josh Roy
cdd277da92
Fix config BigDecimal parsing returning null on error ( #5373 )
...
Also add some more exception logging for parse issues.
2023-05-31 19:46:19 -04:00
Josh Roy
a4fb02f3e6
Don't run AntiBuild checks on NPCs ( #5365 )
2023-05-26 21:54:46 -04:00
Josh Roy
2828901927
Fix variables in kits having underscores replaced with spaces ( #5366 )
2023-05-27 01:51:11 +00:00
Josh Roy
1e0f7cb984
Fix question and shout prefixes with toggle shout ( #5367 )
2023-05-26 21:48:10 -04:00
Josh Roy
52a4dd2c60
Fix NPE during first join for LuckPerms contexts ( #5364 )
2023-05-26 19:29:37 -04:00
Josh Roy
8323b47e40
Prepare for 2.20.1 dev builds ( #5355 )
2023-05-23 11:32:12 -04:00
Josh Roy
14cdde009c
Release 2.20.0 ( #5336 )
2023-05-23 11:18:21 -04:00
Josh Roy
2f9659e7fc
Fix NPE during reload when deleted warps directory ( #5353 )
2023-05-20 10:03:24 -07:00
Josh Roy
1a4f63915f
Fix SignChangeEvent never actually being called ( #5341 )
...
Fixes #5340 . Caused by a regression in #5304 which reverted the behaviour introduced in #5304 .
2023-05-09 00:26:28 +01:00
Josh Roy
7ebb6359e5
Fix offline player consumer returning null users ( #5339 )
2023-05-06 19:13:44 -04:00
Josh Roy
069ebfcd5b
Fix NPE while syncing offline users for discord line module ( #5338 )
...
Only would happen for users who haven't joined
(or been loaded by different parts of the plugin)
since the last restart. This change first of all switches to a method to fetch users which will update the User base to the UUIDPlayer dummy base. Secondly, this change will not update the base of a User to a UUIDPlayer dummy unless the base is currently null (which would be the case in the condition described above).
2023-05-06 18:31:23 -04:00
Josh Roy and MD
ee7ea2ae39
Fire SignChangeEvent in /editsign ( #5304 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-05-02 16:13:50 -04:00
Josh Roy
3d23916ad5
Add HomeModifyEvent for home create/delete/rename/set ( #5216 )
...
Implements #5213 .
2023-05-02 20:48:28 +01:00
Josh Roy and MD
84fd45bd09
Bump JDA 4 version ( #5328 )
...
Bumping this for 2.20 release as JDA 5 still not out of beta
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-04-29 18:14:36 +00:00
Josh Roy
01883a6b18
Truncate command and argument descriptions ( #5314 )
...
Fixes #5315 .
2023-04-29 19:00:40 +01:00
Josh Roy
fd49b70a69
Fix top command not sending messages ( #5302 )
...
my three year old refactors still haunt me
2023-04-13 06:22:47 +00:00
Josh Roy
3a737480ec
Remove unneeded sanitization in webhook names ( #5311 )
...
Regression from 384f63bf92
2023-04-13 07:15:48 +01:00
Josh Roy
e7c56b32a4
Fix sulk sensors detecting vanished players ( #5262 )
2023-04-02 22:29:29 +00:00
Josh Roy
11e6d3ca7b
Fix /mail sendall not working ( #5263 )
2023-04-02 22:12:04 +00:00
Josh Roy
75481925f7
Update display names before formatting chat messages ( #5282 )
2023-04-02 22:08:38 +00:00
Josh Roy
ecb1850451
Add message for unknown last location for /tpo ( #5290 )
2023-04-02 22:04:36 +00:00
Josh Roy
0f4af9e735
Use strict comparison for potions in trade signs ( #5260 )
2023-04-02 21:45:46 +00:00
Josh Roy and MD
bf14b88600
Bump to 1.19.4 ( #5273 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-03-17 18:54:33 +00:00
Josh Roy
43d84de2b2
Move feature requests back to issues ( #5251 )
...
* Create request-a-feature.yml
* Update config.yml
2023-02-17 12:11:21 +00:00
25ad8ac9bd
Add per-command command cooldown bypass permissions ( #4759 )
...
Adds the permission `essentials.commandcooldowns.bypass.<command name>` to bypass the cooldown for a specific command.
Closes #4747 .
Co-authored-by: pop4959 <pop4959@gmail.com >
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2023-02-13 23:19:52 +00:00
Josh Roy
312d1699a8
Use metadata for tnt from /nuke ( #5222 )
...
Fixes https://github.com/EssentialsX/Essentials/issues/5219
2023-01-12 10:51:13 -05:00
Josh Roy
b3238605cc
Fix inventory size for 1.8.8 servers ( #5212 )
2023-01-05 19:13:16 +00:00
Josh Roy
b7a4bea52e
Revert dual hand behavior from /hat ( #5205 )
...
Fixes https://github.com/EssentialsX/Essentials/issues/5202
2022-12-30 18:30:52 -05:00
Josh Roy
ca71d93963
Fix discord permission issues with link module ( #5197 )
2022-12-27 21:07:47 +00:00
Josh Roy
0936fe80bd
Discord Link Module
2022-12-26 01:24:17 +00:00
Josh Roy
520e8f991f
Add DiscordService#getInviteUrl
2022-12-26 01:24:17 +00:00
Josh Roy
3131cadf65
Add UserMailEvent
2022-12-26 01:24:17 +00:00
Josh Roy
bfae6c5c69
Add IPermissionsHandler#addToGroup & IPermissionsHandler#removeFromGroup
2022-12-26 01:24:17 +00:00
Josh Roy
52c500ee6d
Add InteractionRole#getAsMention + InteractionRole#canInteract
2022-12-26 01:24:17 +00:00
Josh Roy
ba5a8becfc
Add support for role arguments in slash commands
2022-12-26 01:24:17 +00:00
Josh Roy
2a1957229f
Add InteractionMember#hasRole convince methods
2022-12-26 01:24:17 +00:00
Josh Roy
e6af246170
Add IPermissionsHandler#getGroups to fetch all groups
2022-12-26 01:24:17 +00:00
Josh Roy
939e5c5a55
Add InteractionRole#isPublicRole
2022-12-26 01:24:17 +00:00
Josh Roy
80bbf8c55b
Add DiscordService#getRole & DiscordService#modifyMemberRoles
2022-12-26 01:24:17 +00:00
Josh Roy
376abc4aab
Add DiscordService#getMemberById
2022-12-26 01:24:17 +00:00
Josh Roy
a7f4d6b16b
Add InteractionMember#getAsMention
2022-12-26 01:24:17 +00:00
Josh Roy
e0d6040662
Add IUser#isFreeze & IUser#setFreeze
2022-12-26 01:24:17 +00:00
Josh Roy
6ec4c97ddd
Rewrite Inventory Handling ( #5021 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
Complete refactor of inventory handling across the plugin. This simplifies various commands, and aims to resolve issues aon various different MC versions and inconsistencies between parts of the plugin.
Fixes https://github.com/EssentialsX/Essentials/issues/3810
Fixes https://github.com/EssentialsX/Essentials/issues/4248
2022-12-24 17:58:51 +00:00
Josh Roy
582a357752
Bump to 1.19.3 ( #5179 )
2022-12-07 21:47:13 -05:00
Josh Roy
4414eea513
Close discord webhook clients on shutdown ( #5165 )
2022-11-27 19:29:36 +00:00
Josh Roy
6e931b2b3b
Fix ConsoleInjector not getting reinjecting on reload ( #5149 )
2022-11-11 15:28:55 -08:00
879e70fb6b
Ignore NPCs in JailListener ( #5130 )
...
Co-authored-by: pop4959 <pop4959@gmail.com >
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
Citizens NPCs cannot be jailed. This change prevents unnecessary lookups of NPC users.
2022-10-20 14:19:22 -04:00
Josh Roy and pop4959
f91dfed5b4
Improve PlayerTarget code ( #5131 )
...
Co-authored-by: pop4959 <pop4959@gmail.com >
2022-10-15 00:41:21 +00:00
Josh Roy
767185ec32
Auto complete /mail clear indices ( #5132 )
2022-10-15 00:32:47 +00:00
Josh Roy
e91ce0c44c
Fix Essentials#getUser not caching newly created NPC users ( #5129 )
2022-10-11 00:36:33 +00:00
0ca58ce4ba
Rewrite User storage and UUID cache ( #4581 )
...
Co-authored-by: triagonal <10545540+triagonal@users.noreply.github.com >
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com >
2022-09-09 15:49:43 -04:00
Josh Roy
d75d3cd001
Bump to 2.20 dev
...
Fourth time's a charm
2022-09-09 15:49:40 -04:00
Josh Roy
b808511efe
Update discord bot authorization tutorial ( #5098 )
2022-09-02 09:43:09 -04:00
Josh Roy
f176893940
Release 2.19.7
2022-08-21 16:48:14 -04:00
Josh Roy
af18afad7a
Fix discord url link message ( #5079 )
2022-08-18 20:42:57 -07:00
Josh Roy
bdc5f4c830
Fix baltop not working in command blocks ( #5078 )
2022-08-18 18:37:15 +00:00
Josh Roy
0be056b9c2
Improve error messages in Backup
2022-08-18 14:14:29 -04:00
Josh Roy
5f5d65c463
Fix null log messages causing an NPE
2022-08-18 14:14:29 -04:00
Josh Roy
ca4077b204
Fix rgb color codes getting stripped in some cases ( #5076 )
2022-08-18 17:29:12 +00:00
Josh Roy
4ab3e20a0c
Fix remaining uses of Bukkit's logger ( #5075 )
...
Fixes #5056
2022-08-18 17:35:53 +01:00
Josh Roy
576866540e
Fix gson incompatibility on 1.8.8 ( #5067 )
2022-08-17 06:52:38 +00:00
Josh Roy
dfcb9a1c52
Update Checkstyle IDEA config ( #5047 )
2022-08-16 08:18:12 +00:00
Josh Roy
a7a9cbc034
Bump down to 2.19.7 ( #5064 )
...
Never ending cycle
2022-08-15 14:26:52 +01:00
Josh Roy
b71fb520aa
Prepare for 2.20.0 dev builds
2022-08-12 22:30:18 +01:00
Josh Roy
8f7b7d0a5f
Release 2.19.6
2022-08-12 16:59:48 -04:00
Josh Roy
f379323d7a
Fix mappings in ReflOnlineModeProvider
2022-08-12 16:59:02 -04:00