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
* feat: add support for ProtocolLib packet-level state cancelling
* refactor: move commands to event listener, document ProtocolLib support
* docs: make Setup less claustrophobic
* fix: remove `@Getter` on `PlayerPacketAdapter`
* build: add missing license headers
* fix: inaccessible method on Paper
* test: add ProtocolLib to network spin test
* fix: whoops I targeted the wrong packets
* fix: bad command disabled check logic
* fix: final protocollib adjustments
* 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>
* 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>
* 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