Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
Platforms
Details
Battle Royale
Ultra light datapack that allows you to set up a multiplayer Battle Royale / Purge / Hunger Games / Fortnite Style on your server/lan with one command.
There are three stages of the event:
- Peace: Collect resources, PVP is disabled.
- War: PVP is enabled.
- Shrink: Border shrinks down to spawn and forces all players to fight it out.
Set up
- Put this datapack in the datapacks folder of your server world. (Recommend using a world you don't mind trashing)
- Teleport to a random unexplored area.
- Run the command:
/function minipurge:start { lives:<value>, border:<value>, peace:<value>, war:<value>, shrink:<value> }
(!) This command will teleport all players and clear their inventories!
Where each <value> can be set to your liking! This allows for:
"lives" is the number of lives a player has before going into spectator.
"border" is the size of the starting border.
"peace" is the length of no pvp in minutes.
"war" is the length of enabled pvp in minutes.
"shrink" is the amount of time it takes for the border to shrink to 10 blocks in minutes.
Other useful commands:
/function minipurge:reset
/function minipurge:pause
/function minipurge:unpause
Pause and unpause will only work if function-permission-level = 4 or higher.