DropHeads
DropHeads
Let the head hunt begin!
Using high quality textures 85% supplied by Minecraft-Heads.com ❤️
Highlights
- Super configurable
- Heads as a loot drop, or with a command
- Huge variety (e.g., snow fox, lime sheep, zombified swamp farmer villager, …)
- Behead messages and translation support
- Regularly updated heads from the latest Minecraft snapshots
- Complete API for other developers to hook into
Configuration
Default values picked to fit well on most servers,
However, if you like getting into configuration, here's just a taste of what you can do:
- Adjust drop rates based on mob type
- Adjust drop rates based on ticks-lived
- Adjust drop rates based on what weapon is used
- Adjust drop rates based on spawn conditions (Breeding, Spawners, /summon, ...)
- Require using specific weapon(s) to get heads to drop
- Enabling charged creeper head drops
- Change any head textures, or add your own
- Optionally require killed by a player (configurable what counts as 'killed by a player')
- Opt-in automatic updates
- ...and more! Check out config files in the GitHub repository
Permissions
For an always update-to-date list, check here.
dropheads.canlosehead: Can drop a head upon death
dropheads.canbehead.<mob_type>: Can get heads from killing the given mob
dropheads.alwaysbehead.<mob_type>: Get heads for 100% of kills (unless canlosehead is false)
dropheads.silentbehead: Avoid triggering a global behead message in chat *
dropheads.canplacehead: Can place a head as a block
dropheads.clickinfo: Can see the name of a head by clicking it *
dropheads.spawn: Can get heads with a command *
dropheads.droprate: Can check head drop rates with a command
* = has sub-permissions
Troubleshooting / F.A.Q.
Q: Heads are not dropping!
A: There a many possible causes; here is a quick checklist of things you should try:
* Check if another plugin is causing the issue (compatibility)
* Check if you have the dropheads.canbehead permission
* Check head-drop-rates and spawn-cause-modifiers configs (e.g. spawn egg rates are nerfed!)
* Keep in mind the time-alive, weapon-used, and looting modifiers.
* If killing a player, check if they have the dropheads.canlosehead permission
* If you have modified your config files, check them carefully for other causes
Q: Does this plugin cause lag?
A: It shouldn't! I hear it is much faster than Xisumavoid's datapack :)
Q: Can I edit the head textures (i.e., to match a resource pack)?
A: Yes! Look in the head-textures.txt file
Q: Migrating from another heads plugin?
A: It should be an easy drag-n-drop replacement, but if you have any issues let me know!
Q: How do I install on Forge/Fabric/Singleplayer?
A: DropHeads currently only works on Bukkit and its forks (Spigot, etc); try the MMH-Nano datapack
Q: Where do I get help / report a bug?
A: You can post a comment below, create a bug report, or DM me :)
Q: Older versions of Minecraft?
A: Currently, DropHeads runs on 1.13+. You can find older DropHead jars for 1.12 in the Files tab, otherwise seek out a plugin with support for legacy versions, such as PlayerHeads.
Planned
- Fabric support
- Improve existing textures
- Tropical Fish heads (have the 22 common ones, still need the 3104 rare varieties ☹️)
- Horse variants (for the different patterns)
- Carpeted llamas
Please reach out if you find bugs or have a texture suggestions!
In reply to siulung201314:
Yes, I am working on them now, but I didn't generate them yet because skin artists were still finalizing a better version of the 1.19 mob heads
I'm using the plugin on 1.19 v3.7.4 and none of the commands work. I cant do /gethead or /droprate. Also the head-drop-rates.txt isn't adding the new 1.19 mobs. Confused :/
In reply to olivr_a:
The new droprates are in the default file (inside the plugin jar), to get it in your config folder you will need to either add them yourself or delete it (or move somewhere to backup) and let the plugin regenerate it with the new values.
As for the commands not working, I'm not sure :/
Perhaps if you have more info (maybe an error message) we can figure it out; very possible new update introduced some bugs
In reply to EvModder:
Restarted the server and they started working again thx
When is an updated version for 1.19 coming out?
In reply to fridge_guy1:
Should be out (15hr ago but I didn't see your comment until now)
It might have bugs, so if anything doesn't work please LMK
I can't find out how and where to type the drophead.canbehead command
In reply to fridge_guy1:
I think it's a bug in v3.7.3, so I've removed that jar, try using the older version and hopefully it should work
After updating to v3.7.3, the console always shows this message.
[INFO] [DropHeads] dropheads.canbehead.<type>=false: playername
Does it mean that the player cannot get heads by killing mobs?
Is it an issue in v3.7.3?
Those players have permission of dropheads.canbehead.
In reply to siulung201314:
Yes, this sounds like an issue in v3.7.3, I will try and fix it tonight and I'll remove the jar from Bukkit (sorry for the bad release!)
For some reason, head drops against other players are only applying if the person who killed the other player is an admin. I looked through the config files and I couldn't figure out why this was. is there anything I specifically need to change to get it to work for normal players?
In reply to spooky_the_spy:
Try looking at another player (as a normal player) and run /droprate, it can help debug what is affecting droprates. The two usual culprit permissions are "dropheads.alwaysbehead" (false by default) and "dropheads.canbehead" (true by default)
In reply to EvModder:
I enabled both of the permissions and dropheads.droprate on a non-op player. After doing /droprates it said my head drop rate would be 100%. but after he killed me he didn't get my head or be beheaded message in chat. I gave myself admin again and killed him and that time it did give me the head. do you know what other permissions I might need to enable to get the plug-in working
In reply to spooky_the_spy:
It looks like it was a bug in the v3.7.3 update (the sub-permissions of dropheads.canbehead, e.g. dropheads.canbehead.player, were not being given by default like they were supposed to). I uploaded v3.7.3.1 which fixes it; while waiting for the file to process you can temporary switch to the previous version of the plugin (in which it should work properly)
In reply to spooky_the_spy:
I think this was due to the bug in v3.7.3 where default players didn't always get the dropheads.canbehead permissions by default (seen in other comments), I recommend updating to v3.7.3.1 to see if it fixes it
Hi there! We have the plugin installed on our Spigot server and we have it set up to drop heads only with charged creepers like the vanilla mechanics. It works great except for one slight issue:
Charged creeper explodes due to being close to it and you don't die = mob head drops
Charged creeper explodes due to being close to it and you die = mob head drops
Light charged creeper with flint and steel and you don't die = mob head drops
Light charged creeper with flint and steel you die = mob head doesn't drop
Is there a way to fix it so that the mob head always drops when the player dies if the creeper explodes via flint and steel? Thanks!
In reply to beeperbeeper5:
That's really interesting! Not sure why it isn't working in that case, my suspicion is it's something with the code that checks if a player was responsible for the kill, but I'll do some digging and figure it out. I'll make sure to have it fixed in the next update (v3.7.4, coming soonish, along with finalized textures for the 1.19 mobs)
Edit: Another possible issue might be the charged creeper attempts to drop the player's head when it kills them with the explosion, but I'm just theorizing until I get home to my computer to test it
In reply to EvModder:
Thanks for looking into it! Yeah I had similar suspicions regarding the cause as well.
In reply to beeperbeeper5:
Sorry it's been a while since this reply - it seems like the charged creeper always drops 1 head from a random mob that it kills in its explosion - sometime I would die due to triggering it by proximity and it would randomly drop either my head or the cow's head (and same for flint and steel). I think this behavior makes sense, but if you want to make it only cause head drops for mobs (not players) there are some config options to potentially make that happen; if your issue was actually something else (like no heads dropping at all) please DM me the config setup to recreate it and I'll look into it :)
Hello! I am trying to use this plug-in but am having the issue where every mob kill results in a head drop. I want it to use the config percentages I have set and I am getting the error message
< You have 'dropheads.alwaysbehead' so drop rate is 100% >
Is there a command or config setting I can change to turn this off or to false so it will use the percentages, because I cannot seem to find it everywhere I have looked.