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 lokyycs:
The variants (which need to be enabled in config.yml) are:
drop-grumm-heads: false
drop-sideways-shulker-heads: false
drop-collared-heads: false
drop-saddled-heads: false
As for the announcements, I'm not sure what changed to break that for you, but I recommend making sure you're on the latest version of DH (v3.8), and checking the default config against your own to see what changed (besides the variants setting)
In reply to EvModder:
I have with the latest version, set both of the options on GLOBAL and then LOCAL and nothing worked. I'm the only one on the server, since I run it only for this plugin, and I'm staying OP'ed, could that have anything to do with it? Also, how would I go about obtaining the more weird heads like different types of minecarts, boats, the different 'stages' of the wither and the Iron Golem etc like those ones, or is it not possible to do it in vanilla survival?
In reply to lokyycs:
Currently there isn't a way to obtain the boats/minecarts (open to suggestions for how to make these obtainable - some servers have done it through wandering traders, etc.).
For the "stages" of the iron golem, if "cracked-iron-golem-heads" is true in the config, then they drop the most damaged version, and you can repair them by placing & clicking with an iron ingot (similar to how iron golem entities are repaired)
For the behead messages not showing up - that's actually a pretty recent bug (my bad) on craftbukkit 1.20 servers, I have a fix for it in v3.8.1, which you can get on the GitHub or wait for it to update here to Bukkit (should be soon)
Hello, I have some questions.
The first one is the server OP will bypass the drop rate, meaning that the entity killed by an OP will 100% drop the item.
Also, I would also like to know how to set up a global broadcast when an entity drops its head, not player head drop only.
In reply to tomsanau:
The first issue (OPs getting 100% droprate) is caused by certain outdated / poorly designed permission plugins, but you can usually get around the issue by removing the `dropheads.alwaysbehead` or `dropheads.alwaysbehead.<mob>` permission from OPs (it is false by default but some permission plugins ignore that and force it to true, I can't tell you how to set it to false since it will depend on what permission plugin you use, but they (hopefully) have their own instruction docs for that).
For global broadcast of all heads, go to the top of the config.yml file and change "default: LOCAL" to "default: GLOBAL" for the `behead-announcement` setting
That's a great plugin, the best of it's kind. Though, through the year of using it, I've noticed a few bugs: can't place heads on floor and when you decapitate someone there's a double death message, one for kill and other for decapitation. There's also no discordsrv hook, so I'd love to see it at some point.
In reply to rearedrain97:
Hmm, the double-death-message sounds like a config error, or perhaps a really old bug, and the DiscordSRV compatibility issue was fixed a while ago (here i think) so it's possible you just have a really old Jar version, and/or outdated config (what I recommend if you want to keep your config settings is to move it to a backup location, let the updated plugin generate a new config with the default settings, then plug the text from the old & new into a site such as diffchecker.com to see what changed, and then manually re-apply the settings you want to keep).
Heads not placing on the floor isn't an issue I've heard reported before, but I think that could also be caused from a configuration issue, or perhaps you have a permission plugin that considers player heads an illegal item, not really sure, but if you want we could dig into it further here or in DMs
are all of these heads obtainable in survival?
In reply to rensilk:
if the mob is obtainable in survival (illusioner?) and you set a drop rate > 0%, then yes
Can you add noteblock mobhead feature? So if you put a mob head on a noteblock and click on the noteblock, the mob sound will play. You can do that with a resource pack.
In reply to thetobicraft:
Oh that's a great idea, I'll work on adding that and let you know when I figure it out
In reply to EvModder:
Thank you :)
In reply to thetobicraft:
Was actually pretty straightforward to do! I might wait to post an update jar here until I finish some other WIP features as well (maybe it's silly, but I usually delay minor updates until there are a multiple things to release).
if you'd like to try it out early however, here's a dev-build jar: https://github.com/EvModder/DropHeads/raw/master/DropHeads_v3.7.14.jar
side note: cat head noteblocks are so annoying xD
In reply to EvModder:
Thanks, I will definitely try it out! Sounds cool XD
Is there a warden head?
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)