- check_circle Functions
- 30,509 views, 7 today
- 4,769 downloads, 0 today
775
The well-known Death Swap game, but for 2 or more players!
For people who don't know the original Death Swap game by SethBling, let me explain:- The participants go their own way and start a normal survival game.
- Every now and then, the players swap positions. The players don't know when this will happen though, they might receive a warning shortly in advance.
- Each player tries to set up a trap that kills the other player after the swap. The element of surprise causes the other player to never be fully prepared for everything.
Features
- Randomly distributes all players across previous positions, which makes 2+ player swaps possible. The last player being swapped might end up on the same position when all others are taken.
- No extra "spectator" account needed like the original SethBling game does.
- Any player who dies during the game will instantly go into spectator. Use the number keys to teleport to other players.
- Only survival mode players will be playing. Players in creative can just spectate.
- A bunch of configurable options to customize the game.
- Spectators won't load chunks while the datapack is active.
- Health bars in tab list.
Installation & Configuration
Normally you just drop the .zip file in the datapacks folder and you're done, but with this datapack you're encouraged to unzip the folder. Make sure that the data folder of the datapack is two layers below the "datapacks" folder. In other words, make sure that this path exists:./minecraft/saves/<world folder>/datapacks/Mega Death Swap/data
Now you can go deeper and open the options function file at data/bertiecrafter/functions/mdswap/options.mcfunction. The file consists of a couple scoreboard commands with numbers at the end. Modify those numbers to change the behaviour of this datapack. Don't forget to do /reload after making changes.
You can change the following options:
- The minimum amount of delay (default: 30 seconds)
- The maximum amount of delay (default: 180 seconds / 3 minutes)
- The amount of seconds left before a warning showing up on screen (default: 5 seconds)
- The amount of invulnerability seconds after swapping (default: 0 seconds)
- The minimum amount of food points (0-20) that a player will always have (default: 8 points)
Controlling the game
After installing the datapack and running /reload, you can start the game!Keep in mind that only survival mode players will be playing.
Start by resetting all players and starting the game. When a single player wins, the game will be stopped automatically. You can start another game using the same commands below.
/function bertiecrafter:mdswap/admin/reset_players
/function bertiecrafter:mdswap/admin/start
Resetting the players will do the following:- Set time to 0
- Set all spectators back to survival
- Fully restore health and hunger of all survival players
- Clear inventories and advancements of all survival players
- Spread all players across a 10k x 10k area.
This might cause lag while generating new chunks, please wait a little before running the start command.
/function bertiecrafter:mdswap/admin/stop
/function bertiecrafter:mdswap/admin/start
You can fully stop and play the game by adding the reset_players function inbetween. Remember that the game will automatically stop when a player wins. This will leave all dead players in spectator until you run the reset_players function again.
Have fun! =)
Feel free to send me any links to videos using this datapack :D
Videos made by other people
Install Instructions
This is a datapack, it can easily be used in any world or server without any difficulties.
Simply drop the downloaded zip file in the "datapacks" folder of your world save (<world>/datapacks).
Then open your world and do
/reload
In case the datapack doesn't automatically get enabled, run:
/datapack enable "file/[datapack folder name].zip"
Simply drop the downloaded zip file in the "datapacks" folder of your world save (<world>/datapacks).
Then open your world and do
/reload
In case the datapack doesn't automatically get enabled, run:
/datapack enable "file/[datapack folder name].zip"
I encountered a bug! What do I do now?
I test all my creations, but bugs happen no matter how long you test something. Whenever someone experiences a bug, I do my best to fix the issue. You can help me by providing any useful information. You can never give me enough information, but please send it in a DM instead of placing it in the comments. You can still place a one-liner in the comments stating the issue to make the community aware, but that alone isn't enough to help me fix the issue.
- Checklist: Are you using the right version? Did you do /reload after dropping the datapack in? After /reload, does the datapack show up green in /datapack list?
- What is the issue? Does the datapack not seem to be working at all or is there a specific feature you are having issues with?
- What happened? Please give me all the steps needed to reproduce the issue. The faster I can experience it, the faster I can solve it.
- What did you expect to happen instead? This helps me understand your point of view and determine if the issue described is actually the issue I need to fix. The bug you are experiencing could just be a side effect of something else that doesn't behave as expected.
Credit | Testers: pettyGamingHD, Vellaris, kotuu, NerdyWillow |
Compatibility | Minecraft 1.15 |
Tags |
1 Update Logs
Guaranteed Swap! : by Bertiecrafter 04/24/2020 1:06:21 pmApr 24th, 2020
I'm excited to announce a guaranteed swap every time.
Previously it would just put each player into a certain position, preferably not their own. However, if the last player had nowhere to go, he would not swap. With this new version the last player will be force swapped with a random player if there are no other already free positions.
Previously it would just put each player into a certain position, preferably not their own. However, if the last player had nowhere to go, he would not swap. With this new version the last player will be force swapped with a random player if there are no other already free positions.
tools/tracking
4558522
119
mega-death-swap-gt-2-players
Create an account or sign in to comment.
After reloading, can you put "/function bertiecrafter:mdswap/" in chat and try to auto complete it to find the load and options functions? If you can't find those functions in the auto complete list, you either broke them during your edits (redownload if this is the case) or you're not on the right version and Minecraft doesn't recognize the commands.