mlus
89b48fc3ff
Merge branch '1.20.4' into 1.20.4-dev
2025-10-14 16:51:05 +08:00
mlus
29e6f302eb
line 155 make method return so curios data won't save at the first time
2025-10-14 16:18:41 +08:00
mlus
73d426f266
heartbeat
2025-10-14 16:18:38 +08:00
mlus
b0850d8922
chat sync reconnect system
2025-10-14 16:14:42 +08:00
mlus
cbcdc0e749
may fix #111
...
(cherry picked from commit befa36a303 )
2025-09-16 14:14:39 +00:00
EoD
02de6b50d2
make all config variables final
...
the classes never change, even if the config is modified. Only the
values we read with get() inside the classes change.
2025-07-31 23:59:14 +00:00
EoD
b2f3aa5497
add new data_version column to server_info table
2025-07-30 23:28:34 +00:00
EoD
872168c88e
extract addColumnIfNotExists into separate method
...
(cherry picked from commit 4fe13bd24d )
2025-07-30 04:03:06 +00:00
EoD
41732cbcd1
reformat insert into server_info for readability
...
Use the new format capabilities on SQL queries to make the insert more
readable.
(cherry picked from commit 7f06aa7511 )
2025-07-30 04:03:06 +00:00
EoD
c434f3c6e4
allow format strings within SQL queries
...
This makes SQL queries more readable in some cases
(cherry picked from commit e1ac7adb11 )
2025-07-30 04:03:06 +00:00
EoD
6ddd776468
clarify executeUpdate variants with and without db
...
(cherry picked from commit 8f77a96544 )
2025-07-30 04:03:06 +00:00
mlus
9880c7e74c
Merge pull request #102 from mlus-asuka/backport-99-to-1.20.4
...
[Backport 1.20.4] make QueryResult AutoClosable
2025-07-29 18:40:02 +08:00
mlus
0b750ab852
Merge pull request #101 from mlus-asuka/backport-98-to-1.20.4
...
[Backport 1.20.4] remove duplicate UPDATE server_info
2025-07-29 18:37:28 +08:00
EoD
2c3512da8a
make QueryResult AutoClosable
...
This allows QueryResults to be used within a try() block without
explicitely closing them.
(cherry picked from commit ad76e0e311 )
2025-07-29 10:35:56 +00:00
EoD
3d111125a9
remove duplicate UPDATE server_info
...
the UPDATE is already happening in in the INSERT statement above
(cherry picked from commit 0e96107416 )
2025-07-29 10:34:05 +00:00
EoD
0b4a6aa78a
log the advancement's data type before altering
...
it seems that sometimes this is triggered on an existing database. This
should help identifying what is happening in these cases.
(cherry picked from commit 54cbb9c9a8 )
2025-07-29 10:29:43 +00:00
EoD
9b7ebebf98
simplify and exit early in stringToGenericMap
...
(cherry picked from commit 53bdfe2309 )
2025-07-12 05:14:33 +00:00
EoD
85f953a220
unify both stringToMap functions
...
(cherry picked from commit 228b835c2a )
2025-07-12 05:14:33 +00:00
EoD
db4af71215
fix string to map generation with base64 encoding
...
The new base64 encoding uses "=" characters as part of its encoding.
The previous code split those and trimmed them afterwards, making the
base64 not consistent with the rest of the code that assumed "=" are
still present, like "B64:e30=".
(cherry picked from commit de324a23be )
2025-07-12 05:14:33 +00:00
mlus
d657c7a819
Merge pull request #94 from mlus-asuka/backport-90-to-1.20.4
...
[Backport 1.20.4] unify item creation in curios and normal inventory
2025-07-11 12:48:26 +08:00
EoD
6adb8c2622
unify item creation in curios and normal inventory
...
this also allows creation of placeholders within curios containers
(cherry picked from commit a70605a8b6 )
2025-07-11 04:37:16 +00:00
EoD
a0f71ac6e5
remove unnecessary deserializeString import
2025-07-10 19:23:29 +00:00
EoD
0e37cdc091
properly upgrade items with newer MC versions
2025-07-06 16:02:02 +00:00
EoD
205d74e522
optimize all imports
2025-06-17 23:52:04 +00:00
mlus
02db84f9ce
Merge pull request #80 from mlus-asuka/1.20.4-dev
...
Fix error when no player in server
2025-06-06 13:14:58 +08:00
mlus
79e0e2cbe4
Fix error when no player in server
2025-06-06 13:09:32 +08:00
mlus
abae66a366
Merge branch '1.20.4' into 1.20.4-dev
2025-06-05 13:14:31 +08:00
mlus
0562b01138
Full tested ChatSync Feature
2025-06-05 12:43:41 +08:00
EoD
0bcdc86d32
fix XP being lost or duplicated
...
The current calculation did not work for larger amounts of levels
and either removed or added levels unintentionally.
(cherry picked from commit d83bad5a33 )
2025-05-18 04:18:19 +00:00
EoD
26421096ac
remove unused override in the language files
2025-05-17 19:21:58 +00:00
mlus
cf43f35ee9
language file fix
2025-05-17 19:21:58 +00:00
EoD
22b628bdcb
fix sophisticated backpack integration for 1.20.4
2025-05-04 18:43:11 +00:00
EoD
9eb8bdc4a0
add support for Minecraft 1.20.4 with ModDevGradle
2025-05-04 18:43:11 +00:00
EoD
bcb55c5a67
Revert "register JDBC driver to work around Forge bug"
...
This reverts commit ce0e173a9e .
2025-05-04 18:21:32 +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
ba879dabdb
Merge pull request #63 from EoD/disable-chat-sync-by-default
...
disable chat sync by default
2025-05-04 20:29:22 +08:00
mlus
39b69424e8
so it is 2.0.0 release
2025-05-04 18:40:39 +08:00
EoD
14ea54fcf3
disable chat sync by default
2025-05-03 21:50:17 +00:00
mlus
a9c4df2a61
Merge pull request #58 from EoD/migrate-to-moddevgradle
...
Migrate to ModDevGradle legacy to embed JDCB driver
2025-05-04 00:05:26 +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
mlus
19559bf9e2
Merge pull request #55 from EoD/fix-chat-config-being-ignored
...
fix chat sync always being enabled
2025-05-03 11:15:59 +08:00
EoD
ce0e173a9e
register JDBC driver to work around Forge bug
2025-05-02 22:40:39 +00:00
EoD
033c2b8348
use jarJar to embed the JDBC driver
...
This does not cause conflicts with other mods that do the same and it
reduces the dependency on the "jdbc mods" that are out there.
2025-05-02 22:40:39 +00:00
EoD
8869e26f48
migrate from ForgeGradle to ModDevGradle legacy
2025-05-02 22:40:39 +00:00
EoD
284a1caf44
remove NotNull annotations
2025-05-02 22:38:36 +00: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
5a3e157879
fix chat sync always being enabled
...
reading CHAT_SYNC immediately within FMLCommonSetupEvent can lead to
timing issues that the default value instead of the real config value is
being returned.
Moving them within event.enqueueWork() fixes the timing issue.
2025-05-02 20:32:29 +00:00
EoD
0cbca7cfd8
add logging for chat server
2025-05-02 20:32:29 +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