Get Started
Documentation
- 🖥️ Commands
- 🏙️ Towns
- 🏠 Claims
- 🔨 Roles
- 🌟 Advancements
- ☯️ Relations
- ⚔️ Wars
- 🚫 Inactive Town Pruning
Developers
- 📦 API v3
- 🧡 Towns API
- ⚙️ Claims API
- ❗ API Events
- 🕸️ API v1 (Legacy)
This page details the process of migrating from HuskTowns v1.8.2 to HuskTowns v2.x.
HuskTowns' migrator will migrate all existing claims to HuskTowns v2.x—except for Admin claims. Due to the differences in how the claim system saves data, you will need to re-create admin claims after you've completed setup and migration using /admintown claim
.
✅ Ensure all servers are offline and that users can't connect to your network before beginning migration
Please follow the steps below to upgrade from HuskTowns v1.8.2. If you're running an earlier version, please update to HuskTowns v1.8.2 first before migrating from v2.x.
~/plugins/HuskTowns/
on your server~/plugins/
folder and replace it with HuskTowns v2.x~/plugins/HuskTowns/
on your server and check that the plugin has generated new config filesconfig.yml
and your old v1 config.yml
you copied over earlier side-by-side.
MYSQL
and enter your connection credentials—but make sure that the table names are new names and don't match the existing table names used.roles.yml
and your old v1 config.yml
you copied over earlier side-by-side.
[]
after the colonrules.yml
and your old v1 config.yml
you copied over earlier side-by-side.
flags.yml
to customize the actions permitted for each flagserver.yml
and open your old v1 config.yml
you copied earlier side-by-side
name: '<server>'
, replacing <server>
with the ID name of this server as it is defined in your old config.messages-xx-xx.yml
file to your liking. Note you can't use your old file as the interfaces and system messages have been completely rewritten.⚠️ If you have any HuskTowns v2 data in your table, it will be deleted when you start the migration process
husktowns migrate legacy
MYSQL
husktowns migrate legacy set <parameter_name> <value>
to do sohusktowns migrate legacy start
to begin the process. This can take several minutes to complete.
Your data should then have migrated. You can check that it has used the town list
command in console or in-game.