When a player right clicks another player with a pumpkin, it removes one pumpkin from their inventory and puts that pumpkin on the player's head that was right clicked and blinds the person for specific amount of time that can be set in the config and plays a sound that can also be set in the config to the player that was right clicked. Commands: /hh reload - reloads the plugin Permissions: hh.admin - permission for reload plugin
I'm not sure how far along you guys are, @MrGriefer_ and @Axe_Villager, but I did this as-well. I guess he/she can decide which one to pick? Duration and sound can be changed in the config, only permissions to reload is hh.admin as you said. Reload works, as does the blindness and pumpkin. I also added a name to the pumpkin which you can change in the config as-well (@adi0115) https://www.dropbox.com/s/935v5d9k5go9cga/HalloweenHeads.jar?dl=0
Finished your plugin, here you go: Download You can edit the messages, sound, pumpkin name and lore, and potion effect all in config file! hh.admin for /hh reload like you said. You could also use /halloweenhead instead of /hh You welcome
Thanks both of you for making it @MrGriefer_ I have forgot one small detail, that people can spam this at spawn, could you maybe add /hh pos1 & /hh pos2 and inside that cuboid, you can't place the pumpkin on peoples head? and also add a cooldown? Thanks E: I also just noticed that if a player already has a pumpkin on, it dosen't take a pumpkin away from the player's inventory.
I will see if I have time to add cuboids. I tested the plugin and it does take a pumpkin every time a player clicks on another player.
When a player takes the pumpkin off their head with the custom name & lore and tries to place it on a player, it dosen't take it away.