ericyoondotcom / MinecraftManhunt

Minecraft Bukkit plugin to run Manhunt minigames, with Discord music integration
GNU General Public License v3.0
27 stars 7 forks source link

Only show compass menu if clicked by current player #10

Closed ericyoondotcom closed 3 years ago

ericyoondotcom commented 3 years ago

I have the game running in it's own separate world. In order to take the plugin out I have to shut down the server. So that means that in order to run your plugin my server has to be dedicated to manhunt because the compass prompts you for the player name you want to track.. even when there is no hunt active. So that was the basis of my question. Is there a way to blacklist worlds where the plugin will not function OR is there a possibility of the compass returning to normal when you are not in a Hunt.. making it so that ONLY the players that are currently involved in a hunt, so that ONLY their compasses behave as you have programmed them to be used during a hunt. NOT during normal play.

TacoGerbil on Spigot forums


The best option seems to be to only show the compass menu to those who are playing (INCLUDING spectators). Make sure the /clearteams command actually clears the team arrays too.

ericyoondotcom commented 3 years ago

Resolved in version 1.2.4 (e33f9b17acb0769c7b1ab0185e5463c5f5e34a01).