Migrating In

2commands
1permission
2files
2min read
Sheet 49 of 53 · Server Admin

Filesimport-islands.json · plugins/IgniteSky/import-islands.json

Fileimport-islands.jsonFileplugins/IgniteSky/import-islands.jsonCommand/is admin importCommand/is admin import igniteskyIgniteSky imports islands from SuperiorSkyblock2 and BentoBox with a single command, and there is a neutral JSON format for everything else.

CommandWhat it does
/is admin importList the available importers
/is admin import <source>Import from a source using its default location
/is admin import <source> <path>Import from a specific file or folder

Permissionignitesky.adminAll three need ignitesky.admin. Only one import runs at a time.

The importers

SourceReads
superiorSuperiorSkyblock2, from SQLite or MySQL as its own config.yml says, table prefix included
bentoboxBentoBox / BSkyBlock JSON files (database/Island), plus the Bank, Level, Upgrades and Warps addon files
igniteskyA neutral JSON array, for any other source you can export

One command, no path needed

Leave the old plugin's data folder in plugins/ (the plugin itself can go) and run:

/is admin import superior
/is admin import bentobox

Config keydatabase.dbEach importer knows where its plugin keeps its data, so you usually pass no path. Pass one only if the data lives somewhere non standard, for example a database.db file for SuperiorSkyblock2; a relative path is read from the server folder.

What gets imported

Every owner gets a fresh island with the old one copied into it:

  • Terrain: blocks with their exact state, chests, signs, spawners and the other block entities, plus mobs, armor stands, item frames and paintings.
  • Members: each keeps their rank, mapped to an IgniteSky role, along with bans, trusted players, the lock, the name and the description.
  • Progress: bank balance, upgrade levels, warps and homes (BentoBox named homes included). Worth is rescanned from the copied blocks.

The old worlds have to be on disk. One that is not loaded gets loaded for the copy, except on Folia, where it has to be loaded already or the island comes over as data only. Owners who already have an island are skipped, so a re-run is safe. A member who already belongs to another island, or one past the member cap, is left out. When it finishes, you get a tally of how many were imported and how many were skipped.

migration.yml

Read every time an import starts, so no reload is needed.

KeyWhat it does
copy-terraintrue by default. Off, only the island data comes over; warps and homes need the terrain, so they are skipped too
blocks-per-tickBlocks written per tick while copying, 4000 by default. Lower it if the server lags during an import
entities-per-tickMobs, armor stands, frames and paintings placed per tick, 40 by default
radius-marginExtra blocks copied around the old island's protected radius, 4 by default
load-missing-worldsLoad an old world that is on disk but not loaded, with an empty generator
sources.<importer>.rolesOld rank to IgniteSky role id; a rank with no entry gets default-role
sources.<importer>.upgradesOld upgrade name to IgniteSky upgrade id. Unmapped upgrades are listed at the end, never guessed

The neutral format

For any plugin not directly supported, export your islands to a JSON array and use the ignitesky importer. Each entry is an owner, their name, the island name, and the member UUIDs:

import-islands.json
[
  {
    "owner": "8f0e...uuid",
    "ownerName": "Steve",
    "name": "Steve's Base",
    "members": ["3a1c...uuid", "b27d...uuid"]
  }
]

Fileplugins/IgniteSky/import-islands.jsonCommand/is admin import igniteskyDrop it at plugins/IgniteSky/import-islands.json and run /is admin import ignitesky.

Loading the index

Enter openUp Down moveEsc close