Death Swap Guides

Death Swap · Release 3.0.1

Server Owner Guide

Platform and dependencies

Published Paper/Purpur targets from Minecraft Java 1.20.4 through 26.3. Install either the exact 1.20.4 profile or the universal JAR for a supported release. Java 17+ for 1.20.4, Java 21+ for 1.20.5–1.21.11, Java 25+ for 26.x. Spigot-only servers, Folia, Forge and Fabric are not supported. The build uses Paper asynchronous chunk generation through a compatibility bridge. No separate server, Multiverse, WorldEdit, rollback or hologram plugin is required.

Optional dependencies must match your server version:

Plugin Purpose Without it
Vault plus economy provider Creator entry fees and cash winner rewards Free modes work; winners receive five diamonds
Citizens Steve/Alex player-shaped starters Commands and native villager starters work
ProtocolLib Independent per-player NPC looking Starters still function; cosmetic looking is disabled

See ADMIN-GUIDE.md for installation and setup, COMMANDS-AND-PERMISSIONS.md for all supported commands, and PLAYER-GUIDE.md for play.

Gameplay defaults

Setting Default
Players per match 2–8
Playable border 500 + 300 per player beyond two, in both dimensions
Shared world One, renewed weekly after matches finish
Open matches Up to 3
Countdown 60 seconds after a map is ready and two players join
Swap interval Random weighted 60–180 seconds each time
Warning Random 3–10 seconds, included in interval
Creator cancel confirmation 20 seconds
Entry fee / cash reward, each mode 0 / 0
No-economy winner reward 5 diamonds

Classic starts empty. Kit offers five configurable kits with five slots each. Defaults are one chorus fruit, one raw beef, one leather helmet, one leather boots, or one stone axe, with four empty slots each. Inventory remains ordinary during lobby/queue time and is captured at actual arena entry. Original inventory, armor/offhand, game mode, experience, effects, health and related state are recovered on safe exit. No PvP; environmental traps remain part of the game.

Economy and failure handling

Only the creator pays. A nonzero fee requires working Vault economy. Balance is checked before the match is advertised and again at actual start; it is not reserved during the wait. Charge occurs at start. Ordinary forfeits/disconnects after start consume the fee and allow surviving players to win. A creator's confirmed cancellation during a running game is a forfeit, not an instant stop for everyone. Admin stops, server interruptions and technical aborts refund confirmed fees and declare no winner. A draw has no winner reward.

Rewards are recorded before payment and claimed outside matches after recovery. A money entitlement remains money if the provider disappears; it waits rather than turning into diamonds. Diamond rewards never intentionally drop into the lobby; players without space use /ds claim later. Vault and disk storage cannot share one atomic transaction. A crash during a transfer can leave a processing-* entry: the plugin retains it for manual reconciliation instead of automatically risking a duplicate charge or payout.

Configuration

config.yml contains documented sections for match timing, economy, preparation, leaderboards, kits, NPC skins, website export, pool rotation, lobby boundary, NPC looking and lobby fall rescue. Use unquoted numbers and booleans. Invalid settings reject startup/reload; inspect the precise key in the console. GUI kit saves retain full item metadata in a serialized stack; that field takes precedence over the compact material/amount form.

Lobby/spawn, NPCs and boards are in displays.yml; named slots are in arena-settings.yml. arenas.yml, data.yml, players/, world folders and templates are managed state, not ordinary settings. Back them up together and avoid manual edits while running.

Performance and limits

Generation is throttled. World creation, Bukkit loading/unloading, saves and player operations still require the server thread. Disk rollback/archive work runs in one background lane; maintenance loads at most one retained world per pass. Ready compatible maps avoid unnecessary startup rollback. Leaderboard rows are cached until a result changes, holograms update in place, and reward claiming consults pending entitlements rather than scanning paid history. Website delivery remains coalesced and off the game thread.

These changes reduce avoidable work; no specific TPS gain is claimed. Terrain generation and disk speed still matter. Allow several world copies' worth of free space for baselines, staging and backups. Do not configure other plugins to automatically load or modify the private pool folders. Stage the update with your installed plugins before using it on the public server.

Multi-version storage and installation

The earlier worlds/ paths in this guide describe 1.20.4–1.21.11. On 26.x, the actual arena data lives at <main-world>/dimensions/deathswap/dsarena_<UUID>/ (26.1.1 alpha uses dimensions/minecraft/deathswap/), with keys deathswap:dsarena_<UUID>. Templates, ownership registry and other plugin data stay in plugins/DeathSwap/. Include both locations in backups. Only token-owned DeathSwap arena folders/dimensions may be restored or deleted; the primary level.dat and unrelated dimensions/builds are outside rollback.

Finish all matches and pending player recovery on the old server before changing Minecraft versions. Back up the full stopped server and plugin data. The target guard rejects a mismatched JAR, and server-version.properties blocks downgrades of upgraded data. Incompatible owned pool maps retire and regenerate under the local idle rule; config, kits, lobby/NPC records, statistics and economy ledgers are retained.

The published 26.1.1 Paper server is an alpha build with shared clock behavior. That profile inherits the existing clock/weather instead of resetting/freezing them, and arena beds cannot advance the shared clock. This exception protects the main world. Newer profiles use independent arena time/weather normally.

3.0 shared-world behavior

See MAP-POOL-GUIDE.md: size is 500 + 300 per player after two. Finished areas wait for an all-matches-finished reset window; no new assignments enter until full rollback completes. World renewal is weekly with a new seed. Normal swaps are 60–180 seconds (90%), short 30–59 (9%), rare 300 (1%), with a random 3–10-second warning included in each interval. Operators/admins retain commands and access.

Copy/reference files are under guides/settings-defaults and guides/settings-current. /ds admin exportsettings refreshes current copies; secrets are redacted. Back up shared-world.yml and actual owned world storage as well as plugin recovery data. Old 2.x world-pool fields are not the active shared controller’s rotation rules.

3.0.1 queue and preparation

The lobby queue countdown starts at 60 seconds by default once two players and their prepared spawn chunks are ready. Set countdown-seconds: 45 for a shorter queue. Preparation is completed before the countdown; /ds pool shows preparation progress. This setting does not change swap timing. See MAP-POOL-GUIDE.md for resource budgets and safe reset behavior.