Minecraft Data Packs / Challenge

Death Swap! (modern rules)

  • check_circle Functions
  • 10,548 views, 6 today
  • 1,935 downloads, 0 today
  • 12
  • 13
  • 12
Cray_On avatar Cray_On
Level 46 : Master Lemon
I know it already exist a ton of datapack recreation of the Death Swap Game but y create my own anyway as a challenge to myself and for fun more generally. So here it is :
Note : This is what I would call a "modern version". It follows the rules that you may see in more recent Minecraft videos on Youtube (we are all thinking about Dream here). If you are looking for the original rules set by SethBling in his map in 2013, I have created a second datapack that you can find on my profile too : "Death Swap (original rules)"

Death Swap ! (modern rules)
The classic pvp game by SethBling modernized !

Description :
Death swap is a two player survival pvp game with a twist : Every 3 minutes, the position of you and your opponent will be swapped.

Rules :

You can not fight your opponent directly, to win, you have to put yourself in a situation that could kill them after swapping (without dying yourself obviously) ! Think outside the box !

At the beginning of the game the two players will go their own way to get the ressources to survive and set traps.

The players will be warned by a 10 seconds countdown when the swap will happen and will have to prepare themself for a potential trap.

Instructions :

- Install the datapack on a new world of your server.

- To see the rules in-game, use the command "/trigger info".

- To launch the game, use the command "/function death_swap:launch_game".

- The game is designed for two players.
Though I made sure that even if there are more players on the server (wich is not recommended) only the two players closest from the source of the command (op player or command block) will be part of the game.

- The command "/function death_swap:uninstall" will remove all the parts of the datapack and will disable it automatically.

- In case you have been using the "original version" of the datapack, be sure to have it disabled when using this one.
If the two are installed at the same time, I think one will take over the other but be careful as I am not certain that they actually don't break.

That's it ! Have fun !

In orange : rules specific to this modern version.
Creditoriginal game by SethBling ; modern rules from Dream and Geogesnotfound ; playtested by WiroWik
CompatibilityMinecraft 1.13
toMinecraft 1.19

Create an account or sign in to comment.

06/28/2021 10:51 pm
Level 1 : New Miner
ClassyCatYT avatar
I put the command in and it didn't start, how do I start it?
06/29/2021 2:15 pm
Level 46 : Master Lemon
Cray_On avatar
I just saw your comment now so sorry for the delay
I just checked back the code to find what could cause the problem but I don't find anything.

Sorry if it sounds dumb but did you check if the datapack was properly enabled?
- Use the command "/datapack list"
- If it does not appear in the list, it is not properly installed in the datapack folder.
- If it does appear but in red, it has to be enabled with the command "/datapack enable NAMEOFTHEDATAPACK"

Let me know if it fixed fixed your issue (or not)!
05/20/2021 3:37 am
Level 1 : New Miner
tfb avatar
tysmmmm it’s awesomeee 😁
05/22/2021 6:52 pm
Level 46 : Master Lemon
Cray_On avatar
I'm glad you like it haha :)
04/20/2021 6:13 pm
Level 1 : New Miner
User3558624G avatar
I'm playing on a mine hut server with this friend of mine and I cant start it, once I press reload it says that this is inefficient and dangerous, any ideas on how to fix this?
04/22/2021 12:08 pm
Level 46 : Master Lemon
Cray_On avatar
You're saying it's a message from the server ?
I have never heard of Minehut before so I don't really know how it deals with datapacks or anything really. I can't help you sorry. If you find an answer, please tell me; I'd be glad to learn about it so I can help people with the same issue in the future!
03/29/2021 3:14 pm
Level 1 : New Miner
joaotrol18 avatar
it says i cant use the command /trigger info yet?
03/29/2021 4:32 pm
Level 46 : Master Lemon
Cray_On avatar
Oh woops, that's an oversight on my part.

Has the datapack been reloaded since you joined the game? (I'm asking this so I can know if the bug is happening for the reason I think it is.)

In any case, you should be able to use that command after you use "/reload" or, more directly, the command "/scoreboard players enable @a info".
Come back to me if you still have issues after that, I'll fix it :)
11/15/2020 7:06 pm
Level 28 : Expert Nerd
Extra Dice
Extra Dice avatar
Can you make the time between swaps longer?
12/02/2020 9:53 am
Level 46 : Master Lemon
Cray_On avatar
There was an error in the text : it was written the swap will occur every 30 seconds. It's actually 3 minutes (its an error due to the text copy from the "original version" to the "modern version")

I don't plan on editting the datapack but in case you want to adjust the (actual) delay between swaps you can make it manually in the folder of the datapack this way :
- Extract the datapack into a folder,
- Go in "data/death_swap/functions/game" and edit the "second.mcfunction" document,
- In there, go to the last line and change the value "180" to the time (in second) you want between each swap.
That's it! You can use this folder directly in the "datapacks" folder of your world.

Hope you will enjoy it better with your personaly edited delay! (Very sorry for the late response, I hope you didn't abandon the idea of playing the game in that time.)
Planet Minecraft


© 2010 - 2023