Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0: New modular, more compatible data format, new API, better UX #160

Merged
merged 114 commits into from
Sep 20, 2023

Conversation

WiIIiam278
Copy link
Owner

@WiIIiam278 WiIIiam278 commented Aug 30, 2023

This is the working PR for the v3-work branch, which will update HuskSync to v3.0

HuskSync v3.0 consists of a fairly large rewrite of a significant slice of the plugin. It aims to bring:

  • A new data format - v4 - which is more modular, should better support custom item plugins (such as MMOItems) through the use of NBTAPI, features improved Locked Map syncing, and help pave the way for a fabric port of the plugin
  • A new, more expansive API to support the above -- including the ability to allow developers to register custom data serializers to sync their data in HuskSync's tried and tested Data Snapshot format
  • A better user experience, including an option to ensure snapshots are only made every x number of hours, and improved menus
  • (Maybe -- depending on various things) Folia support

Other stuff:

  • There's now a test suite (/test/) for much more easy and reproducible debugging of the plugin through a script to spin up a network.
  • The plugin now uses HuskHomes' improved Task system, with much more stable asynchronous offloading of expensive logic. No more CompletableFuture#runAsync.
  • On-the-fly conversion from the v3 data format.

WiIIiam278 added 24 commits May 10, 2023 13:49
# Conflicts:
#	bukkit/src/main/java/net/william278/husksync/player/BukkitPlayer.java
#	common/src/main/java/net/william278/husksync/HuskSync.java
#	common/src/main/java/net/william278/husksync/command/EnderChestCommand.java
#	common/src/main/java/net/william278/husksync/command/InventoryCommand.java
#	common/src/main/java/net/william278/husksync/command/UserDataCommand.java
#	common/src/main/java/net/william278/husksync/config/Settings.java
#	common/src/main/java/net/william278/husksync/data/StatusDataFlag.java
#	common/src/main/java/net/william278/husksync/database/MySqlDatabase.java
#	common/src/main/java/net/william278/husksync/player/OnlineUser.java
# Conflicts:
#	bukkit/src/main/java/net/william278/husksync/BukkitHuskSync.java
#	common/src/main/java/net/william278/husksync/config/Settings.java
#	common/src/main/java/net/william278/husksync/data/StatusDataFlag.java
#	common/src/main/java/net/william278/husksync/database/MySqlDatabase.java
# Conflicts:
#	bukkit/src/main/java/net/william278/husksync/player/BukkitPlayer.java
#	common/src/main/java/net/william278/husksync/HuskSyncInitializationException.java
#	common/src/main/java/net/william278/husksync/database/Database.java
#	common/src/main/java/net/william278/husksync/database/MySqlDatabase.java
#	gradle.properties
# Conflicts:
#	gradle.properties
@WiIIiam278 WiIIiam278 self-assigned this Aug 30, 2023
@WiIIiam278 WiIIiam278 merged commit 105f65c into master Sep 20, 2023
1 check passed
@WiIIiam278 WiIIiam278 deleted the v3-work branch September 22, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: in progress This issue is in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant