Commit Graph

6434 Commits

Author SHA1 Message Date
MD
d8244dbd80 Do not treat Material as an enum 2024-07-19 20:08:38 +01:00
JRoy
33e086ff05 Fix notEnoughMoney message not being translated correctly
Fixes #5759
2024-07-13 19:25:09 -04:00
JRoy
8971798a90 Fix build on new spigot versions
Villager.Profession was moved to a registry, only breaks at compile time.
2024-07-13 19:25:09 -04:00
Josh Roy
fcf6e64732 Fix legacy compatibility (Fixes #5851) 2024-07-01 23:01:48 -04:00
JRoy
9e57dd6aef Fix NPE when using avatars in discord module (Fixes #5748) 2024-07-01 23:01:48 -04:00
JRoy
b392f03ad1 Use enchantment key names for 1.13+
Enchantment#getName is deprecated and gives the wrong names for enchantments starting in 1.21
2024-06-29 11:40:40 +01:00
JRoy
64531aa862 Update items.json for 1.21 2024-06-29 11:40:40 +01:00
JRoy
1ea080effa Add support for 1.21 enchantments 2024-06-29 11:40:40 +01:00
JRoy
6624e6688c Add support for 1.21 potions 2024-06-29 11:40:40 +01:00
JRoy
022b0049b4 Add support for 1.21 Mobs 2024-06-29 11:40:40 +01:00
JRoy
cecc00a3b6 Update to Minecraft 1.21 2024-06-29 11:40:40 +01:00
JRoy
29a122ea5e Update toolchain 2024-06-29 11:40:40 +01:00
Josh Roy
3a6fdd9bf3
Fix exception on 1.20.6 with Spigot (#5820)
How could I forget to update the md_5 magic letter

Fixes #5818
2024-06-02 19:34:47 -04:00
Pantera (Mad_Daniel)
434e7a0e70
Update adventure (#5819) 2024-06-02 11:42:27 -04:00
Josh Roy
e7a4167111 Add support for data components 2024-05-27 15:53:50 -04:00
Josh Roy
aec5859c2a Fix console error during /give command
There has been a method for this since 1.13.
Why have we been using this for so long?

Since item NBT is now dead, this method for checking
if an item is spawn-able is defunct and produces a console
error every time the give command is ran.
2024-05-27 15:53:50 -04:00
Josh Roy
5392169f72 Update items.json for 1.20.6 2024-05-27 15:53:50 -04:00
Josh Roy
d4a3f5a9e6 Add support for 1.20.6 Mobs 2024-05-27 15:53:50 -04:00
Josh Roy
bef1e57712 Reflect Enchantment API Changes 2024-05-27 15:53:50 -04:00
Josh Roy
4c5a97bf00 Reflect Potion API Changes 2024-05-27 15:53:50 -04:00
Josh Roy
b9b3e4430e Reflect Banner API Changes 2024-05-27 15:53:50 -04:00
Josh Roy
84d3138b21 Fix tests
We really need to improve our tests, this will work for now
2024-05-27 15:53:50 -04:00
Jason Penilla
1c8060341f Opt-out of remapping on Paper 1.20.5+ (#5782) 2024-05-27 15:53:50 -04:00
Josh Roy
c58aae78e7 Update to Minecraft 1.20.6 2024-05-27 15:53:50 -04:00
Charles DeLancey
cde7184da3
Fix duplicated messages with /helpop (#5776) 2024-04-29 21:26:49 -04:00
DarkLaw
549283a1e5
Translate Gamemode placeholder in cantGamemode message (#5771) 2024-04-28 01:44:21 -07:00
Charles DeLancey
6a2527ccdb
Fix sender not receiving helpop message (#5769) 2024-04-28 01:39:26 -07:00
Emilia Kond
c60ed56190
Fix stack trace when buying from sign when inventory full (#5761) 2024-04-13 21:50:45 +00:00
pop4959
c85e179718
Make ChargeException translatable (#5736)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-04-08 01:22:31 +00:00
DarkLaw
71ca7ffbf6
Fix heal signs not healing up to the player's max health (#5752) 2024-03-31 22:53:53 +00:00
pop4959
76a513a05c
Don't run keyword replacer by default in translated broadcasts (#5739)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-03-25 19:11:18 +00:00
pop4959
8cfe680abc
Fix empty translations being sent to Console (#5737) 2024-03-25 19:09:13 +00:00
pop4959
2cb0af0ca4
Strict parsing for legacy converted placeholders (#5740)
This fixes issues where arguments converted implicitly from MiniMessage
are prone to bleeding into the rest of the output.

The fix mostly works since `MINI_MESSAGE_NO_TAGS` is only used for
legacy conversion, while `miniMessageInstance` is used in all other
cases normally. If that were not the case, we would not want strict
parsing everywhere since we don't enforce this in translations anyway.

Fixes #5729
Fixes #5730
Fixes #5732
Fixes #5735

Fixes #5720
Closes #5728
2024-03-11 04:14:58 -04:00
Charles DeLancey
570eca2e21
Add text box to bug report template (#5715) 2024-03-10 21:31:40 -07:00
Charles DeLancey
3817a11d9d
Convert color codes in tempban and tempbanip (#5726) 2024-03-05 14:58:57 -05:00
Catarina Freire
c19b20ea3b
Fix banner patterns not working in kits (#5723)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-03-04 13:49:30 -05:00
Charles DeLancey
a4ac720057
Fix format parsing in ban messages (#5722) 2024-03-04 13:45:06 -05:00
Charles DeLancey
993d7ede56
Fix shout/local chat not sending with certain formats (#5719) 2024-02-29 23:32:51 +00:00
Bobcat00
622c8147a9
Add setting to use usernames over display names for social spy (#5613)
Co-authored-by: Bobcat00 <Bobcat00@users.noreply.github.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-02-26 15:25:30 -05:00
pop4959
6b521e78a6
Fix jail-online-time with offline players (#5701) 2024-02-26 14:32:44 -05:00
pop4959
4219450705
Hotfix legacy serializer to include capitalized formatting code chars (#5711) 2024-02-26 05:09:02 -08:00
pop4959
bd8c792fa4
Support custom biomes in random teleport excluded biome list (#5703) 2024-02-26 03:47:00 -08:00
MD
52a638f18f
Add actions step to log JUnit test reports (#5684) 2024-02-26 01:51:31 +00:00
pop4959
1b1b511b61
Fix conversion issues between Legacy and MiniMessage (#5702)
Fixes #5652
2024-02-26 01:39:18 +00:00
pop4959
d4b72c8af6
Fix Discord /list command showing tags in output (#5698) 2024-02-25 00:06:52 -08:00
pop4959
185b4e266b
Fix /broadcastworld sending in all but the intended world (#5699)
Fixes #5694

This issue was caused by the passed predicate being excludes rather than
includes.

Also addresses a separate issue where no help output was given when no
arguments were specified and the command was sent by a player.
2024-02-24 22:40:22 +00:00
pop4959
7a9a0e6f51
Fix /me from console (#5700)
Fixes #5689
2024-02-24 20:42:30 +00:00
pop4959
9be27ad7ac
Fix custom message colors config not working (#5705)
No linked issue; discussed on Discord with @Evidentsinger14

Also @JRoy, I refuse to believe you ever tested this feature, you're
trolling

---------

Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2024-02-24 20:39:40 +00:00
pop4959
09fa6463a7
Update GitHub Actions (#5704)
Bump actions steps to remove deprecation warnings on GitHub

https://github.com/EssentialsX/Essentials/assets/17698576/0d032078-0c36-4362-b680-5a9b30d30345
2024-02-24 20:28:07 +00:00
Charles DeLancey
1929d4110a
Fix format parsing in /heal (Fixes #5690) 2024-02-20 16:57:57 -05:00