Skip to content
William edited this page Jun 6, 2022 · 24 revisions

Requirements

  • A BungeeCord or Velocity-based proxy server
  • A Spigot-based game server
  • A Redis server

Installation

  1. Install HuskSync in the /plugins/ folder of both your Spigot and Proxy servers.
  2. Start your servers, then stop them again to allow the configuration files to generate.
  3. Navigate to the generated config.yml files on your Spigot server and Proxy (located in /plugins/HuskSync/) and fill in the credentials of your redis server.
    1. On the Proxy server, you can additionally configure a MySQL database to save player data in, as by default the plugin will create a SQLite database.
    2. By default, everything except player locations are synchronised. If you would like to change what gets synchronised, you can do this by editing the config.yml files of each Spigot server.
  4. Once you have finished setting everything up, make sure to restart all of your servers and proxy server. Then, log in and data should be synchronised!

Migration from MySQLPlayerDataBridge

HuskSync supports the migration of player data from MySQLPlayerDataBridge. Please note that HuskSync is not compatible with MySQLPlayerInventoryBridge, as that has a different system for data handling.

To migrate from MySQLPLayerDataBridge, you need a Proxy server with HuskSync installed and one Spigot server with both HuskSync and MySQLPlayerDataBridge installed. To migrate:

  1. Make sure HuskSync is set up correctly on the Proxy and Spigot server, making sure that the two are able to communicate with Redis (it will display a handshake confirmation message in both consoles when communications have been established)
  2. Make sure your database is configured correctly on your Proxy server. For example, if you would like to change from SQLite to MySQL, you should do this now because the data from MySQLPlayerDataBridge will be moved into it.
  3. Make sure no players are online, then in the Proxy server's console run husksync migrate
  4. Follow the steps in the Migration wizard to ensure the connection credentials and details of the database containing your MySQLPlayerDataBridge are correct, changing settings with husksync migrate setting <setting> <new value> as necessary.
  5. Run husksync migrate start in the Proxy server's console to start the migration. This could take some time, depending on the amount of data that needs migrating and the speed of your database/server. When the migration is complete, it will display a "Migration complete" message.

Setup

Features

Guides

Developers

Links

Clone this wiki locally