William
07d0376dd6
docs: fix grammar in config comment
8 months ago
William
d23ea087c1
refactor: Redis -> 𝓡𝓮𝓭𝓲𝓼
8 months ago
William
ef3dc7e602
fix: bad null annotations on legacy conversion
8 months ago
William
a35e83a424
feat: Move flight status into its own data type, use lombok for data class ( #273 )
...
* refactor: use lombok, separate flight, close #191
* refactor: suppress some warnings
* refactor: suppress unused `from` warnings
* refactor: correct bad null-annotations on Items
* refactor: fix null annotation on `getStack`
* refactor: override methods for getting flight status
* docs: add deprecation docs for flight in gamemode data
8 months ago
William
8463e1bb7a
fix: Remove legacy MineDown calls
8 months ago
William
5456b232f0
fix: don't escape double underscores in text
8 months ago
William
b0e585841c
refactor: use system locale for date formatting
8 months ago
William
cd298af5ae
deps: bump deps, update MineDown, close #270
8 months ago
dependabot[bot]
73de0ff392
deps: bump commons-io:commons-io from 2.15.1 to 2.16.0 ( #266 )
...
Bumps commons-io:commons-io from 2.15.1 to 2.16.0.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
dependabot[bot]
ccd7601a0e
deps: bump org.projectlombok:lombok from 1.18.30 to 1.18.32 ( #264 )
...
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok ) from 1.18.30 to 1.18.32.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown )
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.30...v1.18.32 )
---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
dependabot[bot]
aa1e8b8e95
deps: bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre ( #260 )
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 33.0.0-jre to 33.1.0-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
William
93ab25bf44
deps: target ConfigLib on Maven Central
8 months ago
Preva1l
4c0addfd67
feat: PostgreSQL, Mongo Atlas & Replica Support ( #255 )
...
* Started impl for mongo
* added docs
* refactor of the mongo code, made mongodb artifacts download at run time, tested and working
* complete all change requests
* remove mongo and bson from relocations as they arnt needed
* changed the config
* updated docs
* not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null
* added postgres support (closes https://github.com/WiIIiam278/HuskSync/issues/212 )
* add support for mongodb atlas, added atlas and postrgres to docs, update the config example in docs, also updates mongodb driver bc apparently i was special and very very out of data
* Rework how mongo connections are handled, **breaks config for mongo only**, allows for MongoDB Atlas, normal MongoDb AND MongoDB replica sets via the parameters in advanced mongo settings, added try and catch on all mongo operations so that it actually throws instead of a cutsie little warning
* small doc change
* whoops forgot to instantiate MongoCollectionHelper, and added missing step from docs for atlas users
* why thats a tad embarrassing (grammar mistake)
* add cluster id to `/husksync status`, shows "MongoDB Atlas" in status if using mongodb atlas
---------
Co-authored-by: William <will27528@gmail.com>
8 months ago
dependabot[bot]
501ea3f609
deps: bump org.json:json from 20240205 to 20240303 ( #254 )
...
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java ) from 20240205 to 20240303.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases )
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md )
- [Commits](https://github.com/douglascrockford/JSON-java/commits )
---
updated-dependencies:
- dependency-name: org.json:json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
William278
48f7037898
fix: update license headers
9 months ago
Preva1l
67dddf0cfa
feat: Add support for MongoDB data storage ( #250 )
...
* Started impl for mongo
* added docs
* refactor of the mongo code, made mongodb artifacts download at run time, tested and working
* complete all change requests
* remove mongo and bson from relocations as they arnt needed
* changed the config
* updated docs
* not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null
---------
Co-authored-by: William <will27528@gmail.com>
9 months ago
William
eeb5e57c1e
fix: shutdown not clearing cached data
9 months ago
dependabot[bot]
5a6ea2cffe
deps: bump com.github.Exlll.ConfigLib:configlib-yaml ( #251 )
...
Bumps [com.github.Exlll.ConfigLib:configlib-yaml](https://github.com/Exlll/ConfigLib ) from v4.4.0 to v4.5.0.
- [Release notes](https://github.com/Exlll/ConfigLib/releases )
- [Commits](https://github.com/Exlll/ConfigLib/compare/v4.4.0...v4.5.0 )
---
updated-dependencies:
- dependency-name: com.github.Exlll.ConfigLib:configlib-yaml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
07ddd34f8e
deps: bump net.kyori:adventure-api from 4.15.0 to 4.16.0 ( #252 )
...
Bumps [net.kyori:adventure-api](https://github.com/KyoriPowered/adventure ) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/KyoriPowered/adventure/releases )
- [Commits](https://github.com/KyoriPowered/adventure/compare/v4.15.0...v4.16.0 )
---
updated-dependencies:
- dependency-name: net.kyori:adventure-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
William
6fbef032bc
locales: update zh-tw by lin_ak90
9 months ago
William
318aacd432
refactor: minor tidy up
9 months ago
Timon Michel
ba1b2ff62e
fix: improve event cancellation logic for better plugin compat ( #246 )
9 months ago
William278
67ef4888da
fix: death save updating player
9 months ago
William278
a5d3015c6e
feat: allow customizable save / update causes
10 months ago
William278
131a364f53
fix: cache not cleared on `/userdata delete`, close #245
10 months ago
William
19636d9447
refactor: optimize imports
10 months ago
William
f803a0b57b
refactor: revert `keys` change
10 months ago
William
28afffe95e
refactor/redis: use `scan` instead of `keys`
10 months ago
dependabot[bot]
c7e100a78a
deps: bump org.json:json from 20231013 to 20240205 ( #244 )
...
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java ) from 20231013 to 20240205.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases )
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md )
- [Commits](https://github.com/douglascrockford/JSON-java/commits )
---
updated-dependencies:
- dependency-name: org.json:json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
William
12e223618d
refactor: data save event order processing, use new method in DataSyncer ( #243 )
...
* fix: fire DataSaveEvent before disconnect
* fix: revert rename `addSnapshot`
* docs: mention `addSnapshot` firing the API event
* refactor: use DataSyncer method for event saving, close #242
* fix: trailing semicolon
10 months ago
William
e580c4f2bd
fix: LOCKSTEP preventing offline inv updates, close #229
10 months ago
William
fa7f6f0d6e
fix: exception when reading server defaults
10 months ago
William
267cf1ff35
fix: wrong URL on startup exception
10 months ago
William
08944ffd35
refactor: update a few config comments
10 months ago
William
c75114b858
deps: bump ConfigLib to 4.3.0
10 months ago
William
350a8b864d
fix: bad ConfigProvider logic
10 months ago
William278
df0bd7a7cb
refactor: actually don't use lombok for API just yet
10 months ago
William278
9fc9e8caf4
refactor: use lombok in a few other places
10 months ago
William278
2e3db2fffa
refactor: use Guava methods in various places
10 months ago
William
530b3ef24d
refactor: Migrate from BoostedYaml to Exll's ConfigLib ( #233 )
...
* feat: start work on moving to Exll's configlib
* refactor: Fully migrate to Exlll's configlib
* refactor: Optimize imports
10 months ago
William278
85706d97c5
refactor: move `unregister` to common API module
10 months ago
William278
685431a40d
api: add cross-platform API support
10 months ago
William278
280e90e297
refactor: use guard clause in thread unlock logic
10 months ago
Rubén
31920d056d
refactor: Reconnect to Redis when connection lost ( #230 )
...
* Add redis reconnection
* Add separated method to handle thread unlock
* Add reconnection time constant
10 months ago
William278
6641e11fd9
fix: high latency redis environments firing data updates twice
10 months ago
William278
66bbde0b5d
command: update translator credits in AboutMenu
10 months ago
WinTone01
7dde6423e4
Update tr-tr.yml ( #228 )
10 months ago
William278
0eac12e3f8
locales: Add id-id, courtesy of Wirayuda5620
10 months ago
Wirayuda5620
5df58e4ef9
Update HuskSyncCommand.java AboutMenu
...
hehe 😋
10 months ago
Wirayuda5620
4a6583d8bd
Indonesian translation for HuskSync
10 months ago
jhqwqmc
059ee6f660
locales: Update zh-cn.yml ( #224 )
...
Correction
11 months ago
William
bf9f29ffe9
refactor: Improve display of `/husksync status`
11 months ago
William
29bd2e1319
feat: Add `/husksync status` report menu
11 months ago
William
237abf9698
deps: bump adventure-platform to 4.3.2
11 months ago
William
adbc264532
Merge remote-tracking branch 'origin/master'
11 months ago
jhqwqmc
f9cfec7d03
Update zh-cn.yml ( #220 )
11 months ago
William
d4f61bd646
refactor: catch `Throwable`, not `Exception`
11 months ago
William
9cf6d1eab6
refactor: change default sync mode to `LOCKSTEP`
11 months ago
William
33c2eb2237
refactor: Use cloud `☁` for server for HuskHomes consistency
11 months ago
William
299586aa86
refactor: Rename `DATA_UPDATE` -> `LATEST_SNAPSHOT`
11 months ago
William
05c988f2c7
refactor: Extend `DATA_UPDATE` Redis cache time on `LOCKSTEP` mode
11 months ago
William
8e0ad76968
refactor: Improve `getUserCheckedOut` debug log
11 months ago
William
4db162e78f
refactor: Even more minor debug logging tweaks
11 months ago
William
272bc1278a
refactor: More minor debug logging tweaks
11 months ago
William
35fdcf7106
refactor: Further improve debug log messages
11 months ago
William
48e087a3d7
refactor: Improve debug log wording for `getUserCheckedOut`
11 months ago
William
ca000197e4
refactor: Further improvements to debug messages
11 months ago
William
a6bab88cee
refactor: Add debug log for `listenForRedis` timeout
11 months ago
William
f0c64df439
refactor: Improve debug logging messages
11 months ago
William
ac5ab56717
fix: Don't wrap `saveUserData` in `runAsync` twice
11 months ago
William
4c2bb5c6df
fix: Get correct platform Audience for OnlineUsers
11 months ago
William
fb069296e1
refactor: Use native adventure implementation on Paper
11 months ago
Roman Alexander
22eedc8522
feat: Add support for Redis Sentinels ( #216 )
...
* Add support for Redis Sentinels
* Add some comments
11 months ago
William278
5ec0f1b098
Support MC 1.20.4, improve timestamp exceptions
12 months ago
William
83e27cca83
locales: Add Korean (ko-kr) courtesy of cada3141
12 months ago
Joo200
029407613f
locales: add new localization to de-de ( #215 )
12 months ago
Daniil Nartsissov
3d6ff7c30b
Save cause localization support ( #214 )
12 months ago
Daniil Nartsissov
5833ce955f
locales: add ru-ru localization ( #211 )
12 months ago
dependabot[bot]
b3a5091828
Bump commons-io:commons-io from 2.15.0 to 2.15.1 ( #209 )
...
Bumps commons-io:commons-io from 2.15.0 to 2.15.1.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William <will27528@gmail.com>
12 months ago
dependabot[bot]
5d1bd7c3a9
Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 ( #208 )
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 24.0.1 to 24.1.0.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/24.0.1...24.1.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
WinTone01
7b8c75dbeb
Create tr-tr.yml ( #207 )
1 year ago
dependabot[bot]
c973dc5f05
Bump com.zaxxer:HikariCP from 5.0.1 to 5.1.0 ( #199 )
...
Bumps [com.zaxxer:HikariCP](https://github.com/brettwooldridge/HikariCP ) from 5.0.1 to 5.1.0.
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES )
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-5.0.1...HikariCP-5.1.0 )
---
updated-dependencies:
- dependency-name: com.zaxxer:HikariCP
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Ceddix
c09fde4c36
Update German (de-de) locales, fix broken link in README ( #196 )
...
* updated the locales url
* updated German translation
1 year ago
dependabot[bot]
8d3beab145
Bump commons-io:commons-io from 2.14.0 to 2.15.0 ( #193 )
...
Bumps commons-io:commons-io from 2.14.0 to 2.15.0.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
cdf666bde6
Bump org.apache.commons:commons-text from 1.10.0 to 1.11.0 ( #194 )
...
Bumps org.apache.commons:commons-text from 1.10.0 to 1.11.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
93913ca4ef
Bump org.json:json from 20230618 to 20231013 ( #187 )
...
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java ) from 20230618 to 20231013.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases )
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md )
- [Commits](https://github.com/douglascrockford/JSON-java/commits )
---
updated-dependencies:
- dependency-name: org.json:json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Missing_Love
6fc827dedf
Update zh-cn.yml ( #184 )
1 year ago
Missing_Love
b8aa1d9701
Update zh-cn.yml ( #183 )
...
Update Chinese Simplified Translation
1 year ago
William
51116cbdfb
docs: Minor updates to links/legacy migration
1 year ago
William
289227e763
locales: Remove redundant comments in Japanese
1 year ago
William
3b8a9e4ed1
locales: Fix Dutch filename
1 year ago
William
7db3ed678f
Paper plugin support, save player itemsToKeep rather than drops if not empty ( #179 )
...
* Paper plugin support, save itemsToKeep if present, close #172
* Fixup wrong packages, suppress a warning
* Update docs, add settings for death saving, reorganise config slightly
* Improve default server name lookup
* docs: Add note on Unsupported Versions
* docs: Minor Sync Modes tweaks
1 year ago
William
cae17f6e68
Introduce new lockstep syncing system, modularize sync modes ( #178 )
...
* Start work on modular sync systems
* Add experimental lockstep sync system, close #69
* Refactor RedisMessageType enum
* Fixup lockstep syncing
* Bump to 3.1
* Update docs with details about the new Sync Modes
* Sync mode config key is `mode` instead of `type`
* Add server to data snapshot overview
* API: Add API for setting data syncers
* Fixup weird statistic matching logic
1 year ago
Arno Keesman
c2b9e6c932
add Dutch translation ( #176 )
1 year ago
dependabot[bot]
518853c921
Bump commons-io:commons-io from 2.13.0 to 2.14.0 ( #174 )
...
Bumps commons-io:commons-io from 2.13.0 to 2.14.0.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William <will27528@gmail.com>
1 year ago
Namiu/うにたろう
37a671dae9
Update ja-jp.yml ( #170 )
1 year ago
William
55e443cd49
Improve error handling on data sync
1 year ago
William
575122e6dd
Tweak max health syncing calculation, add config option
1 year ago
William
856cbb9caa
Allow conversion of v1-v3 data snapshots
1 year ago
William
7034a97d3a
Fix wrong timestamp/UUID being used for legacy conversion ( #167 )
...
* Maintain legacy snapshot IDs when updating
* Also maintain timestamps during conversion
* Actually implement timestamp fix in LegacyConverter
1 year ago