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 Jacold_:
Ahh I see! For now I advise just comment out (using "#") or delete those lines, then those settings won't be used.
Also, this crash shouldn't happen anymore in the new released version (available as of a few hours ago)
I find that my server show the message of error "Could not pass event PlayerInteractEvent to DropHeads v3.5.2".
There is the error of the console.
https://hatebin.com/imkkeiaylh
In reply to siulung201314:
Found the bug :D, fixed in v3.5.3 (uploading it today)
In reply to forgot2fletch:
Thanks for fixing the bug.
I would like to suggest a feature - a player with a specify permission have higher chance to get the head.
Because I want to set some players to be VIP that can have higher chance to get the head.
In reply to siulung201314:
This is an interesting feature idea, I'll put some thought into it and decide if I can do it for v3.5.4 or another future version.
If you want to do it right now, I've actually seen something sorta-similar done before using Minecraft's "Luck" attribute: https://github.com/crashdemons/TrophyLuckModifier
Basically, you can add a luck attribute to certain items (or the luck potion effect to certain players) to improve their loot table rolls, and/or use it for head trophies. I'm not entirely sure how to set that up, but it's something you could do right away if you want to.
Hey! I have a 1.16.4 server and I can't seem to change the droprate of player heads. How is it possible for me to do so?
In reply to ExiledDarkshadowGaming:
It should be in the same file as the mobs, /plugins/DropHeads/head-drop-rate.txt
(after you change it you will need to reload the plugin or restart the server for it to take effect)
From the look of things in the config, this looks to be exactly what I'm after, but I am having this issue on startup:
Error occurred while enabling DropHeads v3.5.2 (Is it up to date?)
I saw this issue in the comments October 6 and there was an update to fix it, but this is well past that update. Is there any workaround that you know of? Running Spigot 1.16.4.
Thank you for your time.
EDIT: I downgraded and tried the previous release (3.4.5) and have had no problems thus far.
In reply to stigmatictv:
That's very strange, you're using v3.5.2 right?
If you could send me the full error in a private message, I can check to see if I can figure it out
I noticed that all the head drops are extremely rare. is there a way to change them all quickly instead of having to do it manually?
In reply to donalmcdermott:
You could edit "DEFAULT: 0" in the chances file to make it something higher, and then delete all the other drop chances in the file
(That way all mobs would have the same chance and you could set it to something higher)
I have an error that is constantly repeated on the console. It's about the "PlayerInteractEvent"
https://hatebin.com/uffqblinhm
In reply to GamerDeLaElite:
Thanks for reporting this, I'm looking into it. I think it might be legacy heads from some other plugin that DropHeads isn't handling properly, so it should be easy for me to fix soon
Is it possible to translate the name of head or skull to be other languages? Some players in my server are not good at English.
Moreover, is there any way to reload configuration in game without restarting the server?
Sorry for my bad English.
In reply to siulung201314:
There is no translation currently, but I will try to learn how to add it.
You can reload the plugin (or enable/disable it) to reload the configuration using a plugin manager such as https://dev.bukkit.org/projects/plugman, also I will add /dropheads reload in a future update.
Would you be able to create a blacklist for certain heads? So that players for example if they have the headspawn command or always drop heads on, they cant get infinite wither skeleton skulls, or other skulls you want to exclude from always drop heads and headspawns.
Would be very helpful :3
In reply to onlyJP2K:
Just set the drop rate for that head to 0 maybe, or remove their permission to spawn that type would be the easiest way?
In reply to forgot2fletch:
well i would like for some players to get alwaysbehead. but not for wither skeletons since that would be op. thats the reason.
In reply to onlyJP2K:
Hmm I see. That's an interesting thought; currently alwaysbehead applies to all mobs, but in the next update (v3.5.3) I can add sub-permissions for each mob type.
That way you could give players 'dropheads.alwaysbehead' and then subtract 'dropheads.alwaysbehead.wither_skeleton' to get what you're looking for.
In reply to forgot2fletch:
Sounds awesome! Thanks :)