rotateMigrate to 5.0.0

Migration Guide (Old โ†’ New Config)

This guide explains how to convert your old CSL configuration to the new structured format.

The new config is cleaner, grouped logically, and more flexible โ€” but some paths have changed.


๐Ÿงญ Overview of Changes

Old Config
New Config

debug

debug-messages

watch-creature-spawn

events.spawn.creature

watch-vehicle-create-event

events.spawn.vehicle

watch-entity-spawns

events.spawn.entity

active-inspections

events.inspections.enabled

inspection-frequency

events.inspections.frequency

preserve-named-entities

entities.preservation.named-entities

preserve-raid-entities

entities.preservation.raid-entities

kill-instead-of-remove

entities.removal.mode

drop-items-from-armor-stands

entities.removal.armor-stand.drop

log-armor-stand-tick-warning

entities.removal.armor-stand.log-warnings

ignore-metadata

entities.ignore.metadata

spawn-reasons: (boolean map)

spawn-reasons: (list)

worlds.worlds

worlds.list


1. Debug Setting

Old

New


2. Spawn Event Watching

Old

New


3. Chunk Inspections

Old

New


4. Preservation Settings

Old

New


5. Removal Mode Changes

Old

The old config only allowed remove or kill behavior.

New

Mode Conversion Guide

Old Behavior
New Mode

Remove excess

"remove"

Kill excess

"kill"

Remove + actively check

"enforce"

Kill + actively check

"enforce-kill"

If you previously had:

Use:

or


6. Armor Stand Settings

Old

New


7. Ignored Metadata

Old

New

NBT support is now grouped under the same section:

โš  Requires NBTAPI installed.


8. Spawn Reasons (Major Change)

โ— Old Format (Boolean Map)

โœ… New Format (List)

Only include the reasons you want enabled:

If it is in the list โ†’ it is checked. If it is not in the list โ†’ it is ignored.


9. World Configuration

Old

New

Only the key name changed from worlds โ†’ list.


10. Entity Groups

The concept remains the same, but is now clearly separated:

Limits are defined separately:

This makes group definitions cleaner and easier to manage.


11. Block Limits (New Section)

Block restrictions are now fully separated:

Block groups are also supported:

This did not exist in the old format.


๐Ÿงจ Breaking Changes Summary

  • Spawn reasons changed from boolean map โ†’ list

  • Removal behavior expanded to multiple modes

  • Event watching moved under events

  • Preservation moved under entities

  • Metadata & NBT filtering grouped under entities.ignore

  • World list key renamed to list


  1. Stop server

  2. Rename old config.yml to config.yml.old

  3. Start server once to generate new config

  4. Reapply your custom limits using this guide

  5. Restart server


๐Ÿ†˜ Common Migration Mistakes

โŒ Leaving old boolean spawn reasons format

New config requires a list.

โŒ Using old kill-instead-of-remove

This no longer exists.

โŒ Forgetting indentation under entities

YAML is indentation-sensitive.


๐ŸŽ‰ Youโ€™re Done

Your config is now using the new structured CSL format.

Last updated