Minecraft Data Packs / Mini-game

Survival Games Mini-game

  • check_circle Functions
  • 4,235 views, 4 today
  • 419 downloads, 0 today
  • 10
  • 8
  • 9
codefox_'s Avatar codefox_
Level 34 : Artisan Fox
7
I'm currently working on a complete overhaul for this datapack, making the setup easier and cleaner and giving you options for your match. Should be out some time in the future






I'm not really sure what this type of mini-game is called, so I went for Survival Games -


You and your friends start at the Spawn (usually at 0 0, but can be moved) - I've also made a datapack to quickly build a spawn via one command, more on this further down -, once you run the /function sgcore:startgame command the worldborder moves to a diameter of 1000 blocks and you get 60 seconds of spawn protection, after 45 minutes it moves to 500 blocks and after 15 more minutes closer and closer to the middle, giving everyone about an hour to prepare and gear up (unless they die prematurely of course).

The winner is the last man standing.



More information:

Infos on the pre-game/spawn
When you generate the world the border is centered around 0.5 0.5 and set to a 50 block diameter (if the area at 0 0 is unsuitable for a spawn, you can just center the worldborder somewhere else¹ and put the spawn there, the point of it being at 0 0 is just to simplify finding your way back). Before the game is started every player has mining fatigue/resistance/weakness so that they can't mine blocks/die/deal damage.

To easily get a spawn area you can download my datapack here (it's the spawn you can see in the screenshot).
To use it, just fly above the area you want your spawn (a 15 block radius around you has to be clear of blocks, flying up about 20 blocks should do) and run the command /function sgspawnbuilder:buildspawn.
I recommend installing worldedit and worldguard to protect the iron blocks and the beacon, so no one can get the blocks or block the beacon beam.

Once your spawn is ready, move your friends (and yourself) into the spawn boxes (one player/box of course) and run the command /function sgcore:startgame.


¹If you do not know how to move the border continue reading: Firstly you'll want to make it bigger so you can move, to do this run /worldborder set <Diameter in blocks>. Once you have found an area for you spawn check your coordinates and run /worldborder center <x> <y> <z>. Now you can shrink you worldborder again by running the command /worldborder set 51 - if it is centered around your spawn you've done everything correctly.






Infos on how the border behaves
*Note: There is an ingame timer and the exact times are all announced in the chat.

Once you start the game the border moves to a 1000 block diamater. The Blue bar at the top of your screen is a timer, when it turns yellow there are 5 minutes left to the next border, once it turns red there is 1 minute left to the next border. Overall the first timer takes 45 minutes, after it has finished the border moves to a diameter of 500 blocks over the duration of 90 seconds and the timer of the top of your screen is reset. After another 15 minutes the preparing phase ends and the border moves to a diamater of 100 blocks over the duration of 60 seconds. At this point people are so close they will probably start fighting. After another 2:30 minutes the border moves to 50 blocks over the duration of 30 seconds, and after another 1:30 minutes the game goes into Sudden Death - the border moves to a diameter of 10 blocks over 2 minutes







Additional Notes:
I highly recommend using this plugin:
https://www.spigotmc.org/resources/oldcombatmechanics-disable-1-9-hit-cooldown.19510/

It brings the old combat mechanics (which are a lot more suited for PvP in my opinion) to 1.9+


Updates:

Updated the pack to 1.18 (Still worked, the pack_format was just set accordingly)
CompatibilityMinecraft 1.13
toMinecraft 1.18
Tags

Create an account or sign in to comment.

1
08/08/2022 11:15 pm
Level 1 : New Miner
BothSides
BothSides's Avatar
Hello, sir, I like this datapack very much. I want to share it with the China Forum( www.mcbbs.net/ ), let more people know your data package. Of course, I will keep your link on planetminecraft to ensure that the datapack is downloaded on planetminecraft. The handling of the forum requires Mr. authorization. I hope Mr. will give me this opportunity.In addition, I hope the author can update it to be compatible with a higher version, such as 1.19.2, thank you very much.
2
08/10/2022 7:49 am
Level 34 : Artisan Fox
codefox_
codefox_'s Avatar
Sure go ahead. Also it should be compatible with 1.19, since not too much changed, I just haven't bothered updating the version number.
1
06/08/2021 6:07 pm
Level 1 : New Miner
GameRun
GameRun's Avatar
I'm sorry but, how does it work to put this on a server? Just uploading the map?
Would it be possible to use this system on other maps?
1
07/12/2021 7:46 pm
Level 34 : Artisan Fox
codefox_
codefox_'s Avatar
There is no map included, I linked another datapack of mine that generates the spawn in the description. When playing this with friends I simply generated a world, tp'd to 0 0 used /function sgspawnbuilder:buildspawn, put everyone in the starter thingys and started the game. (Well unless 0 0 is like an ocean or something, in that case I just generated a new world until 0 0 was suitable. Of course you can put the spawn anywhere, if you adjust the worldborder accordingly, but if it's at 0 0 it's very easy to find during the game.)



Sorry for the late reply, haven't checked here in a while
1
07/13/2021 10:18 am
Level 34 : Artisan Fox
codefox_
codefox_'s Avatar
Oh, and if you're still not sure on how to add it to a server: you simply download this datapack (and this one if you want the autogenerated spawn https://www.mediafire.com/file/7uozd6n7b8ra9k0/SGSpawnBuilder.zip/file), put both of them in the datapacks folder of you world, then put your spawn at 0 0, or anywhere else (but then you have to to /worldborder center <spawn coords>, because 0 0 is default), run the /function sgspawnbuilder:buildspawn command (if you installed that datapack, if you didn't you can build your own spawn), put everyone in their starter boxes and run /function sgcore:startgame
2
05/06/2021 1:55 am
Level 45 : Master Fox
iceNslice
iceNslice's Avatar
That's cool ! Why is everyone amazed of OP LOOTS datapacks ;( You deserve more than 150 view ^^
2
05/06/2021 4:11 am
Level 34 : Artisan Fox
codefox_
codefox_'s Avatar
Yeah, I just wrote this for use with my friends and thought I'd upload it since why not, when I came here I saw a lot of OP Loot stuff, what's the deal with that?
1
05/06/2021 9:14 am
Level 45 : Master Fox
iceNslice
iceNslice's Avatar
I think people saw a yt video and ... boom, free fame...
3
05/06/2021 1:45 am
Level 1 : New Miner
TheRealSab
TheRealSab's Avatar
This is very cool!!!!!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome