Death Swap Guides

Death Swap · Release 3.0.1

Patch Notes 3.0.1

DeathSwap 3.0.1 — Patch notes

Fixed

  • Shared-world preparation no longer performs a bulk save/unload with resident generation work. It requests normal chunk eviction in small batches and waits for FULL chunks, resident proto-chunk holders and world chunk/entity/POI I/O to drain before the required final main-thread detach.
  • Completing an individual arena does not unload the shared world. Initial baseline capture happens once after the complete pool is prepared; resets wait for all active matches and visiting players to leave.
  • Spawn selection uses bounded immutable snapshot reservoirs on one worker instead of synchronous live-world height/block searches. At most one generation/snapshot request is admitted by default, including analysis still queued.
  • Idle arenas retain no plugin spawn tickets. Waiting matches warm only the selected spawns needed for the current roster; entry/cancel/reset releases those tickets. Roster changes pause the positive countdown until new spawn chunks are ready.
  • Finished matches, entity ownership tracking, old spawn Locations and prepared-world records drop their arena/world references. Disconnects remove NPC click cooldowns. Shutdown cancels pending preparation/archive work without a main-thread executor wait or a forced arena-world unload.
  • Restart of a proven unused clean world avoids an unnecessary restore. A used, interrupted or unproven world still requires its original baseline; missing or corrupt recovery data remains quarantined.

Changed

  • Lobby queue countdown defaults to 60 seconds, with 45 seconds available through countdown-seconds. Swap intervals/warnings are unchanged.
  • Config schema 4 adds conservative shared-world performance budgets. Existing countdown-seconds: 90 migrates to 60; other owner-selected durations and settings are preserved. The original file is retained as config-before-3.0.1.yml.
  • A universal build is supplied in addition to the exact Minecraft 1.20.4 profile. Both contain the same corrected game code. Use only one DeathSwap JAR per backend.
  • Refreshed guides include shipped defaults and editable settings references. Startup and /ds admin exportsettings refresh redacted current-setting references.

Upgrade

Stop the server, back up the plugin folder and its actual owned world/dimension folders together, replace the old JAR, then start. Do not delete original templates, ownership registries, player recovery files, statistics or economy ledgers. Old 3.0.0 registries without the clean-use flag receive one safe baseline restore. No RAM limits, watchdog timeouts, unrelated world settings or other minigame files are changed.

Verification

See VERIFICATION.md for the exact 3.0.1 runtime results, duration and limitations. Previous 3.0.0 cross-version results are historical evidence, not new 3.0.1 test results.

The disposable working world keeps autosave enabled. On the tested 1.20.4 chunk system, disabling it also disables normal chunk unload processing; this was an additional cause of retained proto-chunk holders. Normal engine saves go to the working copy, then the immutable original replaces it after the drained detach. Spawn material safety sets are reused and each column's safety is calculated once, avoiding repeated allocation for every arena size.