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 Valhallacraft:
You can take the textures listed in head-textures.txt, e.g. a163bc416b8e6058f92b231e9a524b7fe118eb6e7eeab4ad16d1b52a3ec04fcd
and add 'https://textures.minecraft.net/texture/' in front of it, to get the PNG file URL on Mojang's servers, e.g.:
https://textures.minecraft.net/texture/a163bc416b8e6058f92b231e9a524b7fe118eb6e7eeab4ad16d1b52a3ec04fcd
A player reports to me that he kills a red mooshroom but it drops a normal cow head.
I am not sure if it is a bug.
In reply to siulung201314:
It sounds like a bug, I will test it tonight and see if it is a problem with the textures file
Is there a way I can get a list of every variation available?
In reply to Valhallacraft:
There is a full list here in the textures file
If you want something a bit more condensed, the translations.yml file lists all the mob sub-type names
I have changed the behead announcement to global, both default and player, and the only person that kills the mob is getting the message in chat, could I get some help with that?
In reply to yezyyyy:
Hmm, just tried it (using the latest DropHeads.jar here on Bukkit) and the global announcement seemed to work. Did you make sure to restart/reload the server (or plugin) after changing the config?
In reply to EvModder:
I have restarted the server multiple times and nothing seems to work, and I can't find any command to reload the plugin so how would I do that.
I changed the config to ''behead-announcement:
default: 'GLOBAL'
player: 'GLOBAL' ''
Is this right? Thank you.
In reply to yezyyyy:
Yes that is the right way to do it, so the problem must be coming from somewhere else...
Could you DM me your whole config file(s) so I can copy them to a test server and try to debug it?
In reply to yezyyyy:
Ahh, I figured it out -- the spaces in the config matter (it is how Bukkit's configuration system knows that 'default' and 'player' are underneath the 'behead-announcement' setting)
If you re-add some space in front of the sub-settings it will work again. I don't think it matters how many spaces you use as long as it is consistent.
(Replying here so others who may have the same issue can see it)
In reply to EvModder:
I've added spaces in front of global and player, and it didn't change anything, could you explain it better or send me the cfg working? Thank you!
Thanks for your answer :)
Awesome plugin, but I have a question. 0.004 mean 0.004% drop chance right? I'm currently testing the plugin, and every mobs I kill drop head :D
EDIT: I deoped myself and it seem to be okay now :)
In reply to boulettebill:
The percents are between 0 and 1 btw, so 0.004 means 0.4% actually (sorry about the confusion).
Also glad to hear you figured it out, it is also possible to be op and not have 100% drop rate but you will need to make sure you have permissions set up correctly (depends on what permissions plugin you use)
Does the latest version work on 1.18.2 or do I need to wait for the update?
In reply to siulung201314:
Yes it works for 1.18.2, I will update the file description
The plugin works good but wither skeletons don't drop skulls (neither vanilla wither skeleton skulls nor that from the plugin)! No, it's not bad luck, not farm with dog. I used looting 100 sword to kill one and it didn't drop a head! Please help
In reply to ItsRBus:
Hmm that definitely sounds unusual, can you DM me a copy of your config files so I can take a look? (also, do any other heads drops, and did you check permissions plugins?)
In reply to EvModder:
i have an operator and another thing is that when i set the wither skull drop rate to 100%, the first skeleton i found dropped skull and then another 100 wither skeletons didn't drop even one
In reply to ItsRBus:
Check /droprate while looking at each entity before you kill it, and let me know what is says (in private message), it might be 0% if they are from spawn eggs (which is a default config setting)