Skip to content

A datapack implementing the gamemode from Dream with some random stuff

License

Notifications You must be signed in to change notification settings

nfitzen/MinecraftManhunt

Repository files navigation

Minecraft Manhunt

Inspired by Dream's Minecraft Manhunt series on YouTube. Designed for Minecraft 1.16.2+. It's certainly poorly designed, but it's gratis and free, and we all like both don't we.

Usage

Quick start

  1. Run function #manhunt:setup.
    • This isn't required, but it'll freeze the game (daylight cycle, etc.) until everyone's ready.
  2. Run function #manhunt:begin to begin.
    • It'll randomly assign one person as being hunted and the rest to being hunters.

More advanced setup

  1. Run function #manhunt:setup.

    • Smack your friends around until everyone joins.
  2. Change settings as you see fit with data modify.

    • Run data get storage manhunt:settings to see all settings.
    • Make sure the worldborder size is more than double the spawnRadius gamerule!
  3. Assign teams with team join mmh.hunters <player> or team join mmh.hunted <player>.

    • The game will randomly assign a hunted player if the number of hunted players is less than 1 (or whatever mmh.mechanics.begin.team_assignment.hunted_size is) when the game begins.
  4. Make sure everyone is technically alive; some players might not be frozen properly if not.

  5. Run function #manhunt:begin to begin.

Trackers

Some features of the tracking compasses ("trackers") are:

  • Doesn't update when in different dimensions
    • Except if you're in the overworld and the target is in the Nether; then, it updates to the Nether Portal coordinates.
  • Updates every tick
  • Hold the compass to update (no right-clicking necessary)
  • Trackers blindly track the nearest hunted player.
  • Dropped trackers get deleted
    • This is to reduce clutter. Only hunters should have trackers.
  • Hunters get another tracker immediately every time they lose it
    • This also means that you might have 2 compasses in your inventory if you move it around. This is okay: just drop one of them and it'll be deleted.
    • The rationale is because people might place a compass in a chest.

Building from Source

Run ./build.sh to create a ZIP file in the releases folder. Works best on GNU/Linux.

I'll try to detect 7-Zip if on Windows later on, but for now the files to be zipped are in .build/files. You can upload that to GitHub releases or share it with friends or something idk.

Also, I sometimes post fixes to things in releases in master because I'm bad at programming and versioning; as such, you can also download this repo as a ZIP if you wish to use it personally; the build script just bundles AESTD. Make sure to also put AESTD in your datapacks folder.

Credits

Copyright

This datapack is licensed under the Expat/MIT License.

AESTD and Lantern Load are licensed under 0BSD.

See the dep5 file and/or individual files for more information on copyright and licensing (and a link to the source code, if using the built release). (You could also use the REUSE initiative's handy tool.)

URL to Source

If you're reading this in a pre-bundled ZIP, you can find the URL to the source code in the pack.mcmeta and dep5 files.

About

A datapack implementing the gamemode from Dream with some random stuff

Resources

License

Stars

Watchers

Forks

Packages

No packages published