Commit Graph

41 Commits

Author SHA1 Message Date
EoD
9eb8bdc4a0 add support for Minecraft 1.20.4 with ModDevGradle 2025-05-04 18:43:11 +00:00
EoD
6ac6f297af encode unknown items using Paper
This allows using PlayerSync with different minecraft versions and
even different sets of mods.

All unknown items are replaced by Paper with its original NBT data
encoded into the paper item.
2025-05-04 16:48:57 +00:00
mlus
39b69424e8 so it is 2.0.0 release 2025-05-04 18:40:39 +08:00
mlus
162df73189
Merge pull request #57 from EoD/fix-advancements-on-brand-new-server
fix advancement restore on brand new servers
2025-05-03 11:17:18 +08:00
EoD
ba33d5271b fix advancement restore on brand new servers
On a brand new server, there is no advancements directory throwing an
IOException if we try to write a file to it.
2025-05-02 21:19:34 +00:00
EoD
a1d1737d04 fix advancement sync for new players 2025-05-02 19:16:58 +00:00
EoD
44eb3321b4 make advancement sync optional 2025-05-02 17:40:26 +00:00
EoD
7ece814357 fix advancement json restore
Previously, the json was written too late and never reloaded.
This commit moves the advancement restoration from the PlayerLoggedInEvent
to the earlier onDatapackSyncEvent.
At the same time, it forces a reload of the json files, making sure the
client is informed about the update advancements.
2025-05-01 17:05:03 +00:00
EoD
37d0eb2931 fix storing advancement json on dedicated servers 2025-05-01 17:05:03 +00:00
EoD
94433229b7 read level-name for servers from WorldData 2025-05-01 17:05:02 +00:00
mlus
c1778a956c fix error symbol 2025-05-02 00:35:47 +08:00
mlus
b6f76a6af2
Merge pull request #39 from EoD/add-database-compat-flag
add configuration for legacy serialization
2025-05-02 00:28:27 +08:00
mlus
08e73d00da
Merge pull request #37 from EoD/fix-sophisticated-backpack
fix hidden NoClassDefFoundError
2025-05-02 00:25:03 +08:00
EoD
32856ccd67 fix hidden NoClassDefFoundError
net.p3pp3rf1y.sophisticatedbackpacks throws a NoClassDefFoundError when
sophisticated backpacks is not installed.
This exception never reaches the logs for unknown reasons.

Checking explicitly for ModList.get().isLoaded() ensures that the mod is
loaded.

Fixes regression of 439c7ee5bb
2025-05-01 16:16:42 +00:00
EoD
0fb6bb81e1 fix armor dupe bug
The continue "skipped" the armor entries in the database instead of
writing an explicit "air" item into the slot.

When restoring, only existing entries are being restored, all other
items are left untouched. Allowing to dupe items in armor slots.
2025-05-01 16:14:46 +00:00
EoD
44a3e9ca8c add configuration for legacy serialization 2025-04-25 23:31:43 +00:00
mchivelli
5d1a166dcf
Merge branch '1.20.1' into 1.20.1 2025-03-21 23:49:31 +01:00
paulm
9ee7f9a95a Fixed Curios problems 2025-03-21 20:03:42 +01:00
mlus
a7f1373713 1.3.5 release 2025-03-21 19:42:08 +08:00
paulm
439c7ee5bb Addeed Sophisticated Backpack Mod compatibility 2025-03-20 05:26:15 +01:00
mlus
e22b21c826 Update left_hand and cursor stack sync 2024-10-11 13:25:33 +08:00
mlus
bb45488186 fix #22 2024-09-24 21:46:12 +08:00
mlus
1ec9be4e5a reduce frequency of updating server info 2024-08-05 02:24:04 +08:00
mlus
50e146d7fe Chat Sync performance enhancement 2024-08-04 14:20:25 +08:00
mlus
37218c4c58 fixed #16 2024-05-03 16:14:21 +08:00
mlus
50648a217d fix curios inventory missing bug 2024-04-20 21:19:19 +08:00
mlus
6e6326bbbc trying to fix sql issue 2024-02-19 17:17:32 +08:00
mlus-Asuka
da99e59d0a wtf 2023-09-29 17:07:25 +08:00
mlus-Asuka
45e13f1199 1.2.0 release 2023-08-09 16:08:23 +08:00
mlus-Asuka
5ef817a9b7 Use HikariPool instead of original driver.Merge Fork from KK1ve. 2023-08-03 22:05:43 +08:00
mlus-Asuka
93404dcdb5 change wrong file path 2023-06-20 15:55:04 +08:00
mlus-Asuka
2496383c71 debug 2023-04-06 16:49:48 +08:00
mlus-Asuka
91add1b627 add datapack support. 2023-03-31 19:13:06 +08:00
mlus-Asuka
dbe90ecd25 fix armor bugs. 2023-03-31 12:11:35 +08:00
mlus-Asuka
30b1690a73 fix chat and effects bugs. 2023-02-16 14:26:24 +08:00
mlus-Asuka
029789ccd1 fix server bug. 2023-02-15 16:06:54 +08:00
mlus-Asuka
0437374dee fix server bug. 2023-02-15 00:42:26 +08:00
mlus-Asuka
34e16313b6 fix chat message sync 2023-01-10 13:49:02 +08:00
mlus-Asuka
7b8d55f575 add sync condition 2022-12-12 11:25:49 +08:00
mlus-Asuka
7dc5f0151b fix bug 2022-12-09 22:47:56 +08:00
mlus-Asuka
4d3d8afe3d add curios support 2022-12-08 23:02:50 +08:00