Moving from CoreEngine
Mira used to be called CoreEngine. It is the same plugin with the same modules and configs: data, claims, accounts and items survive the update. What is new are the names under which commands, permissions and placeholders are reached. The old names no longer work and have to be switched over once.
Update in four steps #
- Stop the server and back up the folder
plugins/CoreEngine. - Remove the old
CoreEngine-*.fromjar plugins/. Leave the folderplugins/CoreEnginewhere it is, Mira takes it over. - Put the Mira JAR into
plugins/and start the server. - Switch permissions (for example in LuckPerms), placeholders in other plugins and your own command aliases or scripts over to the new names, see Old and new.
Tip: In LuckPerms the web editor (/lp editor) finds and changes the old nodes quickly. Groups that had coreengineclaim. need mira. afterwards.
What happens on the first start #
plugins/CoreEngineis renamed toplugins/Mirain one single step. Nothing is copied, no second set of data is created.- The main database
data/coreengine.is calleddb data/mira.afterwards, its companion files (db -wal,-shm,-journal) move along, andstorage.insqlite-file config.is updated. If a file name of your own is set there, everything stays as it is.yml - The claim database
modules/claim/claims.keeps its name.db - In the comment lines of the YAML files the old name is replaced with Mira. Configured values stay untouched.
- A never-changed default chat prefix
CORE »becomesMIRA ». A customized prefix stays. - Items from the CoreEngine days (for example cosmetics, shop goods,
/loreand/signtexts) keep being recognized and are switched over the next time Mira edits them. - Mira writes the file
.intomigrated-from-coreengine plugins/Mira. It records when what was taken over.
When Mira stays disabled #
Mira never puts an empty database next to the real data. If something does not fit, the plugin stays disabled and writes a message with instructions (SEVERE) to the log:
| Situation | Fix |
|---|---|
| The old CoreEngine JAR is still loaded | Stop the server, remove plugins/CoreEngine-*. (keep the folder), start again |
Both plugins/CoreEngine and a non-empty folder plugins/Mira exist | Mira never merges them. If plugins/Mira only holds the default files of a first test start, move that folder out of plugins/. If it holds the data to keep, move plugins/CoreEngine into a backup |
| The folder cannot be renamed in one step | Stop the server and rename the folder to Mira by hand (on the same drive), then start |
The file . sits in plugins/Mira | Follow the instructions in that file, delete it, start again |
Old and new #
| Area | Old (CoreEngine) | New (Mira) |
|---|---|---|
| Reload | /coreengine reload, /ce reload | /mira reload (no alias) |
| Confirmation handler (internal) | /coreconfirm | /miraconfirm |
| Ban aliases | /coreban, /coretempban, /coreunban, /corebanip, /coreunbanip | /miraban, /miratempban, /miraunban, /mirabanip, /miraunbanip; the main commands /cban, /ctempban, /cunban, /cbanip, /cunbanip stay |
| Namespaced form | /coreengine:msg, coreengine:home | /mira:msg, mira:home |
| Web panel | /cweb | /cweb (unchanged) |
| Admin permissions | coreengine.*, coreengine. | mira.*, mira. |
| Claim permissions | coreengineclaim.<node>, e.g. coreengineclaim., coreengineclaim., coreengineclaim. | mira., e.g. mira., mira., mira. |
| Web panel permissions | core., core., core., core. | mira., mira., mira., mira. |
| All other permissions | home., team.*, mod., ... | unchanged |
| Placeholders | %coreengine_<name>%, e.g. %coreengine_balance% | %mira_<name>%, e.g. %mira_balance% |
| Claim placeholders | %coreengineclaim_<name>%, e.g. %coreengineclaim_blocks_available% | %miraclaim_<name>%, e.g. %miraclaim_blocks_available% |
| Data folder | plugins/CoreEngine/ | plugins/Mira/ (moved automatically) |
| Module configs | plugins/CoreEngine/modules/*. | plugins/Mira/modules/*. |
| Database | data/coreengine. | data/mira. (renamed automatically) |
| Claim config | GriefPrevention. in modules/claim. | removed; a leftover entry is no longer read and can be deleted |
| Jobs origin check | placed-block-provider: coreengineprotect (also cep or native) in modules/jobs. | auto or coreprotect; an old value logs a warning and Mira uses auto |
| Wiki addresses | coreengine. | coreengine. (old links redirect) |
The complete list of all commands and permissions is in the command & permission reference, all placeholders under Integrations.
Former companion plugins #
CoreEngineProtect and the standalone CoreEngineClaim no longer exist. Land protection lives directly in Mira as the claim module, the block history for the jobs exploit protection and for the claim investigation tool comes from CoreProtect. Their JAR files no longer belong into the plugins/ folder. An old folder plugins/CoreEngineClaim from the days of the standalone claim plugin is no longer taken over automatically.