William278
275972a094
refactor: start lettuce refactor
2025-03-08 13:16:26 +00:00
William278
02c8b899dc
feat: add ability to run /userdata dump without args
2025-03-08 12:43:27 +00:00
William278
b725015318
feat: bump to 3.8, dont set user data on update
2025-03-07 18:16:46 +00:00
William278
11550e0ba3
refactor: use pastes.dev for viewing userdata dumps
2025-03-07 17:30:18 +00:00
William278
33e20a0c0b
fix: return bytebin URL for viewing dumps
2025-03-07 17:25:03 +00:00
William278
0ae13d730d
feat: use bytebin for dump uploading
...
`UserDataDumper` now implements `Flusher` from `toilet`
2025-03-07 17:23:24 +00:00
William278
305f90f697
feat: various logical improvements to data syncing
...
* Update data in Redis during world saves & commands
* Always set data time to 1 year regardless of sync mode
2025-03-07 16:54:19 +00:00
William278
e56041eae2
feat: add /userdata save
...
Also adds docs for `/husksync dump`
2025-03-07 16:36:34 +00:00
William
904c65ba39
feat: rework locked maps syncing ( #464 )
...
* Better maps syncing (#2 )
* Do not create new views for maps from current world
* Fix maps in shulkers not converting
* Add bundle support for map conversion
* Rework map sync
* Fix empty statements in database
* Fix missing imports
* Rename connectMapIds -> bindMapIds
* Use data adapter to save maps
* Split Mongo readMapData
* Split MySQL readMapData
* Split Postgres readMapData
* Update database schemas
Use server names instead of world UUIDs
* Update Database class
* Update MongoDbDatabase class
* Update MySqlDatabase class
* Update PostgresDatabase class
* Update BukkitMapPersister class
Use server names instead of world UUIDs
* Remove unused code
* Add my nickname to contributors :)
* Start implementing Redis map caching
* Continue implementing Redis map caching
* Bind map ids on Redis before writing to DB
* Finish implementing Redis map data caching
* refactor: decouple new map logic Redis caching from DB
* test: enable debug logging in test suite
* docs: update docs with new username method
* feat: adjust a method name
---------
Co-authored-by: Sóla Lusøt <60041069+solaluset@users.noreply.github.com >
2025-03-07 16:06:27 +00:00
William278
b108d38598
feat: add /husksync dump status dumping, close #460
2025-03-06 14:36:33 +00:00
Sóla Lusøt
7ff10b33a0
fix: Exception updating snapshots with Postgres due to LIMIT clause ( #440 )
...
Remove LIMIT clause which caused errors
2024-12-29 12:58:37 +00:00
William278
8e4678468e
[ci skip] refactor: update config comment
2024-12-08 14:11:47 +00:00
William
1820a810f4
feat: add method for getting OnlineUser in common module
2024-12-07 20:58:40 +00:00
William
0627fb20e4
refactor: adjust equals impl in Identifier
2024-11-15 12:11:02 +00:00
William278
d27278454a
feat: warn if server name matches default, close #314
2024-11-14 14:58:43 +00:00
William
f803af0225
feat: support newer Map data format, close #406
2024-11-04 21:49:24 +00:00
Preva1l
b449b5dee6
fix: cache save causes, fix Fabric data save on shutdown ( #405 )
...
Co-authored-by: seeruk <wright.elliot@gmail.com >
2024-10-17 16:21:42 +01:00
William
cabde9e8d8
fix: version_uuid instead of id in PSQL rotateSnapshots
2024-09-29 15:33:32 +01:00
William
4df7d2def4
fix: missing placeholder %s in postgres
2024-09-29 14:58:09 +01:00
William
59ed77c169
fix: Compat issues with Postgres queries, close #383
2024-09-29 14:32:57 +01:00
William
abdf8223fc
refactor: adjust postgres statements
2024-09-29 13:35:28 +01:00
Coded
842ec0e28d
feat: add create_tables config option to disable automatic DDL operations ( #377 )
...
* Add config option for creating tables
* Move createTables config to a better position
2024-09-28 14:32:53 +01:00
William
e191713bdc
fix: attribute syncing setting bad base value
2024-09-05 17:07:50 +01:00
William
605d314a58
refactor: make attributes allow-listed instead of deny-listed
...
This is a better default - as a number of attributes are primarily synced through other means (potions, items), or were applied from a context-sensitive action that does not warrant syncing across server contexts (sprinting, flying)
2024-09-05 13:37:53 +01:00
William
50eb9a7543
feat: add legacy upgrade command
2024-08-26 16:00:21 +01:00
William
347d2d0a8f
refactor: adjust modifier slot group methods
2024-08-26 14:10:02 +01:00
William
bd560fcc99
refactor: use getter and setter for payload bytes in RedisMessage
2024-08-26 14:08:49 +01:00
William
b68aedc99a
fix: correct compat version check
2024-08-26 14:08:25 +01:00
William
47373d8974
refactor: lock user before updating user data on command
2024-08-26 14:08:11 +01:00
William
a57b8df994
refactor: clean up 1.21.1 compatibility issues
...
Close #368
2024-08-26 13:44:19 +01:00
William
17235637a5
fix: exception loading compatibility config
2024-08-26 12:35:21 +01:00
William
112a974a6c
feat: Target Minecraft 1.21.1 with new release system
2024-08-25 20:45:25 +01:00
William
dfd828bca1
feat: introduce new versioning & Minecraft compatibility system
2024-08-25 20:07:04 +01:00
William
2f9064c4c6
refactor: revert "disable attributes/potion effects by default"
2024-08-09 16:48:40 +01:00
William
5c234cdb1d
feat: improve server version status text
2024-08-09 15:03:23 +01:00
William
04a7793585
refactor: auto-reformat code
2024-08-09 14:43:54 +01:00
William
75a2378ea8
feat: deprecate Toast notifications
2024-08-09 14:19:34 +01:00
William
662fc96ad5
refactor: disable potion effects & attributes by default
2024-08-09 14:11:19 +01:00
William
07da1c04ce
fix: don't apply <1.21 attribute modifiers on >1.21 servers
2024-08-02 18:07:28 +01:00
William
845abf370a
fix: more tweaks to fix attribute issues
2024-07-28 18:07:34 +01:00
William
83b5209a75
fix: "attribute modifier already applied" error, close #348
2024-07-26 16:44:04 +01:00
William
8e9850dd19
refactor: make potion effects an optional dep of attributes
2024-07-26 16:35:43 +01:00
William
1d24209b68
feat: add attribute config, don't sync potion modifiers, close #349
2024-07-26 14:26:52 +01:00
William
c949c976d6
fix: more checkout key debug logging
2024-07-21 01:11:44 +01:00
William
ab736829f2
refactor: clarify data syncer method names
2024-07-21 01:04:14 +01:00
William
7b35c47315
fix: wrong syntax processing on husksync migrate set
2024-07-11 13:12:44 +01:00
William
5056a794d8
fix: Set execution scopes in commands
2024-07-06 14:19:04 +01:00
William
0b29de9efc
fix: update documentation, help menu access for migrators
2024-06-23 15:49:28 +01:00
William
d4e33aa9d2
fix: ensure data version is passed to deserialize methods
...
Fixes an issue where upgraded stacks would only have a size of 1
2024-06-22 18:06:17 +01:00
William
2fcd58fc18
feat: correctly apply keyed attribute modifiers, close #326
...
We need to construct attributes with their key if possible to avoid stacking. Uses reflection :( to do this.
Also adds a bit of error checking to health scale syncing
2024-06-21 13:17:53 +01:00