Make a plugin that adds a Battle Royale system. How it works is it randomly preloads a certain territory in the world (2000 block radius by default, but configurable) and then spawns players in a spectator mode within that territory. The territory chosen is surrounded with a world barrier. When the battle royale begins, the players are randomly spawned on the surface of the chosen territory and are then turned into spectators. While in spectator mode, they can look around the territory or check the underground caves. They have some time to pick a position of spawn (by default the time is 30 seconds, but it can be configured). When the timer runs out, the players are switched from spectator mode to survival mode. Then, the world border will start shrinking until it reaches the minimum radius (by default the minimum radius is 100 blocks, but it can be configured). The time of the battle royale defines the time that the world border will reach the minimum radius by (by default the time is 30 minutes, but it can be configured). The world border also shrinks in the nether and in the end dimensions. In the nether the border is ~8 times smaller due to the distance comparisons of both overwolrd and the nether. When the battle royale started, after a certain period of time, the players will get a glowing effect for 15 seconds, that will reveal their position (by default the time period is 10 minutes, but it can be configured). When a player dies, he drops a player head of himself. If the head is placed on the ground together with an enchanted golden apple or a totem of undying, the player gets respawned with a sound and a visual effect. The battle royale's world size, the time remaining before the worldborder reaches its minimum radius and the speed of the border shrinking is displayed in an action bar (the text above the player's inventory). The command aliases are /battleroyale or /br
Should I create a new Minecraft plugin project for this, or is it for an existing project? If it’s existing, please add it to this workspace.
It's a new project. Make a plugin that adds a Battle Royale system. How it works is it randomly preloads a certain territory in the world (2000 block radius by default, but configurable) and then spawns players in a spectator mode within that territory. The territory chosen is surrounded with a world barrier. When the battle royale begins, the players are randomly spawned on the surface of the chosen territory and are then turned into spectators. While in spectator mode, they can look around the territory or check the underground caves. They have some time to pick a position of spawn (by default the time is 30 seconds, but it can be configured). When the timer runs out, the players are switched from spectator mode to survival mode. Then, the world border will start shrinking until it reaches the minimum radius (by default the minimum radius is 100 blocks, but it can be configured). The time of the battle royale defines the time that the world border will reach the minimum radius by (by default the time is 30 minutes, but it can be configured). The world border also shrinks in the nether and in the end dimensions. In the nether the border is ~8 times smaller due to the distance comparisons of both overwolrd and the nether. When the battle royale started, after a certain period of time, the players will get a glowing effect for 15 seconds, that will reveal their position (by default the time period is 10 minutes, but it can be configured). When a player dies, he drops a player head of himself. If the head is placed on the ground together with an enchanted golden apple or a totem of undying, the player gets respawned with a sound and a visual effect. The battle royale's world size, the time remaining before the worldborder reaches its minimum radius and the speed of the border shrinking is displayed in an action bar (the text above the player's inventory). The command aliases are /battleroyale or /br
I’ve started the Battle Royale plugin, including configurable borders and timers, spectator selection, revival mechanics, and the /br command.
I’ll build the match lifecycle, batched territory preparation, border and player-state restoration, and head-based revival, then document the commands and caveats.Created the Battle Royale plugin with lobby commands, batched territory preparation, shrinking borders, glowing reveals, revival heads, and restoration handling.
See README.md for configuration and caveats, including offline restoration and chunk-generation costs.
The Battle Royale plugin is complete, and the build succeeded. Use /br or /battleroyale; see the README for commands, configuration, revival instructions, and caveats.
No files in this session