Migration
This page is for migrating older scripts to the current script schema.
Short version: maybe? make a backup, run /cb migrate, then test your commands.
What /cb migrate does
- It scans
plugins/commandbridge/scripts/ - It migrates script files to the latest schema (
version: 4) - It prints a result per file:
MIGRATED,SKIPPED, orERROR - It does not migrate
config.yml
Current built-in migration steps:
2 -> 33 -> 4
Recommended flow
- Stop and create a backup of your scripts folder.
- Start Velocity and run
/cb migrate. - Run
/cb reload. - Test the important commands manually.
If a script shows ERROR, fix that script and run migrate again.
Migration is best-effort. For bigger custom scripts, you may still need manual cleanup.
If you need to fix things manually, use: