Commit Graph

4742 Commits

Author SHA1 Message Date
Josh Roy
d73ed137fa
Fix time/weather commands 2023-08-22 12:12:33 -04:00
Josh Roy
d0493ccd2a
Merge remote-tracking branch 'upstream/2.x' into refactor/folia
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandskull.java
2023-08-22 11:37:36 -04:00
Alex
ad5f17481c
Add abbreviation support to /pay command (#5457)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-08-08 21:05:30 +00:00
Luke Chambers
0a4cf27342
Add ability to use texture url in /skull (#5120)
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-08-08 16:10:26 -04:00
SavageAvocado
dfa22969c9
Add default book title and authors (#4920)
Prevents written books from being invalid if no author/title is provided.

Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-08-08 15:46:07 -04:00
Justin
eb76cf0fbb
Added option to limit amount of lore lines (#4773)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-08-08 18:46:31 +00:00
Daniel Jensen
409af5d2aa
Add /mail clear <player> and /mail clearall commands (#4878)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-08-08 18:03:22 +00:00
Daniel Fiala
6fb500d9fb
Fix null check for I18n error logging 2023-08-07 23:40:36 +00:00
YanisBft
2b993d58cf
Add custom model data support for kits (#5433) 2023-08-05 19:38:43 -04: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
0c8bc16c3d
Fix time command 2023-07-27 19:59:56 -04:00
Josh Roy
d4ebaf61d4
Fix weather command 2023-07-27 19:38:32 -04:00
Josh Roy
10fc005652
Merge remote-tracking branch 'upstream/2.x' into refactor/folia
# Conflicts:
#	EssentialsDiscord/src/main/java/net/essentialsx/discord/util/ConsoleInjector.java
2023-07-27 19:30:00 -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
Flask Bot
58eea1724f
New Crowdin updates (#5424) 2023-07-23 20:55:40 +00: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
MD
60129594a6
Rename OfflinePlayer to OfflinePlayerStub (#5417)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-07-04 09:45:58 -04:00
Flask Bot
563d3fab4e
New Crowdin updates (#5370)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-07-04 09:36:32 -04:00
Josh Roy
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
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
Flask Bot
ed41790712 Update items.json for 1.20 2023-07-01 20:37:21 +01:00
Josh Roy
834ef4ea57 Update to Minecraft 1.20 2023-07-01 20:37:21 +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
Charles DeLancey
646b60a90b
Add ability to get recipe of item in hand (#5346)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Co-authored-by: pop4959 <pop4959@gmail.com>
2023-05-28 18:27:18 +00:00
Flask Bot
357cd6b246
New Crowdin updates (#5357) 2023-05-27 02:00:11 +00:00
Josh Roy
2828901927
Fix variables in kits having underscores replaced with spaces (#5366) 2023-05-27 01:51:11 +00:00
Josh Roy
52a4dd2c60
Fix NPE during first join for LuckPerms contexts (#5364) 2023-05-26 19:29:37 -04:00
Flask Bot
1883e6adbc
New Crowdin updates (#5348) 2023-05-22 00:49:43 +00: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
Flask Bot
dd3f4c2921
New Crowdin updates (#5334) 2023-05-07 04:57:44 +00: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
pop4959
991bc61b0c
Expire UserMap cache more aggressively and add cache debugging (#5331) 2023-05-05 18:44:22 -04:00
Flask Bot
8194d1f747
New Crowdin updates (#5303) 2023-05-05 06:40:58 +00:00
Josh Roy
ee7ea2ae39
Fire SignChangeEvent in /editsign (#5304)
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2023-05-02 16:13:50 -04:00