Commit Graph

128 Commits

Author SHA1 Message Date
974347cbde Paper commands should be built right before registration into command dispatcher (so the root command node exists in case we need it) 2024-11-22 22:40:18 +01:00
36eb1227cf Do not use bungeecord-chat as a dependency for pandalib-chat anymore 2024-07-28 01:04:34 +02:00
3e6cf96040 GameWorld loading ony runs /mvm command when Multiverse plugin is present 2024-07-19 23:12:56 +02:00
d1a04a7a66 Proper exception handling when not able to load player data file 2024-07-19 00:23:12 +02:00
fcac9af7d1 Fix reflection in PlayerDataStorage + new wrapOptional method in reflection library 2024-07-17 23:24:13 +02:00
e16487431d Removed some debug messages 2024-07-10 23:15:33 +02:00
50f5ab671a Debug better the alias registration forcing 2024-07-10 22:28:47 +02:00
5a04052f8e Fix (again) command registering 2024-07-10 21:34:03 +02:00
c86855ac16 Fix (again) command registering 2024-07-10 21:13:32 +02:00
001239fe57 Fix command identity 2024-07-10 16:08:42 +02:00
0c7fb9b370 Some other fixes to command registration 2024-07-10 15:31:00 +02:00
f416e30d45 Better log info with commands 2024-07-10 14:04:05 +02:00
e271ac2964 Trying to fix the command registration process
Interact only with the brigadier command dispatcher, since the bukkit command map is backed by the brigadier dispatcher.
2024-07-10 13:23:48 +02:00
2bb09ad42b Trying to fix the post command registration process 2024-07-10 11:30:30 +02:00
4f55890092 Fix reflection in PaperBrigadier 2024-07-10 01:15:01 +02:00
76470b963e Trying to register our Brigadier commands by force if necessary 2024-07-10 01:04:05 +02:00
76fc673e98 New reflected class ShadowBrigNode 2024-07-09 21:55:31 +02:00
307b5132df Command should also register in place of vanilla (e.g. /list) 2024-07-07 15:50:16 +02:00
2acfa53b63 Use $ to reflect on inner classes 2024-06-26 23:59:07 +02:00
640b255e1d Bypass PaperReflectionHolder that try to understand our Mojang mapped reflection call as Spigot mapped 2024-06-26 23:10:13 +02:00
ed0db5391d Added missing @ConcreteWrapper 2024-06-15 13:29:41 +02:00
cef4af80f0 Update reflection in NMS/OBC 2024-06-15 13:15:50 +02:00
827c13887c Removed all NMS mapping stuff since paper jar is now mojang mapped 2024-06-12 23:31:54 +02:00
0ff2ae1296 Fix Brigadier command stuff in pandalib-paper 2024-06-09 22:48:54 +02:00
e7b528718c Update paper plugin to MC 1.20.6
- Convert Brigadier command to use the new Brigadier/Paper API
- EquipmentSlot now has BODY value for horses and wolves armor
- ItemMeta’ canPlaceOn and canDestroy does not work anymore. Removed the related methods from ItemStackBuilder
- Enchantment DURABILITY now has the proper vanilla name UNBREAKING
- Pandalib-chat now uses Adventure’s TranslationArgument
2024-06-07 00:05:07 +02:00
c60fb613d4 Add NMS access to raw display name of items 2024-03-05 18:09:18 +01:00
33e4e053cf Better error handling when loading offline player data 2024-03-05 16:29:11 +01:00
e02ccc2b60 Small improvements to offline player data handling. 2024-03-05 16:06:07 +01:00
1c22518dd9 Lag bar now shows target TPS from /tick command 2024-03-03 18:32:29 +01:00
d7705d8904 Rollback removal usage of teams prefix to handle colored scoreboard sidebar (was not working on Bedrock clients and on some Java clients) 2024-02-24 15:44:24 +01:00
649e1a56c8 Fix 1.20.4 reflection wrappers 2024-02-21 11:56:11 +01:00
7d89f0c376 Update to use new 1.20.4 API
- hide score number in autogenerated scoreboard sidebar and use score entries custom name
- remove now useless reflection wrapper for DamageSource since there is a proper API for that
2024-02-20 14:21:58 +01:00
23a7b940b7 Adjust TPS Bar color: don't change the color between 19 and 21 inclusive. 2024-02-19 23:18:29 +01:00
bd0e0484cd Fix Reflection wrappers for 1.20.2 2024-02-19 13:08:05 +01:00
92a9afa22c Prepare 1.20.2 full support
- Update some POM files
- OBC reflection should not try to parse relocation package version
- NMS reflection dependency update
2024-02-18 14:28:42 +01:00
2393352770 Better display of BadCommandUsage message on paper server 2024-02-17 20:02:16 +01:00
49a32421c0 Fixing reflection 2024-02-11 13:48:24 +01:00
177733950d New reflected static method in CraftPlayer 2024-02-11 11:44:57 +01:00
8149d8fb54 New reflected field in CraftPlayer 2024-02-11 11:21:44 +01:00
ece1bc70bf PaperBackupManager: ignore CancellationException in async task 2024-01-21 13:53:16 +01:00
90009b8703 Fixing WorldUtil (wrong constant usage) 2024-01-21 00:45:19 +01:00
a39f3d8143 More precise error WorldUtil 2024-01-21 00:32:08 +01:00
ecc9932f5e New methods in ChunkCoord 2024-01-20 19:50:49 +01:00
e9b401f43d Fiw WorldUtil 2024-01-20 18:50:33 +01:00
77b0a0c73c Improved World utility classes 2024-01-20 18:46:50 +01:00
075468854d Fix AABBBlockGroup 2023-12-27 18:56:44 +01:00
ba496b0968 Public method in PaperBrigadierCommand 2023-10-29 15:42:08 +01:00
a24eab67b6 Gson now deserializes numbers to the appropriate Number subclass 2023-10-08 23:57:46 +02:00
8b6fe63df1 Proper serialization of ItemStack and other Serializable stuff in Bukkit API 2023-10-08 00:30:56 +02:00
da1ee9d882 Trying to fix ItemStack Gson adapter 2023-09-24 16:17:09 +02:00