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
5bf158c1d4
Fix negative playtime stat breaking /baltop ( #6074 )
...
Unclear how this happens, possibly a division error?
Fixes #6043
2025-03-01 13:59:46 -05: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
b5748eb32f
Update various dependencies ( #6078 )
...
Mainly Configurate, JDA, and Adventure
2025-03-01 07:21:48 -05:00
JRoy
e49021fffe
Fix item overflow issue with kits & trade signs
2025-02-27 22:01:43 -05:00
JRoy
ba5257c8e6
Fix translation error in EssentialsSign#getItemStack
2025-02-27 22:01:43 -05:00
Flask Bot
fe27182ba8
New Crowdin updates ( #6037 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2025-02-24 01:58:14 +00:00
Josh Roy
5458241fcd
Fix expired mails showing as unread on join ( #6063 )
2025-02-23 22:10:05 +00:00
Josh Roy
bad79b79ac
Fix /book command on 1.20+ ( #6064 )
2025-02-23 22:06:26 +00:00
Josh Roy
1ff24cb634
Use an identity map for Paper chat listener ( #6067 )
2025-02-23 17:02:31 -05:00
JRoy
f5efa26300
Fix per-world flight permissions
...
With the implementation of #6012 , there was no permission check done when we re-add flight to user's changing worlds. This broke servers with per-world flight permissions.
2025-02-23 08:42:10 +00:00
Théo Dufrene
263dab54d0
Fix spawn command sending message before teleportation ( #6025 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2025-02-21 22:21:28 -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
8313d522dc
Add config for use of Paper chat events ( #6050 )
...
adds a config option to disable the use of paper chat events while other
plugins learn how to join the 21st century.
re #6048
re #6051
2025-02-19 21:00:46 +00: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
4e6478224c
Fix loot tables getting removed with essentials.keepinv ( #6036 )
2025-02-09 10:24:13 -05:00
Flask Bot
fb6edc04c6
New Crowdin updates ( #6024 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2025-02-06 14:50:21 +00:00
Josh Roy
d232ce4037
Parse MiniMessage in default command usage & descriptions ( #6018 )
2025-02-05 08:14:09 -05:00
Josh Roy
1a4d75ced7
[AntiBuild] Fix ender crystal breaking on 1.8 ( #6009 )
...
Ugly fix but it works for now...
Fixes #4418
---------
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2025-02-02 14:14:21 +00:00
Josh Roy
42121aa4be
Remove deprecated teleport APIs ( #6017 )
...
They have been no-op deprecations for a while now
2025-02-02 13:45:07 +00: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
Flask Bot
62fb6a16d4
New Crowdin updates ( #6019 )
...
Fixes #6022 .
2025-01-28 19:12:50 +00:00
jquery-package
e2295c1e1f
Add permission node for giving skulls to other players ( #6008 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2025-01-24 10:40:55 -05:00
Flask Bot
eb6e192d8d
New Crowdin updates ( #5640 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2025-01-24 10:35:42 -05:00
JRoy
b293f2328a
Fix adventure error when using color in local chat
...
We were feeding legacy text into miniToLegacy which logs an annoying message in console
2025-01-24 01:55:00 -05:00
JRoy
22de3d8bab
Revert 4219450705
...
Hotfix is no longer needed as it has been fixed in adventure.
2025-01-24 01:55:00 -05:00
JRoy
fe4e388c42
Update adventure versions
2025-01-24 01:55:00 -05:00
Josh Roy
803771e74a
Switch to pastes.dev for /ess dump ( #6011 )
...
Requires merge of https://github.com/EssentialsX/Website/pull/106
2025-01-17 07:38:54 -05:00
Henning Storck
667b0f7523
Skip upgrading random teleport config when tpr.yml isn't initialized yet ( #6003 )
...
If there's no tpr.yml, upgrading the random teleport config will fail
and the plugin cannot be loaded.
2025-01-01 17:03:46 +00:00
Matt Baxter
8e53214b50
Fix paper maven repository URL ( #6002 )
2024-12-31 23:39:08 -05:00
Josh Roy
5515f9f3f6
Rework the provider system ( #5087 )
2024-12-31 19:29:23 -05:00
Charles DeLancey
f2af9528b0
Add new "world" argument to settpr messages ( #5990 )
2024-12-09 19:41:53 +00:00
Justin M.
e1091d887d
Added sell multipliers ( #4770 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-12-08 20:08:23 -05:00
JRoy
424816ef51
Add 1.21.4 Items
2024-12-04 02:49:55 -05:00
JRoy
baa8258936
Add 1.21.4 Tree Types
2024-12-04 02:49:55 -05:00
JRoy
c37064ff74
Add 1.21.4 Mobs
2024-12-04 02:49:55 -05:00
JRoy
d58db0dce9
Update to 1.21.4
2024-12-04 02:49:55 -05:00
Josh Roy
bc8aa76690
Revert removal of InvalidWorldException ( #5984 )
...
Fixes API breakage for people who catch the exception.
2024-12-02 22:14:03 -05:00
Zarkrey
d31ff5553e
Remove extraneous code in command preprocess event handling
2024-11-30 23:56:54 +00:00
JRoy
b560bbdec4
Fix actions permissions on PRs for junit reports
2024-11-27 17:12:47 -05:00
Flowsqy
2a41ea050a
Add config options for specific chat type formats
2024-11-27 17:12:47 -05:00
Gibson Pilconis
c7cc1b4f93
Fix respawn-at-anchor setting. ( #5825 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-11-25 03:15:25 +00:00
Ayush Deotare
57c9edcc0c
Add optional requirements for balance top listing ( #5394 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2024-11-25 03:06:08 +00:00
Kyriakum
3f0a412390
Add locale based comma support for /pay ( #5962 )
...
Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com>
2024-11-25 02:51:52 +00:00
Charles DeLancey
9590d4cd75
Add translation key for /alts output ( #5595 )
...
Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com>
2024-11-25 02:28:49 +00:00