Commit Graph

99 Commits

Author SHA1 Message Date
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
3ee806c1ea Ability to clean up unused loaded temporary game worlds 2023-09-03 00:10:05 +02:00
bd3bea8381 Some refactoring in pandalib-util 2023-08-27 13:37:17 +02:00
f16389d33d Upgrade GUIHotBar: add ability to unregister the event listeners of the hotbar + optional cleanup of inventory on player removal 2023-08-24 01:21:27 +02:00
45ab550d06 Ability to get min and max of AABBBlock 2023-08-14 02:10:59 +02:00
2d950117d3 New BlockSet super-interface for AABBBlock and AABBBlockGroup + reorganized classes related to geometry to a new package 2023-08-14 00:43:01 +02:00
2f476ce8f2 Relative teleport API in PaperOnlinePlayer 2023-08-14 00:38:05 +02:00
75e292b1b8 Fixing big mistake in SchedulerUtil.runOnServerThread(). Provided Runnable was run twice if the method was called from Server Thread. 2023-08-03 23:32:29 +02:00
2969d51f72 Don't use random UUID for custom player heads 2023-07-29 13:39:13 +02:00
c0e0097b7b Some static values in PaperOnlinePlayer about default player movement speed 2023-07-28 22:56:25 +02:00
d047be35d9 Custom Bukkit event ServerStopEvent 2023-07-15 16:25:26 +02:00
9e7d89cf70 Reimplement ChatColorGradient.pickColorAt() to make it less error-prone 2023-07-04 23:15:06 +02:00
d5a2aa1c30 Completed implementation of PaperClientOptions 2023-06-23 23:43:16 +02:00
7d5060d09b Improved ItemStackBuilder + removed GUIInventory unused methods 2023-06-22 21:52:02 +02:00
5edd8cdfec Various code simplification/fixes and a lot of typo/grammar fixes (may brake some stuff) 2023-06-20 00:15:46 +02:00
d59ae22970 Deprecation, deprecated, ... 2023-06-16 19:14:22 +02:00
1cd3749d7d Update ItemStackAdapter to try to handle ItemStack from newer MC version 2023-05-09 15:43:01 +02:00
e640cbb1a3 Fix MCDataConverter with new reflect wrapper stuff 2023-05-09 14:12:04 +02:00
edd4e89a6e Update WorldVersion/DataVersion reflect wrappers for new paper version 2023-05-09 12:30:50 +02:00
9b83f9699c Reflect wrapper initialization does not crash anymore on the first exception. It accumulates all the exceptions and shows everything at the end. 2023-05-09 11:57:05 +02:00
3e0297c8af Fix bamboo block reflect wrapper 2023-05-08 22:47:11 +02:00
df8dbe1e61 Fix reflect wrappers due to changes in NMS about DamageSources 2023-05-08 22:32:40 +02:00
d023bcb706 Bump paper version to 1.19.4.
Seems to compile, but reflection API may not work as is.
2023-05-08 18:31:27 +02:00
ff954a3903 Various code cleanup. 2023-04-10 19:17:18 +02:00
ba896e689a Fix deprecation in ItemStackBuilder 2023-04-10 19:16:42 +02:00
5b43aed0b4 Stop using deprecated Bungee ChatColor in BukkitChatColorUtil 2023-03-23 19:00:51 +01:00
b2f5770461 Improved Json record support (Gson 2.10 natively supports it) + Added ItemStack Json support
- Extract RecordTypeAdapter to its own file + only use it if Gson library does not support it (it does since 2.10, but we are unsure of which version is actually used in paper/bungee/other)
- new ItemStackAdapter to support Json (de)serializing of Bukkit ItemStack.
2023-03-12 14:14:17 +01:00
6f310de32e Fix PlayerDataWrapper (don't store empty stacks as air stack) 2023-02-22 10:07:56 +01:00
add5d3bcd7 Fix reflect wrapper MCDataConverter 2023-02-19 19:31:02 +01:00
73d96d0bb7 Improved offline playerdata manipulation
- Ability to change player experience and score
- Handle upgrade of player data (from older Mc version)
2023-02-19 16:11:04 +01:00