Commit Graph

80 Commits

Author SHA1 Message Date
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
bf59617e19 Refactor offline player data access
- Class that handle all Bukkit/NBT conversion of player data
- Ability to read and save the player inventory (more to come later)
2023-02-18 21:32:12 +01:00
fb4c62a0bc Ability to save offline player data 2023-02-16 12:17:59 +01:00
6577367c27 Javadoc + some small refactoring 2023-02-11 23:40:36 +01:00
df34881771
AutoUpdatedBossBar: don’t throw exception when cancelling twice 2023-01-08 00:13:14 +01:00
721175f965
Refactor ItemStackBuilder#meta to use ItemStack#editMeta method 2023-01-07 17:22:09 +01:00
c4ab62c857
Fix NMS ItemStack reflection issue 2023-01-05 00:21:04 +01:00
1557de2bdf
Access offline players inventory and enderchest.
Also added various reflection wrapper API
2023-01-04 23:12:33 +01:00
29c1aa21c9 Removed redondant aliases in ChatConfig.PandaTheme 2022-12-31 00:17:03 +01:00
9a140984ca Adjust GeometryUtil values 2022-12-27 18:35:14 +01:00
a6dde5b6a9 Improved ItemStackBuilder 2022-12-27 01:17:26 +01:00
0756781b26 Merged some modules to fix future dependency issues 2022-12-24 11:33:54 +01:00
a7aa012fa4
Backup manager update : improved code handling file filtering + refactored PaperBackupManager + new Bungee backup manager 2022-12-20 01:06:40 +01:00
52467dc556
Made backup manager more generic 2022-12-19 16:43:46 +01:00
9818bca757 Player config storage : only load if file exists 2022-12-15 13:23:43 +01:00
c02763beea
Small fixes in backup engine 2022-12-15 02:08:00 +01:00
dcfbb3e06a
Improved log message in Backup engine 2022-12-15 00:22:43 +01:00
148099a4d2
Fix backup cleaner 2022-12-14 19:28:37 +01:00
d11631a942
Trying to handle file name parsing error in backup engine 2022-12-14 19:18:43 +01:00
0d94361d38
Fix another Exception in Backup engine 2022-12-14 19:05:24 +01:00