Target Options
data class TargetOptions(val enabled: Boolean = true, val priority: Int = DEFAULT_PRIORITY, val acceptContraband: Boolean = false)
Per-target settings for a single DespawnLocation — the state behind the in-world toggle button and its options menu.
Serialisation is prefix-based and backward compatible. The historic on-disk form is x;y;z;world, and a world name may itself contain ; (the parser re-joins the tail), so options cannot simply be appended. Instead a non-default target is written as:
@enabled=false,priority=3|12;64;-8;my;worldContent copied to clipboard
A coordinate can never start with @, so the marker is unambiguous, and a target whose options are all default is written in exactly the old format — meaning existing data loads untouched and a server that never uses the feature never sees a format change.