Commit Graph

312 Commits (f0574527b927b8f1e39be568ff6a999f7661f8a5)

Author SHA1 Message Date
William c2c5a424fb Add checks against the user being an NPC 2 years ago
Gabriele Cabrini ce41053e87
Fixed issue #74
Added the code that @alexdev03 suggested
2 years ago
William 5817de83e5 Fix locked map data not being applied in some cases 2 years ago
William 30dd48ce88 Add additional checks and error handling when setting health 2 years ago
William 9019181208 Merge remote-tracking branch 'origin/master' 2 years ago
William 99483387f1 Add additional error handling for player health and statistic updating 2 years ago
evlad 71706bf9ae expose locked players + add a method on OnlineUser 2 years ago
William 9dc5577175 Clear the player's cursor when setting inventory contents 2 years ago
William 2017ecc20f Minor refactoring / code improvements 2 years ago
William c4b194f8d6 Fix unlocked maps getting wrongly locked 2 years ago
William d682e6e6c6 Fix notifications through Toast AndJam library 2 years ago
William 6fef9c4eae Remove map itemstack debug logging mess 2 years ago
William278 16eee05065 Add notification slot configuration, support for toasts 2 years ago
William 5af8ae0da5 Use canvas rendering approach, finish locked map synchronisation 2 years ago
William278 c0709f82bd Add the ability to synchronise/persist locked maps cross-server, close #14 2 years ago
William278 945b65e1bc Minor performance improvement to event cancelling, add checks against inventory clicks 2 years ago
William 30cd89c578 Remove unnecessary debug 2 years ago
William bb3753b8e4 Fix typo 2 years ago
William 3bfea58f35 Make event priority configurable for three key events 2 years ago
William bac760165e Tweak logic for determining if a player is dead, fix issues with <1HP players being detected dead 2 years ago
William dd39482ed1 Tweaked bukkit implementation of #isDead detection 2 years ago
William 089ea5b63a Fix unsafe joins on inventory and ender chest commands, better exception catching, Close #58 2 years ago
William 5b8de7967b Fix it not being possible to creative-middle-click-clone item stacks from un-editable inventory snapshot views, close #44 2 years ago
William 4fddbc2b32 Automatically expand menus to accommodate custom inventory/echest sizes, close #45 2 years ago
William 43cd367ca3 TriumphGUI for menus, fix missing inv/echest view message, fix data saving despite no updates, close #42 2 years ago
William c3b339b3dd Minor cleanup, tweak listener method names 2 years ago
William 2b91154ca2 Ensure players have their inventory contents saved on death 2 years ago
William 89d8b79ae3 Add ability to save user data on player death 2 years ago
William acd97a1cb0 Migrate config to Annotaml 2 years ago
William 7536bfaaf5 Add `/userdata dump` command, for file/web dumping of user data json 2 years ago
William cbf5d9c24e Implement variable-sized user data; only save needed data 2 years ago
William 3d232f97fb Shade adventure instead of bundling at runtime 2 years ago
William 6d649d0889 Extra logging for DataSerialization exceptions 2 years ago
William 0754837820 Start work on data list pagination via PagineDown, update locales 2 years ago
William 8f44dbb296 Import cleanup 2 years ago
William 049cd8ecca Migrate plugin to MineDown/Kyori-adventure 2 years ago
William278 59a0002c16 Migrate to DesertWell for about menu, version checking 2 years ago
William278 847790c514 Remove `api` module, include it in with the `bukkit` module for simplicity 2 years ago
William 8edbc029f8 Remove test commodore completions 2 years ago
William 258356e45d Bundle boosted-yaml, adjust shading and build scripts 2 years ago
William e1628b6448 Download jedis at runtime 2 years ago
William fa32e97564 Bump mysql-connector-java to 8.0.30 2 years ago
William 8080d57645 Update MPDB migrator messages 2 years ago
William 0a2f7b6cd4 Fix migration reporting for MPDB migrator too 2 years ago
William 26a2366876 Fix inaccurate migration progress tracking 2 years ago
William 2690ab3144 Make initialization exception more obvious, close #47 2 years ago
William 18b96944e9 Tweak migrator to ensure safe user setting on large data imports 2 years ago
William 2f700b2d93 Use Commodore for rich command completion registering 2 years ago
William d1c95030f0 Added config option for syncing dead player inventories, cancel damage if locked 2 years ago
William 8847483ff8 Correct Persistent Data serialization 2 years ago
William 31552f85e4 Fix malformed events 2 years ago
William dafbcad10e Fix PersistentDataContainer synchronisation, bump to v2.0.2 2 years ago
William d1432ebb31 Hotfix: Fix IllegalArgumentException when attempting to set non-primitive PersistentDataContainer key types. 2 years ago
William 10b3eb5a43 Properly synchronise player death states 2 years ago
Hugo Planque 268c351a95 Clear inventory on death if player still not synced to avoid dupes 2 years ago
Hugo Planque 221baa7b04 switch variable to final 2 years ago
Hugo Planque 8b7b32906e hotfix(Bukkit): fix death sync event when setting health of 0 2 years ago
William 261b9cc00c MPDBConverter over jitpack 2 years ago
William 5d584581f0 Add pin to usage 2 years ago
William 5fe9085483 Re-order commands 2 years ago
William 038150cff7 Update default usages 2 years ago
William b35408c429 Re-implement bStats Metrics 2 years ago
William 22b7648b77 General cleanup and optimisations 2 years ago
William 28c4cfb55f Cancel inventory edits when editing is disabled, tweak listener logic for better compatibility 2 years ago
William b0363d10ed Fix MPDB migrator 2 years ago
William 723c79b3a9 Improve initialization logic 2 years ago
William 54553069bf Fix ender chest command too 2 years ago
William bc9d31abc8 Fix inventory and ender chest commands 2 years ago
William b0e0b9c435 Minor legacy migrator fix, about menu link and text tweaks, minor version checker fixes, fix TAB completion in console 2 years ago
William e5422d66f0 Remove leftover debug logs from startup 2 years ago
William 2e7ed6d9f5 User data pinning, version validation checks, fixes 2 years ago
William d1e9f858fe Start work on Plan integration 2 years ago
William 0fce3c44ab Add legacy migrator 2 years ago
William 94e7fe61cc Fix getAvailableMigrators returning null 2 years ago
William 96c6a878c4 Shrink built jar file size, work on MySQLPlayerDataBridge migrator 2 years ago
William f650db4438 Implement data rollbacks and deletion 2 years ago
William b7709f2d6c Userdata command, API expansion, editor interfaces 2 years ago
William 1c9d74f925 Events & API work, save DataSaveCauses as part of versioning 2 years ago
William fd08a3e7d0 Echest, invsee 2 years ago
William 1829526aa7 Implement compression via DataAdapter, add option to disable compression, better exception handling 2 years ago
William d78dd42b72 Fix data sync when changing servers, consume keys when retrieved 2 years ago
William 38c261871a Basic bukkit implementation 2 years ago
William 9471e0cbff Start 2.0 rewrite
Use redis key caching, remove need for proxy plugin
Make platform independent to allow porting to other platforms
2 years ago
William 633847a254 Fix inventory clearing on world save 2 years ago
William 3cd144088d Support deserializing old package stuff 2 years ago
William 2b6e2a1ddc Prep 1.4 release 2 years ago
William 5de81f06d6 Remove MPDB dependency requirement. Now uses a library I made. 2 years ago
William 359f0d6f18 Refactor API 2 years ago
William a5f7b37fac Fix incompatibility with custom health scalars, close #25 3 years ago
William da7a85dde9 Save player data on WorldSaveEvent, add config option, close #21 3 years ago
William a76aecdd23 Refactor package to net.william278; update dependencies & stop shading internal modules 3 years ago
William dd46a6cdd5 Disable native_advancement_synchronization by default 3 years ago
William c5e0640f83 Async proxy data setting and fetching; add timestamp API to player data; add option for bounceBackSyncrhonization 3 years ago
William ae439595ea Async data serialization and add synchronization_timeout_retry_delay config option 3 years ago
William 4ab5070043 Comment typo 3 years ago
William 1664f1bf66 Upgrade bStats to 3.0.0 3 years ago
Harvels X 28c14ed393
Edit: fix UpdateChecker version check;
Add: version utils;
3 years ago
Harvels X 3c50245540
Edit: relocations & excludes;
Refactoring modules configuration;
3 years ago
Harvels X fd42bc99be
Edit: move plugin manifests;
Edit: retrieve a version of velocity;
3 years ago
William 37520991e5 Conformity to Bukkit API conventions 3 years ago
William 7a89ffdf35 Make event priority LOWEST 3 years ago
William 6719858de1 Add SSL connection option for Redis 3 years ago
William 920d2582f5 Update Redis initialization handling now that it is multithreaded 3 years ago
William 93be26a946 Use JedisPool instead of single Jedis connection 3 years ago
William bf6032d6f0 Add ability to update PlayerData back to cache and add more javadoc comments 3 years ago
William 023082e749 Overhaul API, add JitPack integration for developer API provision 3 years ago
William 5dbea87ccb Cleanup 3 years ago
William 57b736cdb8 Merge branch 'future/nms' 3 years ago
William bcc83c3818 Suppress unchecked cast warning 3 years ago
William d912e28ee5 Use native_advancement_synchronization by default 3 years ago
William 41e4bc4fdb Merge branch 'future/nms' 3 years ago
Harvels X af4729ac87
Fixed ConcurrentModificationException in native sync advancements;
Iterators are evil and should be banned! :)
3 years ago
Harvels X 748458af78
Rename methods AdvancementUtils; 3 years ago
Harvels X 73edc988be
Fix https://github.com/HarvelsX/HuskSync/issues/1 & return async 😅 3 years ago
Harvels X efc2c0199b
Remove async execution `nativeSyncPlayerAdvancements`; 3 years ago
Harvels X 5bbb4a8547
Add support for save & set the date of advancement; 3 years ago
William 742c705d49 Fix bStats not being correctly relocated 3 years ago
Harvels X cff00742ce
Edit warn message when using `nativeSyncPlayerAdvancements`; 3 years ago
Harvels X a12a3cfb9f
Maybe fix an empty multitude of visible advancement; 3 years ago
Harvels X 9ff20e6e93
Merge remote-tracking branch 'origin/master' into future/nms 3 years ago
HarvelsX 84c251fa68
Maybe fix https://github.com/HarvelsX/HuskSync/issues/1; 3 years ago
HarvelsX 0bfdc4d528
Update bukkit config; 3 years ago
HarvelsX e96ff83f82
Fix code style;
Fix config naming;
3 years ago
HarvelsX c5f63b4d65
Put award native advancement in one for...each; 3 years ago
HarvelsX ec6809aecc
Remove async execution `nativeSyncPlayerAdvancements`;
Add logging non-existent advancements;
3 years ago
HarvelsX d600c20cd5
Revert "Remove use MPDB & internal migrator;" 3 years ago
William 1eac1cf283 Downgrade redis to 3.7.1 3 years ago
William 911bdbc400 Fix #12, bump to 1.2.1 3 years ago
HarvelsX ba4e0ec9b8
Fix async execution native sync advancements; 3 years ago
HarvelsX 81f1cf7642
Add native sync advancements without toast, announces, rewards; 3 years ago
HarvelsX 7bb6495cfa
Remove use MPDB & internal migrator;
TODO: create migration plugin;
3 years ago
William 3190431ede Fix library loading on Bungee and Velocity, bump to 1.2 3 years ago
William 725bf2c315 Start work on Velocity support 3 years ago
William 32a5004fc7 Add configuration option to synchronise flight 3 years ago
William c710268182 Bump MPDB to 4.0.1 3 years ago
William fb390d4b69 Fix issue with SQLite database naming 3 years ago
William a5127e67a3 Add config updater 3 years ago
William cf6b81200b Cluster support 3 years ago
William 2367b14738 Fix #3 handling messages for closing servers 3 years ago
William 70a66c7801 Fix for #2; ensure health scaling is properly synchronised x-server and properly calculate how much max health needs syncing 3 years ago
William ce90c9eef5 Cleanup, Fix #2 3 years ago
William bac4f18e23 Revert to using deprecated methods for now 3 years ago
William f803788c77 Fix #1 - EOFException caused by attempting to serialize zero-length PotionEffect array 3 years ago
William 5736abc6ba Rename the class back to DataSerializer to prevent incompatibility with serialized 1.0.1 data 3 years ago
William 2a34c5baa7 Remove proprietary code 3 years ago
William 4ca8f8a633 Add update checker 3 years ago
William f2b5df83c8 Fix experience progress not synchronising from database correctly 3 years ago
William 62c7e2508a Remove unnecessary gradle wrapper in bukkit module 3 years ago
William 463fa59de8 Catch more exceptions in the MPDB deserializer 3 years ago
William 72d38fd443 MPDB Migration Fixes, server shutdown synchronisation fixes and polish 3 years ago
William f7f1dc50eb 1.0 release progress 3 years ago
William f842afac1e Refactor name to be HuskSync 3 years ago
William 520f1ea1d7 Add advancement, location and flight syncing, fix an issue that sometimes led to inconsistent syncs 3 years ago
William bd316c0b8c Make synchronisation much smoother, add Statistics and fix experience syncing 3 years ago
William d54de93099 Set MaxHealth before health to prevent IllegalArgumentException 3 years ago
William dee8747041 Added Synchronisation options 3 years ago
William 99ce0898da Add experience synchronisation 3 years ago
William 9198cd648f Add information command 3 years ago
William ba8e4ee175 Now fully reliable and added support for health, max health, etc 3 years ago
William 861477f5ae Finish initial implementation of plan 3 years ago
William 2a7371be31 Initial project setup, building, setup planning, readme & redis 3 years ago
William 6742131d96 Initial commit 3 years ago