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 DuWeido:
I don't think Bedrock players are able to have skins on Java version - maybe I'm wrong on that though. The thing is, normally skins are fetched through Mojang API calls, which don't work for bedrock players on Geyser since the accounts are fake/simulated on the server and not real Minecraft accounts (they have a dot in front of their name or something), so I'm not sure where it gets their skins from. I'd have to look into it, which might take me a while since I've never coded for bedrock edition (or played on it) but if the code to support it isn't too messy or laggy I'll work to add it to the DropHeads plugin. If it ends up having performance concerns I'll still implement it, but as a separate add-on for servers with Geyser/floodgate.
Hello.
May I ask for a request?
My server has a residenc plugin that allows players to create their own residence.
They place a cracked iron golem head inside their residence.
Other players can go into the residence and use iron to repair the head.
However, the residence owner does not want other players to repair the head.
Is it possible that the drophead plugin can check if the players have the place permission before repairing the cracked iron golem head?
Thanks.
In reply to siulung201314:
Sounds like a good change, I will add it in the next update
In reply to EvModder:
Should it check permission for BlockPlaceEvent or BlockInteractEvent(like opening door or putting water in cauldron)?
(I have a test jar for 3.9.9 on the GitHub, currently using BlockPlaceEvent, I haven't tested it yet)
In reply to EvModder:
I am using this residence plugin.
https://www.spigotmc.org/resources/residence-1-7-10-up-to-1-21.11480/
The plugin can be downloaded free from here.
https://zrips.net/Residence/
And this plugin requires CMILib too.
https://www.spigotmc.org/resources/cmilib.87610/
I do not know much about program code.
I am not sure which permission (BlockPlaceEvent or BlockInteractEvent) is better.
I will test the test jar when I am back home to see if it works.
Is there a Discord for this Plugin where I can find more support?
In reply to euthy3250:
Currently there isn't, although it probably makes sense for me to set one up, so people can share their configurations. I don't mind doing support though if you want to DM me @evmodder, although sometimes i can be slow to respond
In reply to EvModder:
Thank you but it seems I can't DM you in Discord unless we share a server.
In reply to euthy3250:
That's a setting somewhere in your account for allowing messaging people who aren't friends or mutuals, if you prefer to do a friend req though I don't mind, some people like their Discord privacy. can also msg me here on Bukkit. if i remember, I'll actually try and set up a support server over the weekend since it is generally a good thing to have
does this plugin work for bedrock players?
In reply to Allyyyz:
To my knowledge, not really. I think custom heads (on Java servers) in general don't work well for bedrock players, but maybe with all the proper geyser/floodgate/addons they might? If custom heads spawned with commands will work for bedrock players than heads from DropHeads will also work. Likewise if custom heads you /give yourself don't work for bedrock players than I suspect heads from this plugin won't either.
In reply to EvModder:
I use this plugin in my Java server with Bedrock crossplay and the Bedrock players are able to use it.
However, since the update to 1.21.3 the Bedrock players have not been able to place the heads anymore.
does this add special abilities to heads of mobs?
In reply to AD_PLAYZ:
Technically yes there are a few Easter-Egg type abilities in the plugin, although some are disabled by default. For example, there is a list "endermen-camouflage-heads" in the config. You can put, for example, endermen and ender_dragon heads in there, so they would work the same as wearing a pumpkin (to avoid provoking endermen).
You could also enable "cracked-iron-golem-heads", which means they drop a cracked version of their head that can be repaired by clicking on it with ingots, which would update any observer looking at the head.
There's also custom noteblock sounds for each mob type, which can be customized if you want.
I can't think of anything else rn, but in theory it would be easy to add some extra NBT/custom_data item attributes with an add-on or plugin listening to the HeadDropEvent
is there a way to prevent a player from dropping their head on death? like using dropheads.canlosehead or maybe dropheads.canbehead?
In reply to squishiscool:
Yeah!
dropheads.canlosehead <--- a player with this permission will never drop their head on death
dropheads.canbehead <--- a player WITHOUT this permission (by default everyone has it) cannot get heads when killing others
you can also set the dropchance for "PLAYER" entity type to 0% in the head-drop-rates.txt file to disable all player head drops
When a charged creeper explodes a villager or a wolf/dog it wont drop the head but i can get all the other heads with charged creepers
In reply to proking88:
Hmm, I haven't been able to recreate the issue for villagers (their heads seem to drop for charged creepers), so maybe message me your setup & step to cause that if it continues to not work.
Wolves on the other hand - definitely an issue, and it seems to not just be charged creepers but affecting all wolf beheads.I am working on a hotfix (v3.6.7) and will post it sometime tonight
noice
Will you be adding noteblock heads? It's been featured in certain youtube series such as Hermitcraft [ability to place head on noteblock to play sounds] works on Hermitcraft with non base vanilla mob heads.