-
-
Notifications
You must be signed in to change notification settings - Fork 136
Setup
William edited this page Jun 6, 2022
·
24 revisions
- A BungeeCord or Velocity-based proxy server
- A Spigot-based game server
- A Redis server
- Install HuskSync in the
/plugins/
folder of both your Spigot and Proxy servers. - Start your servers, then stop them again to allow the configuration files to generate.
- 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.- 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.
- 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.
- 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!
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:
- 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)
- 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.
- Make sure no players are online, then in the Proxy server's console run
husksync migrate
- 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. - 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.
This documentation is available via william278.net |
---|
- 📚 Setup
- 💾 Database
- ✨ Redis
⚠️ Compatibility- 📄 Config File
- 🔗 Troubleshooting
- 🖥️ Commands
- ✅ Sync Features
- ⚙️ Sync Modes
- ↪️ Data Rotation
- ❓ FAQs
↗️ Legacy Migration- ✨ MPDB Migration
- ☂️ Dumping UserData
- 🟩 Plan Hook
- 📋 Event Priorities
- ⚔️ Keep Inventory
- 🎏 Translations
- 💻 GitHub
- 📂 Buy HuskSync
- 🚰 Spigot
- 🛒 Polymart
- ⚒️ BuiltByBit
- 💬 Discord Support