DropHeads
DropHeads
Let the head hunt begin!
Using quality heads 99% supplied by Minecraft-Heads.com & Nano Team ❤️
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 calm_dog_stu:
yes lol
I'm having an issue where a message doesn't show when someone gets a head. I tried to change the config from 'LOCAL' to 'GLOBAL' for default, and even extended the local message distance but nothing is working. It's weird because it worked for the first head someone got on the server, but it hasn't been working for the last 5-7ish and I've tried fixing the config between each one. Is there anything I'm missing?
In reply to crynofrost:
Hmm, I'm not sure, there's a lot of potential things to try, probably first would be resetting the config files (by deleting and restarting).
It's technically possible it could be caused by another plugin with compatibility issues, although I've never had anyone report that before, but one thing you could try is running it on a test server without other plugins, or incrementally try disabling/enabling plugins to see if any one in particular is editing or hiding the messages, although again I don't think this is too likely. If you still can't figure out the issue (or if it turns out there is a compatibility issue with another plugin) feel free to DM me here or on Discord with your config & plugin list and I can try and take a look at it as well when I get a chance.
Hey,
EvModder can you update the file with sniffer and camel heads pls.
Thanks already
In reply to bimmalordtv:
They are already in the update, but you might need to do 2 things to get them:
1. make sure to update DropHeads jar to the latest version
2. delete /plugins/DropHeads/head-texture.txt file and let the plugin generate a fresh one (or you can add them manually, by copying from here)
In reply to EvModder
Thnx, now it is good but i saw on the txt file head-drop-rates that does animals not added yet.
In reply to bimmalordtv:
Ah, thanks for letting me know I'll pick some nice values for the default file and have it in the next version. Anyone who wants to get them now can add them to the drop chance file manually.
Hey, Quick question, Couldnt find help anywhere else, Im trying to display the killer's name and weapon when right-clicking a player's head, but cannot find a way to do so. Or if there is a way to display that info in the lore of the head would be even better, Thanks a ton for your time.
In reply to gravyisasauce:
There isn’t a way to do this currently, but it’s an interesting suggestion; I’ll look into adding a future setting for storing different data in lore tags, although might do it as an extension.
Hello! First I just want to thank you for all the work you've put into this plugin, it's much appreciated.
I was just wondering how one would make it so alternate states of heads (e.g. Armored Wither, Invulnerable Wither, Armored Invulnerable Wither, etc.) also have a chance of dropping from the specific mob. Is it as simple as adding, for example, WITHER|ARMORED, into head-drop-rates.txt, or is there some simpler way of enabling this, or is this just not possible at this current moment in time?
Also, is it possible to enable the custom Dragon Head to spawn when the Dragon is beheaded while not messing with Vanilla Wither Skeleton skulls?
Thank you for your time.
In reply to xmjgold:
Unfortunately there isn't a way to get the Armored Wither head at the moment, I was trying to think of a creative way to determine which of the two is dropped --- so with the Ghast, it has two heads based on whether its mouth is open or not when you kill it; similar with Vex, since their face changes when they go into a charge-attack animation, but for wither it always enters armored state when low health, so if I just use "wither.isArmored()" to control which head it drops, then the regular head would be unobtainable, and I haven't brainstormed a satisfying enough alternative way to get it (open to ideas of course).
Your other question confuses me a bit; I think the default drop rates already have 5% chance to drop a dragon head when it is killed, but this can be turned off (or turned up), and it is completely separate from wither skeletons. Not sure if that is what you were asking for, but can follow up if needed :)
In reply to EvModder:
Hey, thanks for the response!
In regards to ideas for obtaining Wither Skull variants, the only thing that comes to mind is a way to make it so, upon being beheaded, the Wither would have a percent chance to drop any one of the four variants. It's definitely not a perfect solution, but it is some way to make all four variants obtainable.
About my second question, it was a bit unclear so I'll try to remedy that lol. My question pertains to "prefer-vanilla-heads" within the config.
The question I was attempting to ask was if "prefer-vanilla-heads:" was set to false, which would then have the Ender Dragon drop the custom head within the plugin (like the one found within head-textures.txt), would that then make it so Wither Skeleton Skulls now drop a Player Head designed to look like a Wither Skeleton skull (much like how it does with Zombies, Skeletons, etc.) or if Wither Skeleton skulls would still drop as vanilla skulls, hence not messing with players being able to spawn withers, if "vanilla-wither-skeleton-skulls:" were to be set to true within the config.
If the question is still too confusing I completely understand and apologize lol. Anyways, thank you for your time. :)
In reply to xmjgold:
No worries and thanks for the clarification! I checked the code, and unfortunately "prefer-vanilla-heads: false" will break wither skeleton skulls, even with "vanilla-wither-skeleton-skulls: true".
Edit: Actually, I'm not sure which it drops, now I'm thinking it should drop the vanilla skull item, but not sure without directly testing it.
In general, perhaps it's time for me to design a more flexible config option for these :)
Is it possible to prevent player from enchanting the heads?
Because some players echant the heads but I do not want them to enchant.
im having an issue when editing the drop rates for wither skeletons, it provides me this error and i cant seem to find out how to disable it.
vanilla wither_skeleton handling is enabled.
In reply to TapToSearch:
Ah, that'd be coming from this line in the config.yml
Once you set it to false, you should be able to edit the rates for it however you like
In reply to EvModder:
In reply to EvModder:
Thanks, just curious, is there any way to change the skulls that drop when using the plugin as i have another plugin installed that requires vanilla wither skulls to be able to craft x item, when i try it with the custom drop skull it dosent work as it has a different lore/id to the vanilla skulls.
In reply to TapToSearch:
Hmm, not sure, I'm surprised it doesn't work, I'll have to take a look at it in a week when I'm back home from travel, in the meantime LMK what the other plugin is and I'll see if I can figure it out. If you're able to get it to work on your own, just let me know what you did so that other people in the future can reference it if they get the same issue.
Hello!
I downloaded the plugin for my server, but for some reason heads drop 100% of the time once I set the canlosehead and canbehead permissions to true. When i do canalwaysbehead, i get the 100% drop rates and when I set it to false What permissions/config settings should I change and to what to get more normal droprates? I've already tried changing weapon and looting values, but to no avail. Thanks!
In reply to fintastica:
There are a few things to check:
1) if you use the JPerms permission plugin, it tends to screw up default settings for server ops (giving you dropheads.alwaysbehead even though it is false. Note it also has sub-perms such as dropheads.alwaysbehead.zombie)
2) be aware that the drop chances in head-drop-rates.txt are from 0.0 - 1.0, not 1 - 100, so avoid setting them higher than 1.
3) When in doubt, the usual best way to debug is to point the cursor at a mob, and before you kill it run /droprate, it will spit out a bunch of useful info that explains pretty much everything affecting the final drop %. It might be helpful to also test with op & non-op player accounts to see if there is a difference, to eliminate the possibility of a "give all ops *, *.*, *.*.*..."-type permission plugin