Commit Graph

372 Commits

Author SHA1 Message Date
Marc Baloup 5b40c4aabb Try a cleaner stdout/stderr -> logger redirector 2023-03-17 15:41:39 +01:00
Marc Baloup ff5d776aa5 Better handling of Throwable in Gson 2023-03-17 10:55:58 +01:00
Marc Baloup 872746b46f Fix websocket timeout 2023-03-16 23:30:37 +01:00
Marc Baloup ced9b0eaca Better handling of Json Exceptions in websockets 2023-03-16 22:36:58 +01:00
Marc Baloup 4ec47b5e4b Fix Gson unable to (de)serialize Throwable instance 2023-03-16 22:34:52 +01:00
Marc Baloup 2fb4775ca7 Try to fix some stuff with websocket 2023-03-16 12:29:43 +01:00
Marc Baloup fdfb67757f Fix check Gson record support. May not work if Gson internal classes are not accessible. 2023-03-15 14:47:16 +01:00
Marc Baloup d4ff95534f MC 1.19.4 2023-03-14 22:56:28 +01:00
Marc Baloup fd828d600e WebSocket API 2023-03-14 16:22:50 +01:00
Marc Baloup b6dba62fa4 Fix Gson native record support check 2023-03-12 14:28:31 +01:00
Marc Baloup 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
Marc Baloup f1ef4e1927 Makes exception types generic in ThrowableUtil 2023-03-11 12:16:09 +01:00
Marc Baloup df46026457 Improves Json util class: ability to add TypeAdapterFactory on the fly. 2023-03-09 18:57:09 +01:00
Marc Baloup a6bde9e191 Javadoc 2023-02-22 16:40:08 +01:00
Marc Baloup 6f310de32e Fix PlayerDataWrapper (don't store empty stacks as air stack) 2023-02-22 10:07:56 +01:00
Marc Baloup add5d3bcd7 Fix reflect wrapper MCDataConverter 2023-02-19 19:31:02 +01:00
Marc Baloup 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
Marc Baloup 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
Marc Baloup fb4c62a0bc Ability to save offline player data 2023-02-16 12:17:59 +01:00
Marc Baloup dd2b4467ed new StringUtil.asPatternInSentense method 2023-02-11 23:57:56 +01:00
Marc Baloup 6577367c27 Javadoc + some small refactoring 2023-02-11 23:40:36 +01:00
Marc Baloup 33b40f0cba
Cron scheduler now saves last run timestamps in a file. 2023-01-31 20:04:59 +01:00
Marc Baloup 4c31c0d6e4
Cron scheduler in Java, using the CronExpression library. 2023-01-30 23:49:40 +01:00
Marc Baloup c5c6181e15 Allow network API to listen to specific host address 2023-01-26 10:36:52 +01:00
Marc Baloup df34881771
AutoUpdatedBossBar: don’t throw exception when cancelling twice 2023-01-08 00:13:14 +01:00
Marc Baloup 721175f965
Refactor ItemStackBuilder#meta to use ItemStack#editMeta method 2023-01-07 17:22:09 +01:00
Marc Baloup c5e59537a0
Ability to get all players inheriting a PermGroup 2023-01-07 17:12:21 +01:00
Marc Baloup c4ab62c857
Fix NMS ItemStack reflection issue 2023-01-05 00:21:04 +01:00
Marc Baloup 1557de2bdf
Access offline players inventory and enderchest.
Also added various reflection wrapper API
2023-01-04 23:12:33 +01:00
Marc Baloup a36b8ec1f2 Create directory for logs backup 2022-12-31 01:11:45 +01:00
Marc Baloup 29c1aa21c9 Removed redondant aliases in ChatConfig.PandaTheme 2022-12-31 00:17:03 +01:00
Marc Baloup 2d7e7ba9b7 Backup cleaner now fully works 2022-12-30 23:53:36 +01:00
Marc Baloup 74cf713121 Small fixes 2022-12-30 23:38:16 +01:00
Marc Baloup 515862acbd Fixing backup persist 2022-12-30 23:15:36 +01:00
Marc Baloup 9a140984ca Adjust GeometryUtil values 2022-12-27 18:35:14 +01:00
Marc Baloup a6dde5b6a9 Improved ItemStackBuilder 2022-12-27 01:17:26 +01:00
Marc Baloup e43fc292ba Some adjustment in Bungee commands 2022-12-24 12:08:36 +01:00
Marc Baloup 0756781b26 Merged some modules to fix future dependency issues 2022-12-24 11:33:54 +01:00
Marc Baloup 6564beb3a0 Shade cron interpreter into Pandalib-core 2022-12-24 10:02:07 +01:00
Marc Baloup 5166dd8188
Ensuire Persist.dirtySince is not null even after file loading 2022-12-23 17:27:37 +01:00
Marc Baloup ebb7b5b4c5
Refactoring Pandalib-bungee + added some source files from Pandacube sources 2022-12-21 16:31:21 +01:00
Marc Baloup a7aa012fa4
Backup manager update : improved code handling file filtering + refactored PaperBackupManager + new Bungee backup manager 2022-12-20 01:06:40 +01:00
Marc Baloup 52467dc556
Made backup manager more generic 2022-12-19 16:43:46 +01:00
Marc Baloup 9818bca757 Player config storage : only load if file exists 2022-12-15 13:23:43 +01:00
Marc Baloup c02763beea
Small fixes in backup engine 2022-12-15 02:08:00 +01:00
Marc Baloup dcfbb3e06a
Improved log message in Backup engine 2022-12-15 00:22:43 +01:00
Marc Baloup 148099a4d2
Fix backup cleaner 2022-12-14 19:28:37 +01:00
Marc Baloup d11631a942
Trying to handle file name parsing error in backup engine 2022-12-14 19:18:43 +01:00
Marc Baloup 0d94361d38
Fix another Exception in Backup engine 2022-12-14 19:05:24 +01:00
Marc Baloup 116b1d510c
Fix Exception in Backup engine 2022-12-14 18:34:30 +01:00