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:
/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
"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.
/function minipurge:reset
/function minipurge:pause
/function minipurge:unpause
Pause and unpause will only work if function-permission-level = 4 or higher.

Game mode in which players compete within an ever-shrinking area, gathering resources and eliminating one another until only one remains standing.