Minecraft Data Packs / Mini-game

Simple Death Swap

  • check_circle Functions
  • 114,979 views, 27 today
  • 20,246 downloads, 9 today
  • 81
  • 83
  • 69
ScriptFox avatar ScriptFox
Level 52 : Grandmaster Modder
Death Swap data pack

step 1 - Setup the Datapack:

Download the zip file, and extract it into your Minecraft world's datapack folder.
For a more detailed explanation visit this website Here.

step 2 - Setup the commands:

(Note: All players must have cheats enabled)

Go inside your Minecraft world, go into creative mode, and place down a command block. inside the command block type "function ds:timer". Make sure to have the command block be repeating, unconditional, and needs redstone. Place a lever on the command block.

Once you have two players in your world run "/reload" command

If you have an odd number of players playing run the command "/function ds:odd"

Set all players to survival mode

Flick the lever on the command block and start playing!

Step 3 - Play the game:

Teleport or run away from your opponents, and play the game like survival.

Every 5 minutes you will swap positions with one of your opponents.

try to kill your opponents by getting into sticky situations right before you swap places.

You are not allowed to make direct contact with your opponents, meaning you can only do damage by swapping places.


When installing the pack into the world. Make sure that the folder contains a folder called data and a file called pack. If the folder only has a folder called death swap in it, put that folder into the data pack folder, and delete the other one

This data pack works best with LAN worlds, but should work on multiplayer servers if you follow the instructions on the linked website in step 1.

There is a maximum amount of six players playing at a time.

The order your run the commands matters. First, put the command in the command block, and invite the players. The next step is to run the "/Reload" command. Finally do "/function ds:odd" if you are playing with 3 or 5 players.
CreditSethbling for original idea. Heavily inspired by Dream.
CompatibilityMinecraft 1.13
toMinecraft 1.18

3 Update Logs

Multiplayer Update : by ScriptFox 04/18/2020 12:05:18 pmApr 18th, 2020

Added support for 2 - 6 players at once. Made the /reload command output nicer.

Create an account or sign in to comment.

08/22/2021 1:28 pm
Level 1 : New Miner
avi_spencer avatar
So the command is not working like function ds:timer in the command block can you please help
01/08/2021 11:32 am
Level 1 : New Miner
coolkidcrafter avatar
ok the download button has to be virus its just really sus when I get to the end I have to install a chrome extension???? is this for everyone? Im not comfortable installing a random thing that gets access to my browser.
01/08/2021 5:37 pmhistory
Level 52 : Grandmaster Modder
ScriptFox avatar
I was trying to see if I could monetize the data pack somehow. If you just press the skip button after 5 seconds on the download link and not click on anything else it should be fine. Here is a safer direct link to the download. Just press the blue download button on that website. I apologize if anything bad happened to your computer.
11/11/2020 10:13 am
Level 1 : New Miner
GDuckMC avatar
ditmehayvailon cam on ban nhieu lam. Toi se dung datapack nay de thong lo dit cua Dream
10/04/2020 6:11 pm
Level 1 : New Miner
Axtenz avatar
In 1.14.4 there are no command blocks so how do i do it?
10/09/2020 7:08 pm
Level 1 : New Miner
himatthew avatar
You can only get repeating command block by using /give repeating_command_block for 1.13 - 1.16
For 1.9 - 1.12 use /give 210 1
09/12/2020 4:34 pm
Level 1 : New Miner
looomad avatar
I played this for HOURS with my friend. Thanks so much for this fantastic game.
especially since the set up is so easy.
09/12/2020 4:36 pmhistory
Level 52 : Grandmaster Modder
ScriptFox avatar
Thanks for the feedback:D
07/08/2020 1:11 am
Level 1 : New Miner
YouSpottedAPig avatar
Hey, the death swap works amazing with me and my friend, but what happens when more than 2 people participate? because whoever died was still getting teleported, so if the person hosting the server dies, they can't leave so they'll just get teleported in the next swap
07/20/2020 7:25 pm
Level 1 : New Miner
User3153181G avatar
hey how did you install it? when i pull the lever of the command block it doesn't do anything...
Planet Minecraft


© 2010 - 2022