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 small_bohr2884559:
Currently the /droprate command only shows the rates (being able to edit them with the command is a planned feature for an upcoming update, likely v3.9.1 or v3.9.2)
To edit them, you will need to edit the file located here: <server_folder>/plugins/DropHeads/head-drop-rates.txt and change it to the drop chance that you want. It will require reloading the plugin (or reloading/restarting the server) after you change & save the file for it to take effect, similar to changing the config.
Hey! I was trying to set up a villager to be able to trade the heads from the plugin, But i havent figured out how to have the villager trade the same head from the plugin. Ive tryed using the command chain from minecrasft heads.com, but it does not register as the same head from the plugin. do you happen to have a list of /give command for the heads that I can use to change the code on my villager so he can trade the heads from the plugin?
In reply to genezen19:
Hi, the best way to get the exact NBT for the DropHeads heads is to toss it on the ground and then run this command (or a similar one in the server console if you want to be able to Ctrl-C copy):
This will spit out the NBT for the item entity; then just look for {...item:{<copy-NBT-here>}...}
If you want a bit more detailed help feel free to HMU in a DM here on Bukkit or on discord
Is it working for 1.20.2?
In reply to toastbrot031:
Yes :)
In reply to EvModder:
Not for me rn... Any ideas?
In reply to toastbrot031:
I think I found the issue, and I've gone ahead and fixed it with v3.8.3 - I've uploaded it to Bukkit, but it will also be available on the GitHub if you don't want to wait for it to process.
In reply to EvModder:
Still doesn't work :(
I don't know what i did wrong.. I changed Player drop chance to 1 (100%) but nothing drops
In reply to toastbrot031:
Hmm, my 1st suggestion is to check /droprate (you can do it with an argument specifying a mob/player, or while looking at a mob/player with your cursor, and it will give a breakdown of anything impacting the drop chance). Beyond that, there have been a few other DropHeads users reporting issues with Geyser/Floodgate for Bedrock cross-play servers, although I haven't been able to replicate it. If you're still stuck after trying that, feel free to DM me here on Bukkit or on Discord
Hey, checking in again to ask if the plugin's project to turned into a mod is still going to happen anytime in the future?
In reply to lokyycs:
Still planned, but no certain ETA.
I've did play around a bit with the Fabric API recently to try and learn the basics of it, but probably not going to attempt a fabric version of DropHeads anytime in the near future.
HOWEVER: you could try the mod "Cardboard" which says it adds support for plugins built on Bukkit/Spigot API. I haven't tried it yet myself but this could give a realistic way to have DropHeads as a singleplayer (or fabric server) mod: https://modrinth.com/mod/cardboard
In reply to EvModder:
Looked at that mod but it's not set up for 1.20+ yet (in my case 1.20.1), also couldn't find any other mods that could do the same thing as this one so I just resulted myself into creating a small server and using just this plugin in it, thankfully with no technical or performance issues.
Is there a way to customize the percentage that heads drop? i’m trying to figure out if it’s working or not on my server because i have killed a billion zombie pigs and no heads have dropped yet. i tried going over your checklist but “dropheads.can be head” isn’t a verified command on my server for some reason and i don’t have any other plugins so nothing is messing with it. Thanks!
In reply to livvyjed:
Drop percentage chances can be edited in the `head-drop-rates.txt` config file
"dropheads.canbehead" is a permission not a command - it should be true by default, so that's probably not the issue. There's also a config file which lets you adjust droprate based on the spawn conditions of mobs, e.g. mobs from spawneggs have a 0% chance in the default config, so that could potentially be your issue. Of course there's a lot of potential causes for why heads might not drop, my #1 go-to recommendation is to look at a zombie pig (hover cursor over it) and type "/droprate" - it will print out the drop chance and anything that is affecting it
In reply to EvModder:
Thank you!!
Hello. At the start I'll thank you for amazing plugin which I use for couple years.
Also, I have my first feature request here - players asks for ability to change existing heads for another model - for example they have much enderman/spider/etc. heads from grinders and change them to hamburgers (TheUnderground11 player head) or pepsi cans (Empty8enny player head). My idea is optainable by command special renaming anvil which will change player head owner... Or just a command - I'll restrict it to special cuboid where using that command will be allowed. That will unleash creative potential :)
In reply to Jacold_:
Heads for mobs (like endermen) don't actually use a head owner, it just links to a texture on the Minecraft servers (which is any current or former skin - 60% of the mob heads were all created used the same player account, but it doesn't matter since they don't store that).
E.g., bee head: http://textures.minecraft.net/texture/59ac16f296b461d05ea0785d477033e527358b4f30c266aa02f020157ffca736
Sorry that's just the technical details I thought you might be interested in.
To answer the question more specifically - yes there could certainly be a command which changes the texture URL in a head to a be a different texture URL, like
/changeowner <name of player whose skin to use, or just a URL>
However I think you could also do this with vanilla commands, specifically with "/data modify". I'm not super familiar with vanilla commands or command blocks but I have a general idea of how it might work in this case, so if you need help figuring it out feel free to DM on Bukkit (or on Discord: same username) and we can give it a go
Hi, amazing plugin but player heads are not dropping on cracked pls help cause we(my friends) all use cracked 4.99/5
In reply to Zacgamingpro1234:
Uhh I thought I responded to this but I guess it got deleted (Bukkit/Mojang staff do not want to support cracked players)? Or maybe the submit button didn't work? Idk.
Either way, basically what I said before is that player heads will always be Steve/Alex on cracked servers because there won't be access to the Mojang service/api for skins. It should still be dropping regular Steve heads though, if not (or if there is an error in the console) please DM me and we can try and work it out
I don't have a question or anything. I just wanted to say thanks for the work developing this plugin. It adds a lot of fun for the completionists/collectors!