1

Manhunt Server

DiabIO 3/15/21 6:44 pm
150
4/3/2021 1:54 pm
So basically I wanted to add a manhunt server. The way it would work is; someone would be selected as the hunted, and everyone would be given a compass. The hunted is given time to prepare, and the hunters would be able to attack the hunted after the head-start. I wanted to make it so that whoever kills the hunted becomes the new hunted. I also want to make sure whoever is hunting keeps their compass even after death. I know how how to make a regular manhunt, (https://www.youtube.com/watch?v=bmxpPhPxrZU) but I don't know how to make it the way I mentioned. (Someone is selected to be hunted, and will be given a head-start. Whoever kills the hunted becomes the new hunted, and it keeps going.)
Posted by
DiabIO
Level 1 : New Miner
0

  Have something to say?

JoinSign in

5

Mensh123
03/29/2021 3:32 am
Level 4 : Apprentice Collective
Use a paper server. I'll try to write a plugin!
2
Mensh123
04/03/2021 1:54 pm
Level 4 : Apprentice Collective
The plugin is now uploaded!
https://www.planetminecraft.com/mod/infinitemanhunt-spigot-plugin/
This will finally solve your problem. If someone killes himself he will respawn at span, not next to the hunted player / the lastest location of the hunted player.
1
Mensh123
04/02/2021 6:08 am
Level 4 : Apprentice Collective
UPDATE:
I wrote a first version of the game. If everything works fine everybody should get a compass. These compasses are enchanted with Curse Of Binding and Curse Of Vanishing but if you die the plugin will give you a new one. If a player with the permission "manhunt.start" starts the game ther's a 100 ticks = 5 seconds long freezing time. PVP automaticly becomed disabled while this time passes. While the game runs the compass target is updated every two ticks. This means the compass shows very smoothly to the hunted Player.
If the hunted player was killed by antoher player the player who killed him becomes the new hunted and the killed player returns back to spawn / his spawnpoint. If however the hunted player dies for some other reason (lava, Iron Golem, zombie, ...) or simply leaves the server the game ends. This means no one is hunted and all compasses are removed and the compass target is no longer updated.
One last thing: The default gamemode is set to "spectator" during the game and set to "survival" after the game. The people in Specrator Mode stay in Spectator Mode after the game has finished.
I'm not going to publish the blugin until I haven't tested the plugin for stability, functionality and bugs with a friend on my test server.
I hope you understand this.
Have a nice Day!
1
Mensh123
04/03/2021 3:24 am
Level 4 : Apprentice Collective
I completely forgot that I can't enchant a compass with Cusre of Binding. For now you can drop your compass, put it in chests or make a map and you'll get a new one. The plugin can't remove these easily because if I wanted to do so I ned to check every single entity and every single chest for compasses. Compasses could also be used for trading.
The first release will have these issues but I'm going to fix this later.
Note: doing it like the guy in the video would cause these problems as well.
1
Mensh123
03/29/2021 3:44 am
Level 4 : Apprentice Collective
1) Does the huntent have a compass?
2) Does the compass show the hunted player? Or does it point to the spawn point?
3) Can a Compass be dropped?
4) Any extra wishes?
1

Welcome