Minecraft Data Packs / Mini-game

Dragon Egg Hunt: mini-game for multiplayer

  • check_circle Advancements
  • check_circle Functions
  • 2,503 views, 2 today
  • 85 downloads, 0 today
  • 10
  • 8
  • 1
Exandreal's Avatar Exandreal
Level 46 : Master Explorer
65
This datapack was inspired by TEGG from Hermitcraft season 8. The way it works is very similar:

When you place the dragon egg hidden somewhere in your base, a message will tell the other players who hid it, and they can start searching your base. Until the egg is found/picked up by another player, you will earn 1 point each second for every other player online. The first player to reach a chosen score (or the player with most points after a chosen amount of time) wins the game!

To show the current scores of all players, run the command '/trigger eggHunt.displayScore'. No admin privileges are needed. To remove the sidebar scores again, run '/trigger eggHunt.clearSidebar'.



Recommended additional rules:

The specific rules you choose can vary after your own taste, but this is how I have played the game.

- The egg has to be placed somewhere accessible for everyone without placing or destroying blocks

- Use of buttons/piston doors/parkour/puzzles etc. is allowed, as long as the first rule holds

- Searching for the egg must be done without destroying blocks (unless necessary to break the egg)

- The first player to 20.000 points wins! (for larger servers, maybe increase this goal)



Options for improvements:

Since the game cannot find players that are offline, by default the score will only increase if the egg-keeper is online. There is an option to fix this, but it requires you to manually write down the usernames of every player participating:

Show guide
- Locate 'data/egg_hunt/functions/options' inside the .zip datapack file and open it with a text editor (Notepad e.g)

- Put a '#' in front of the line below OPTION 1, to disable the default

- Remove '#' from the code below OPTION 2, to enable the improvement

- In the first line 'MyUsername' will occur two times. Replace them both by your own username

- Do the same for the other lines, but with the usernames of your friends. Copy in more or remove lines if needed

- Save the options.MCFUNCTION file (You may have to save it outside the .zip file first, and then copy it in)

- Restart the server, egg-keeper should now recieve points offline as well as online!




Installation:

- Download the .zip file and place it inside the datapacks folder in your world save.

- Potentially improve the mini-game by following the guide above?
CompatibilityMinecraft 1.16
toMinecraft 1.18
Tags

Create an account or sign in to comment.

1
04/17/2022 5:21 pm
Level 26 : Expert Warrior
NuggetBoy64
NuggetBoy64's Avatar
hazah! im the first to comment. the pack is awesome btw, keep doing what ur doin!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome