Josh Roy
80bdc5269f
Fix wrong SpawnerBlockProvider on 1.21+
...
1.21 Adds a new org.bukkit.spawner.Spawner class as a superclass of CreatureSpawner which now contains the setMaxSpawnDelay method. Change our test to look for the method on any superclasses too.
2025-03-09 10:14:00 +00:00
Josh Roy
90d766df2b
Add non-reflection provider for syncCommands
...
On 1.21.4+ Player#updateCommands has the same logic as CraftServer#updateCommands, so we can just use that.
2025-03-09 10:11:35 +00:00
Josh Roy
1531cf4146
Fix exception sending a chat with discord module ( #6075 )
...
We do not want or need to set the renderer, EssXChat or the server will do that.
2025-03-01 09:16:56 -05:00
Josh Roy
1ff24cb634
Use an identity map for Paper chat listener ( #6067 )
2025-02-23 17:02:31 -05:00
Hernán Indíbil de la Cruz Calvo
e3e247dd61
Add discord module support for Paper's chat events ( #5908 )
...
Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com>
2025-02-21 21:00:24 -05:00
Josh Roy
5a839c47bc
Fix modifying messages with Paper chat events
...
Previously, our wrapper for Paper chat events did not account for other plugins modifying the message component during the event lifecycle, this will translate calls between (get/set)Message to and from legacy strings. This further add a barrier hover/click events for now but those never worked with EssXChat installed anyway and will require further refactoring at a later date in order to add support.
2025-02-20 16:41:16 -05:00
Josh Roy
3025ba5c05
Fix NPE when chat messages are canceled
2025-02-20 16:41:16 -05:00
Josh Roy
196a2a19c4
Fix startup issue with potion providers ( #6055 )
...
The LegacyPotionMetaProvider was initializing a map with enums that
don't exist on modern versions. Since this was a static variable, this
map got initialized when the test method was called, leading to a
NoSuchFieldError.
Also improved resilience of these provider-type issues again by catching
a Throwable rather than an Exception in the ProviderFactory.
Fixes #6054
2025-02-19 15:58:00 -05:00
MD
69ed07a536
Fix the wrong potion meta provider being used on 1.8.8 ( #6047 )
2025-02-15 11:30:13 -05:00
Josh Roy
cb00783ede
Add support for Paper's chat events ( #6033 )
...
Fixes #4970
Fixes #5887
2025-02-14 15:14:44 -05:00
Josh Roy
ea3ea202a7
Fix flight state between world teleports ( #6012 )
...
Thanks to @electronicboy for the general fix.
Fixes #4325 for Paper only :)
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
2025-01-28 14:26:39 -05:00
Josh Roy
5515f9f3f6
Rework the provider system ( #5087 )
2024-12-31 19:29:23 -05:00
JRoy
cb15b467ab
Update toolchain
2024-11-09 08:00:08 -05:00
Josh Roy
fcf6e64732
Fix legacy compatibility ( Fixes #5851 )
2024-07-01 23:01:48 -04: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
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
pop4959
6b521e78a6
Fix jail-online-time with offline players ( #5701 )
2024-02-26 14:32:44 -05:00
pop4959
bd8c792fa4
Support custom biomes in random teleport excluded biome list ( #5703 )
2024-02-26 03:47:00 -08:00
Josh Roy
0cd47639c2
Fix /kill and /suicide on latest Spigot/Paper
2024-02-19 02:07:58 -05:00
Josh Roy
388d571da9
We're going on an Adventure! ( #4717 )
...
https://user-images.githubusercontent.com/10731363/147530817-f9adc58e-18a5-49ed-84c6-106e51d6948f.mp4
Add support for chat components throughout EssentialsX using the Adventure library.
Translations have been converted to the MiniMessage format, and custom message files will be migrated on startup.
This also introduces new options to allow players to see messages in their own language and for server owners to change the main message colours without editing message files.
Closes #2029
Closes #2391
---------
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Co-authored-by: pop4959 <pop4959@gmail.com>
2024-02-03 20:38:14 +00: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
Josh Roy
0936fe80bd
Discord Link Module
2022-12-26 01:24:17 +00:00
Josh Roy
582a357752
Bump to 1.19.3 ( #5179 )
2022-12-07 21:47:13 -05:00
Josh Roy
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
5f5d65c463
Fix null log messages causing an NPE
2022-08-18 14:14:29 -04:00
Josh Roy
f379323d7a
Fix mappings in ReflOnlineModeProvider
2022-08-12 16:59:02 -04:00
Josh Roy
a60f3c067f
Fix Essentials' logger breaking on 1.8.8-1.12.2 ( #4975 )
2022-07-02 14:50:45 -04:00
Josh Roy
6816eb4e18
Use component logger on Paper for console colors ( #4941 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2022-06-27 14:54:10 -04:00
Josh Roy
d04c933abe
Fix server state reflection provider mappings
2022-06-15 16:18:35 +01:00
Josh Roy
1a5526867c
Fix IllegalAccessException with advancement listener on 1.12.2 ( #4826 )
...
Fixes #4809 .
2022-03-03 20:38:39 +00:00
triagonal
bc2da98703
Make OfflinePlayer#setName protected for CMI Importer ( #4805 )
2022-02-14 07:40:48 -05:00
Josh Roy
debf09437e
Add UUID support to trade and protection signs ( #4713 )
2022-02-13 15:54:19 -05:00
Josh Roy
41f5cc3175
Use Paper command forwarding API ( #4794 )
...
Uses API added in PaperMC/Paper@9940bca , when available.
2022-02-06 17:56:13 +00:00
Josh Roy
c6fe160b47
Fix Paper command executor on modern Paper versions ( #4791 )
2022-02-01 22:13:16 +00:00
Josh Roy
685084219e
Use futureproof Paper component serializer when available ( #4706 )
...
#plainSerializer will be removed when adventure 5.0.0 releases. This PR prevents this from breaking in the future.
Closes #4705
2021-12-23 10:57:41 +00:00
Josh Roy
dc27af78bf
Update to MC 1.18.1
2021-12-11 12:13:50 +00:00
MD
e35c65b976
Refactor world info provider; only clamp to logical height when already below
...
Fixes #4657 .
2021-11-30 16:33:05 +00:00
MD
1509cf8978
Support 0>y>256 for safe/random teleports ( #4641 )
...
Co-authored-by: pop4959 <pop4959@gmail.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-11-30 16:33:05 +00:00
Josh Roy
7a1e50d10f
Fix reflection mappings for the ServerStateProvider in 1.18
2021-11-30 16:33:05 +00:00
Josh Roy
2ed94f1048
Add provider to use new Paper advancement API ( #4588 )
...
Paper added in PaperMC/Paper@40ee634
2021-10-24 14:27:07 +00:00
Josh Roy
70045c30f3
Migrate reflection in MetaItemStack to a provider ( #4592 )
2021-10-24 15:17:06 +01:00
Josh Roy
ce88c0e1e4
Fix kit issues with potions in 1.8 ( #4591 )
...
Fixes #2867
2021-10-24 14:12:20 +00:00
MD
f0da17b75c
Asynchronously filter commands on Paper when possible ( #4460 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-09-15 17:23:31 -04:00
Josh Roy
14c2ab5ddd
Add online mode data for /ess dump ( #4497 )
...
EssentialsX/Website#60
2021-08-31 15:34:10 +00:00
Josh Roy
69850d82c8
Fix NoClassDefFoundError on < 1.12 with Discord execute command ( #4478 )
2021-08-26 16:12:52 -04:00
Josh Roy
082950cc18
Fix bStats becoming a transitive dependency ( #4426 )
2021-08-02 13:21:53 +01:00
Josh Roy
0d8e90b8da
Move FakeServer to 1.8 provider ( #4395 )
...
Moving this removes the need to needlessly update the FakeServer class with new methods when upstream changes it.
2021-07-27 21:23:20 +01:00
Josh Roy
3bc58264ea
Add advancement message type
2021-07-10 11:08:51 -04:00
Josh Roy
0861427bf3
Discord Module ( #3844 )
...
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Co-authored-by: pop4959 <pop4959@gmail.com>
Co-authored-by: Riley Park <riley.park@meino.net>
Co-authored-by: Jason <11360596+jpenilla@users.noreply.github.com>
2021-07-01 09:43:35 -04:00