Описание
This datapack implements a simple manhunt game. It is compatible with realms due to the fact that it is a datapack. But it is also available bundled as a mod.
### Installation
**If you get a message saying the pack is not supported in lower versions I have marked it as working in, ignore this as it will still work**
**Datapack installation:**
1. Locate the datapack folder for the specific world
2. Drag the Manhunt.zip file into the datapack folder
3. Enable the datapack with /datapack enable "file/Manhunt.zip"
**Mod installation:**
1. Follow the instructions on how to install your prefered modloader (be it Forge, Fabric, NeoForge or Quilt)
2. Drag the downloaded .jar file into (on windows) %appdata%\.minecraft\mods
3. Launch the world and start playing
### Playing
Hunters are added with:
```
/team join hunters player_name
```
And runners with:
```
/team join runners player_name
```
The game is started with:
```
/function manhunt:start_game
```
You can pause the game if you want to leave without having to restart and clear your inventory with:
```
/function manhunt:pause_game
```
And then resume the game with:
```
/function manhunt:resume_game
```
### Configuration
The start delay can be changed from the default of 45 to whatever you like with:
```
/scoreboard players set Temp manhunt_lead 60
```
The minumum tracking distance (within this distance from the runners the compass goes crazy)
Can be removed (done by default) with:
```
/scoreboard players reset Temp manhunt_min_dst
```
And set to your desired distance with:
**If you want a distance of 20 you will use the value 20 * 20 = 400**
```
/scoreboard players set Temp manhunt_min_dst 400
```
The scoreboard can be removed with:
```
/scoreboard objectives setdisplay sidebar
```
**Please report any problems on github or on my discord server.**