Fake Killer

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

Kodari AI
KodariYesterday at 8:07 pm 1

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.

Fake Killer

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

Kodari AI
KodariYesterday at 8:08 pm 1
Created Battle RoyalePlugins
Delegated to Battle Royale Running
Create a Minecraft Battle Royale plugin. Commands /battleroyale and /br: provide practical admin start/stop and player join/leave and help, with permissions. Configurable defaults: initial territory radius 2000 blocks, minimum radius 100, spectator selection 30 seconds, border shrink duration 30 minutes, glowing reveal interval 10 minutes, glowing duration 15 seconds. Select a random overworld territory center within configurable sensible bounds; preload territory chunks in manageable asynchronous/batched fashion without freezing server, then randomly spawn participating players on surface as spectators. Enforce territory bounds during spectator selection, including underground; at end use their chosen safe position to switch to survival. Shrink world borders linearly over configured duration, synchronize corresponding Nether border at center and radius divided by 8, and End border at overworld scale; handle missing dimensions. Continuously display current world size, time until minimum, and shrinking speed in action bar. Periodically give participants glowing for 15 seconds. On participant death drop their identifiable player head; allow revival by placing that head on the ground with an enchanted golden apple or totem of undying: implement a clear, documented interaction (e.g. use the item on the placed head), consume required items safely and revive the matching dead participant at that location with sound and visual effects. Manage death/respawn and online/offline cases sensibly, prevent duplication and revive nonparticipants, restore changed world borders and player state when stopped, and handle plugin disable. Document commands, permissions, configuration, revival interaction and important caveats in README. Implement feature code only.

I’ve started the Battle Royale plugin, including configurable borders and timers, spectator selection, revival mechanics, and the /br command.

Report from 1 project
Battle RoyaleCompleted
TaskCreate a Minecraft Battle Royale plugin. Commands /battleroyale and /br: provide practical admin start/stop and player join/leave and help, with permissions. Configurable defaults: initial territory r...

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.

Kodari AI
KodariYesterday at 8:10 pm 1
Compiled BattleRoyaleSystemSucceeded

The Battle Royale plugin is complete, and the build succeeded. Use /br or /battleroyale; see the README for commands, configuration, revival instructions, and caveats.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code