Commands and permissions
The main command is /migrate; /mg is its alias. Without arguments, players see the management menu and the console sees command help.
Commands #
| Command | Permission | Purpose |
|---|---|---|
/migrate help | migrate.help | Shows the command list. |
/migrate scan | migrate.scan | Detects supported plugins and data and suggests routes. |
/migrate adapters | migrate.scan | Lists adapters, domains and rollback support. |
/migrate compatibility | migrate.compatibility | Shows platform, Java and plugin compatibility. |
/migrate diagnostics | migrate.admin | Writes a redacted support report. |
/migrate prepare <source> <target> <domain> | migrate.prepare | Builds a migration plan without writing. |
/migrate dryrun <id> | migrate.prepare | Validates a plan without writing. |
/migrate conflicts <id> | migrate.history | Lists conflicts and active policies. |
/migrate resolve <id> <conflict> <policy> [record] | migrate.prepare | Selects a conflict policy. |
/migrate start <id> | migrate.execute | Requests a real run and shows the confirmation scope. |
/migrate confirm <id> | migrate.execute | Confirms and starts the requested run. |
/migrate status <id> | migrate.history | Shows progress and the next action. |
/migrate inspect <id> | migrate.history | Shows counters and the migration event log. |
/migrate cancel <id> | migrate.execute | Cancels a pending run or pauses a running one. |
/migrate resume <id> | migrate.execute | Continues an interrupted, paused or failed run. |
/migrate rollback <id> [confirm] | migrate.rollback | Reviews and then undoes records written by a migration. |
/migrate history | migrate.history | Lists recent migrations. |
/migrate backups [id] | migrate.backups | Lists backups or verifies one and its checksums. |
/migrate language [locale] | migrate.language | Shows or changes the active language. |
/migrate reload | migrate.admin | Validates and reloads configuration and language files. |
A migration that has written records cannot be cancelled; use rollback instead. Reload is refused while a migration runs, and invalid new configuration is not applied.
Permissions #
All permissions default to server operators. migrate.admin contains every permission below, including reload access.
migrate.helpmigrate.guimigrate.scanmigrate.preparemigrate.executemigrate.rollbackmigrate.historymigrate.backupsmigrate.compatibilitymigrate.language
migrate.execute and migrate.rollback change target data and should be granted only to trusted administrators.