Death Swap
Game Description
Presenting my own implementation of the popular Death Swap minigame, originally created by SethBling and made famous by dream! In this thrilling game, participants swap positions every 5 minutes, and the main objective is to use this mechanic to eliminate opponents using environmental hazards. For example, you can plan to jump into lava right before the position exchange. The game's unique feature is that the warning about an upcoming location change appears only 5 seconds in advance, so you need to act lightning fast!
Installation and Setup
To begin, create a new world and place the zip file in the datapacks folder located at:
world/datapacks
Alternative option - install the mod in the mods folder on the server.
After that, execute the /reload command and run /function deathswap:start to begin the game. Before starting, you can also configure parameters via the /function deathswap:config command. Available settings with their default values:
Configurable Parameters
| Parameter | Default Value | Description |
|---|---|---|
| Infinite water buckets | enabled(1) | Whether to give players unlimited water buckets |
| Permanent fire resistance | disabled(0) | Whether to grant players permanent fire protection |
| Maximum deaths | 5 | Number of deaths before player elimination and transition to spectator mode |
| Allow Nether | disabled(0) | Allow access to the Nether dimension |
Additional Information
- The datapack supports 2 to 8 players
- The 5-minute timer is currently not configurable through the configuration menu, but it can be changed in line 70 of the game/swap.mcfunction file and line 11 of the swap.mcfunction file. This will also require editing lines 12-16 in start.mcfunction and lines 71-76 in game/swap.mcfunction to properly synchronize the timer with the changes made