ShottyDeathSwap
Death Swap with power picks. Everyone starts far apart in a fresh world. At a random moment every few minutes everyone swaps places with another player, so the trap you leave behind catches someone else. Every 45 seconds each player still in gets a choice of three powers. Three lives each; the last one with lives left wins.
- Server: Paper 26.3, Java 25.
- Recommended: ShottyEvents (runs it as an event and pays the winner), Multiverse-Inventories, Multiverse-Core.
A game
Section titled “A game”/deathswap startmakes the worldsdeathswap,deathswap_netheranddeathswap_the_endwith a new seed (the server pauses for a few seconds) and puts every player on their own spot round a circle (world.spread-radius, 1200 blocks from the middle), on safe ground.- A 5-second countdown, then the clocks start. A boss bar shows the next swap and the next power.
- Swaps come at a random moment between
swap.min-secondsandswap.max-seconds(3 to 6 minutes), with a warning a minute before and 5-4-3-2-1 on screen. Everyone is put in a random ring and takes the place of the next one, across dimensions too. Dying within 45 seconds of a swap counts as the trap of the player whose place you took. - Powers: a nether star “Pick a power” appears in the hotbar; right-click it, press Q on it, or type
/ds pick. A choice not taken before the next one comes is replaced. - Lives: losing one respawns you somewhere new in the world (keep-inventory off by default). At 0 you watch as a
spectator. Disconnecting gives you
rejoin-seconds(2 minutes) to come back. - The end: the last player in wins.
finish.win-commandsrun, then after 10 seconds every player typesfinish.player-commandand the worlds are deleted.
Portals in the game lead to the game’s own Nether and End. Give the three worlds one Multiverse-Inventories group of their own (shares all), so the game’s items never mix with the rest of the server and swaps between dimensions keep your inventory:
groups: deathswap: worlds: [deathswap, deathswap_nether, deathswap_the_end] shares: [all]Powers
Section titled “Powers”60 of them. /ds powers lists them with their weights; powers.<id>.enabled and powers.<id>.weight in config.yml
switch one off or make it more or less likely (weight 0: never offered).
- Gear (into your inventory): iron kit, diamond blade, netherite pickaxe, totem, ender pearls, clutch kit, lava, golden apples, enchanted golden apple, elytra, power bow, quick crossbow, TNT kit, portal kit, bed bombs, respawn anchor, cobwebs, pointed dripstone, powder snow, trap blocks, builder’s stack, steak, shield, and potions (fire resistance, slow falling, water breathing, invisibility, strength, regeneration).
- Swap twists: extra life, swap shield (sit out the next swap), swap now (10 s), fast clock (within 30 s), slow clock (+2 min), body double (trade places with a random player now), radar (everyone’s coordinates, glowing).
- Sabotage (a random other player, or all of them): Warden call, TNT drop, Nether trip, one-way ticket to the End, thunder strike, creeper surprise, phantoms, silverfish, levitation, launch, anvil rain, cobweb cage, junk mail (dirt in every empty slot), pickpocket, blackout, heavy hands, molasses, hunger pangs, butterfingers.
- Chaos (everyone): thunderstorm, rush hour, moon gravity, raining mobs, hotbar shuffle.
Commands
Section titled “Commands”/deathswap, alias /ds.
| Command | Who | What it does |
|---|---|---|
/deathswap join [instance], leave |
players | In or out of the next game (ShottyEvents types these for them). |
/deathswap pick |
players | Open your power choice. |
/deathswap status |
everyone | The game, the clocks, everyone’s lives. |
/deathswap start [instance] [force] |
staff, console | Start with everyone who joined. force starts with one player, to try powers (it only ends with stop). |
/deathswap stop [instance] |
staff, console | End now, no winner, everyone back. |
/deathswap swap |
staff | Swap now. |
/deathswap give <power> [player] |
staff | Use a power now (in a game you are in). |
/deathswap settings, set <setting> <value> |
staff | Show or change lives, pvp, hunger, keep-inventory, swap-min, swap-max, warning, show-timer, pick-every, pick-choices, spread, border, nether, end. |
/deathswap powers, reload |
staff | List the powers; reread config.yml. |
/deathswap worldtest |
staff | Make the worlds, find places to stand, and delete them again. |
Permissions: shottydeathswap.play (everyone) and shottydeathswap.admin (operators).
Configuration
Section titled “Configuration”| Key | Default | What it does |
|---|---|---|
scoreboard.title, scoreboard.footer |
“DEATH SWAP”, “” | The sidebar’s title, and a last line such as your server’s address (empty: none). |
lives |
3 | Deaths a player can take. |
pvp, hunger, keep-inventory |
true, true, false | |
min-players |
2 | |
rejoin-seconds |
120 | A player who disconnects is out if not back by then. |
start-countdown |
5 | |
swap.min-seconds, swap.max-seconds |
180, 360 | The next swap comes at a random moment between these. |
swap.warning-seconds, countdown-seconds, show-timer |
60, 5, true | |
swap.trap-credit-seconds |
45 | Dying this soon after a swap counts as the other player’s trap. |
picks.every-seconds, picks.choices |
45, 3 | How often a power is offered, and from how many (1–5). |
world.name, spread-radius, border-radius, nether, end |
deathswap, 1200, 3000, true, true |
|
finish.seconds |
10 | Time to celebrate before everyone goes back. |
finish.player-command |
event leave |
Typed by every player at the end. |
finish.win-commands |
event win {player} --players {players} --event deathswap |
Run by the console when someone wins. {player}, {uuid}, {players} (how many started). |
With ShottyEvents
Section titled “With ShottyEvents”events: deathswap: name: "<light_purple><bold>Death Swap</bold></light_purple>" description: "Swap places at random moments - pick a power every 45 seconds" min-players: 2 twists: [low-gravity, speed, random-items, double-drops, randomizer, rising-lava] worlds: [deathswap, deathswap_nether, deathswap_the_end] instances: true # a private lobby plays its own copy lobby: true rejoin: true # a player who drops out has a couple of minutes to come back join: commands: ["player: deathswap join {instance}"] leave: ["player: deathswap leave"] start: ["console: deathswap start {instance}"] stop: ["console: deathswap stop {instance}"] reset: []With instances: true a private lobby plays its own copy, in worlds named deathswap_p1, deathswap_p1_nether and
so on; add those to the inventory group too.
Without ShottyEvents, set finish.player-command to something that takes players home (or ""), and
finish.win-commands to your own reward, for example gamewin deathswap {player} 100 Death Swap with ShottyCore, or
your economy’s command.
Building
Section titled “Building”mvn -B package gives target/ShottyDeathSwap-<version>.jar (JDK 25, Paper API 26.3). The tests cover the swap ring
(nobody keeps their place, every place is taken once, one ring), the swap timing and the weighted picks.
Made by Shotty Games. Not an official Minecraft product; not approved by or associated with Mojang or Microsoft.