Minecraft Data Packs / Mini-game

Battle Arena: Start a 'Battle Royale' PVP Minigame anywhere.

  • check_circle Functions
  • 2,889 views, 2 today
  • 241 downloads, 0 today
  • 15
  • 13
  • 2
camocat9's Avatar camocat9
Level 39 : Artisan Llama
40
Version 1.1.2


Battle Arena is a datapack for 2+ players that makes it possible to start a battle-royale-esque PVP minigame in any location with a singular command. When a game is started, it will give all players in the server a starter kit, and teleport them to a section in the predefined map space. From this point onward, they will have one minute of damage immunity in order to gather loot from the chests spread through the map space, or gather resources from the world around them.


Throughout the entire minigame, a worldborder will be closing in over the course of 6.5 minutes on the smallest map setting, or 10 minutes on the largest map setting. Any players caught outside this border will begin taking heavy damage, therefore forcing players closer together as the game continues until all but one player is dead, or the border stops moving at 2x2 blocks. The goal is to be the last player standing.


Features:

- Easy to use: Create and clean up new arenas with only a single command.

- Battle anywhere: Simply select a portion of a Minecraft world and run the command to start the game! Chests and players will be spread automatically.

- Customize the size of the arena from 150x150, 200x200, 250x250, or 300x300 blocks large.

- Customize the number of chests that spawn in the area from 0, 10, 20, 30, or 40.

- Players spawn randomly within the set arena space.

- Chests spawn randomly within the set arena space, using end city loot tables to spawn materials, weapons, armor, and tools to be used.

- An anvil spawns within the center of the map in order to combine gear to create more powerful pieces.

- The arena automatically grows smaller as a game goes on.


How to Use:

When you get into the game, start by typing /reload.

This datapack allows players to easily create a battle arena using only one command. In order to select the specifics of the arena you want to have, refer to the following numbers and combine them in a command such as /function battle:200b20c. The first number determines the size of the arena, while the second number determines the amount of chests. These settings in particular would make the map 200x200 blocks, with 20 chests within it. The following settings are those that are available in the datapack. Combine any two of these and the game will start.


Arena Sizes: 150b, 200b, 250b, 300b.

Arena Chests: 0c, 10c, 20c, 30c, 40c.


Once a battle is over, or if you want to push the worldborder away to search for where you want the next arena to be, use the command /function battle:reset to push away the border, set all players to creative mode, and regenerate health and hunger.


Important Notices:

- Plugins such as Spigot, Paper, or Bukkit may cause portions of the datapack to not function, so I would suggest use on a fully vanilla server.

- This datapack can be destructive and clears players' inventories alongside spawning high-tier loot. I would suggest using an entirely new world to run this datapack on to prevent issues with longer-running creative/survival servers.

- When starting the game, players must ensure that the entire arena space is within their render/simulation distance for chests to spread properly. A render/simulation distance of 12 allows the largest arena size to function properly.

- These starter kits include TNT, and chests that randomly spawn around the map or damage players do to the area do not disappear after the arena is reset. You will have to use a new location for each game unless you want to come across the destruction and looted chests of your previous one- the easiest way to go about this is to use a default Minecraft world and travel to different locations each round.

- The game does not automatically end when there is only one player alive to allow for more freedom in using this system. Once a player is the last one alive, they can be declared the winner and the next game can start with the /function battle:reset command.

- Spaces that are made out of a majority of water will not allow chests to spread properly due to limitations in the /spreadplayers command. Water can be present in a map, though issues may be caused if it makes up more than 1/2 of it.

- This datapack uses the worldborder to push players closer together. If you are using the worldborder on a server, it will be displaced.

- Chests will spawn at the highest possible point in a map. This means that chests and players would not be spread properly in the nether, and it is impossible for chests to spawn underground, under trees, or underwater in the overworld.
CreditAdditional questions were answered by the MinecraftCommands discord server. Similarly, thanks to DiamondGuy 36 on Youtube for initially teaching me how to randomly spawn chests with loot in them.
CompatibilityMinecraft 1.16
toMinecraft 1.19
Tags

2 Update Logs

Fixed Link : by camocat9 08/15/2022 8:44:37 amAug 15th, 2022

Because the Planet Minecraft uploader is terrible, the link to this datapack was broken. It should be fixed now and actually download the PROPER datapack.
LOAD MORE LOGS

Create an account or sign in to comment.

1
08/15/2022 8:46 am
Level 39 : Artisan Llama
camocat9
camocat9's Avatar
User4237805G It should be fixed now! Thank you for bringing this to my attention- Planet Minecraft's uploader is terrible, and I originally had the PVP datapack uploaded here, but somehow it got confused with one of my other projects.
2
08/14/2022 7:11 am
Level 1 : New Miner
User4237805G
User4237805G's Avatar
There is a probleme. If i download the datapack its not the correct datapack. That means id i want to download the pvp datapack it is downloading the relic hunting datapack.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome