Commit Graph

49 Commits (6fc827dedf05047b4ae431afcd9dfacfd879fc77)

Author SHA1 Message Date
William 105f65c93a
v3.0: New modular, more compatible data format, new API, better UX (#160)
* Start work on v3

* More work on task scheduling

* Add comment to notification display slot

* Synchronise branches

* Use new HuskHomes-style task system

* Bump to 2.3

* Remove HuskSyncInitializationException.java

* Optimise database for MariaDB

* Update libraries, move some around

* Tweak command registration

* Remove dummyhusksync

* Fixup core synchronisation logic to use new task system

* Implement new event dispatch subsystem

* Remove last remaining future calls

* Remove `Event#fire()`

* Refactor startup process

* New command subsystem, more initialization improvements, locale fixes

* Update docs, tweak command perms

* Reduce task number during data setting

* add todo

* Start work on data format / serialization refactor

* More work on Bukkit impl

* More serialization work

* Fixes to serialization, data preview system

* Start legacy conversion skeleton

* Handle setting empty inventories

* Start on-the-fly legacy conversion work

* Add advancement conversion

* Rewrite advancement get / apply logic

* Start work on locked map persistence

* More map persistence work

* More work on map serialization

* Move around persistence logic

* Add testing suite

* Fix item synchronisation

* Finalize more reliable locked map persistence

* Remove deprecated method call

* remove sync feature enum

* Fix held item slot syncing

* Make data types modular and API-extensible

* Remove some excessive debugging, minor refactor

* Fixup date formatting, improve menu UIs

* Finish up legacy data converting

* Null safety in item stack serializaiton

* Fix relocation of nbtapi, update dumping docs

* Add v1/MPDB Migrators back in

* Fix pinning/unpinning data not working

* Consumer instead of Function for editing data

* Show file size in DataSnapshotOverview

* Fix getIdentifier always returning empty

* Re-add items and inventory GUI commands

* Improve config file, fixup data restoration

* Add min time between backups (more useful backups!)

* More work on backups

* Fixup backup rotation frequency

* Remove stdout debug print in `#getEventPriority`

* Improve sync complete locale logic, fix synchronization spelling

* Remove `static` on exception

* Use dedicated thread for Redis, properly unsubscribe

* Refactor `player` package -> `user`

* `PlayerDataHolder` -> `UserDataHolder`

* Make `StatisticsMap` public, but `@ApiStatus.Internal`

* Suppress unused warnings on `Data`

* Add option to disable Plan hook

* Decompress legacy data before converting

* Decompress bytes in fromBytes

* Check permission node before serving TAB suggestions

* Actually convert legacy item stack data

* Fix syntax errors

* Minor method refactor in items command

* Fixup case-sensitive parsing in HuskSync command

* Start API work

* More work on API, fix potion effects

* Fix cross-server, config formatting for auto-pinned issue

* Fix confusion with UserData command, update docs images

* Update commands docs

* More docs updating

* Fix sync feature enabled/disabled checking logic

* Fix `#isCustom()`

* Enable persistent_data syncing by default

* docs: update Sync-Features config snippet

* docs: correct typo in Sync Features

* More API work

* bukkit: slightly optimized schedulers

* More API work, various refactorings

* docs: Start new API docs

* bump dependencies

* Add some basic unit tests

* docs: Correct typos

* More docs work, annotate DB methods as `@Blocking`

* Encapsulate `RedisMessage`, minor optimisations

* api: Simplify `#getCurrentData`

* api: Simplify `editCurrentData`, using `ThrowingConsumers` for better error handling

* docs: More Data Snapshot API documenting

* docs: add TOC to Data Snapshot API page

* bukkit: Make data types extend BukkitData

* Move where custom data is stored, finish up Custom Data API docs

* Optimise imports

* Fix `data_manager_advancements_preview_remaining` locale

* Fix advancement and playtime previews

* Fix potion effect deserialization

* Make snapshot_backup_frequency default to 4, more error handling/logging

* docs: Add ToC to Custom Data API

* docs: Minor legacy API tweaks

* Remove some unneeded catch logic

* Suppress a few warnings

* Fix Effect constructor being supplied in wrong order
1 year ago
William f7419f7277
[ci skip] Update README footer 1 year ago
William f0497f61f0
[ci skip] Update README headings 1 year ago
William f6aab54d4d
license: Relicense under Apache-2.0 1 year ago
William eb9e2491e5
docs: Fix songoda links 1 year ago
William 27f9e24dfb
[ci skip] Fix missing closing perenthesis 2 years ago
William 2cbe39f158
[ci skip] Update songoda link to craftaro 2 years ago
William 0fae3484a1
Add workflow files, test reporting, maven publishing, docs, bump version 2 years ago
William 54cc11fce0
[ci skip] Update README.md 2 years ago
William 3645fa01ec
[ci skip] Wrap README header in header tag 2 years ago
William f1ac9b5e04
[ci skip] Update README 2 years ago
William f322d31b03
[ci skip] Correct typos in README 2 years ago
William278 368e665ac3 [ci skip] Update README 2 years ago
William278 23e0123004 Update README and banner 2 years ago
William278 97a02b7a05 [ci skip] Tweak docs URL 2 years ago
William278 abc41a0aca [ci skip] Add screenshot to README 2 years ago
William278 31a14b2de7 [ci skip] Update README with new badges 2 years ago
William 390a77b407 Update README.md (remove mariadb comment) 2 years ago
William d1085ca7bd
Update README.md 2 years ago
William 261b9cc00c MPDBConverter over jitpack 2 years ago
William 02c64a54c2 Correct LICENSE link 2 years ago
William e19a82ef82
Update README.md 2 years ago
William 3323418b74 Update README.md 2 years ago
William b3e4fbb3de
Update a few jitpack links to use net.william278 2 years ago
William 73fe184e70 add mpdbdataconverter install script 3 years ago
William 01aa28f28c Update jitpack.yml 3 years ago
William a25b7a2c89
Add command usage details to README 3 years ago
William fb3b2bd66e
Update README.md 3 years ago
William cfe3879010
Update README.md 3 years ago
William aedb517662
Update README.md 3 years ago
William aa3e73ea33
Add velocity metrics to README.md 3 years ago
William 051e2c5b72
Update README.md 3 years ago
William 93f6417471 Slight cleanup and docs updating 3 years ago
William 84e04a6440 Update README.md 3 years ago
William bf6032d6f0 Add ability to update PlayerData back to cache and add more javadoc comments 3 years ago
William 014e325751 Update README.md 3 years ago
William 861a0b2824 Update README.md 3 years ago
William c710268182 Bump MPDB to 4.0.1 3 years ago
William 65cd147511
Update README.md 3 years ago
William d3c647b8cf
Update README.md 3 years ago
William 67fe87a6d0
Update README.md 3 years ago
William e35cebe0e4 Update README.md 3 years ago
William c344781966
Update README.md 3 years ago
William 410062dafb Update README.md 3 years ago
William 91fed23006 Update README.md 3 years ago
William f7f1dc50eb 1.0 release progress 3 years ago
William f842afac1e Refactor name to be HuskSync 3 years ago
William 9198cd648f Add information command 3 years ago
William 2a7371be31 Initial project setup, building, setup planning, readme & redis 3 years ago