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!
Likely an issue caused by a permission plugin giving everyone "*" permissions for alwaysbehead, but hard to be sure. It should tell you why if you look at a mob and do the /droprate command. If you need help debugging it, DM me and we can work through it :)
I just uploaded v3.7.2 which fixes the issues in the v3.7.0 release, including the looting bug and death messages bug
hey man, looting-multipliers are not working, its set to 1.1 by default, and when you /droprate with a looting 1 sword it says x0 + whatever the addition is set too, no matter what i change the looting-multipliers to it wont change from x0.05 yes i restart the server lel. so you actually get less chance of a head with looting
In reply to llxany:
Hmm, yeah sounds like a bug (might have been introduced in v3.7), I am not sure if it is a bug with the /droprate command itself or the actual rate being read from the config, but I will try and fix this and update the jar as soon as possible. (In the meantime I will mark the new jar as unstable and if you want you could switch back to v3.6.x where it hopefully works as it should)
In reply to EvModder:
Thanks for the quick update man, badass plugin
I have Player head drop rate as 100 but players report me that not alvays the player head drops
Can you help me
In reply to 1_Bielik_:
I assume by 100 you mean 100% (because chance is [0.0, 1.0], not 100) although it should work for any number >= 1
It could be for one of a few reasons: 1) make sure all the players have permission to get heads, default is true. 2) if you set any config settings for changing drop rate based on amount of time since last death, that might affect it. 3) make sure to restart the server after making config changes; you probably already did but just thought I'd check :) 4) it might be something else or perhaps even a bug in 3.7.1 -- if you can do "/droprate playername" for the person getting killed and see why it is below 100%, that would be helpful to debug what's going on
1.
I find that there is a SHULKER|RED: 0.014 in the head-drop-rate.yml.
Can I delete it?
Because there is SHULKER: 0.015 already.
I want the drop rates of all colours are the same.
2.
Can the plugin prevent dropping the head of wither skeleton when a wolf kill the wither skeleton?
If not, are the head-drop-rates of killing by a wolf and by a player the same?
3.
After updating from 3.6.15 to 3.7, many players report to me that it is more difficult to drop heads. They feel that there is a big difference about the drop rate. Many of them ask if I change the drop rate lower. However, I do not change the rate after updating. I am not sure if there is any issue about the drop rate.
Moreover, I have other plugin(mythicmob) which can create an item with 0.01 drop rate from zombies. A player reports to me that he gets about 60 items but 0 heads from any mobs.
And another player reports to me that he killed at least 2000 mobs (natural spawn) but no head is dropped.
In reply to siulung201314:
1. Yes it is safe to remove, I added the SHULKER|RED as an example to show server owners how to configure drop rate for sub-types
2. If vanilla wither skeleton handling is true, then yes the wolf kill will make it drop a head; to prevent it, set it to false (and make sure drop-for-nonplayer-kills is also false)
3. That might be due to the changes that happened here, are the mobs with lower rates being spawned by plugins or commands? I would suggest try changing some of the multipliers in that file (1=same drop rate as config, 0.5=half the drop rate in config 2.0=twice as common as droprate in the config, etc)
If the drop rates still seem too low, it might be something else, but checking by doing /droprate while looking at an entity in game will tell the reason for drop rates
In reply to EvModder:
About the drop rates, I have not changed any setting in spawn-cause-modifiers.yml and head-drop-rate.yml. And all specific-tool-modifiers and time-alive-modifiers are set to be 0. Looting-multipliers is set to 1.01.
Some players help me to do the experiment. They kill the mobs which is spawned due to Natural or Chunk_Gen. According to the setting that I set, the drop rate should be around 0.4%. Before updating, players report to me that they kill around 1000 mobs and 3-5 heads are dropped. It seems normal. However, after updating, they do the test and kill 3000 or above mobs but no head is dropped.
After testing by myself, I find that there is a bug that some mobs does not drop heads after updating. I am OP and has all vip perms (total x 67.04). I use command /droprate to check the drop rate. The drop rate should be about 0.4%x67.04=26.816%. And then, I try to kill natural spawned zombie, creeper and spider. I kill about 100 mobs but no heads are dropped.
spawn-cause-modifiers.yml
NATURAL: 1
head-drop-rate.yml
SPIDER: 0.004
CREEPER: 0.006
ZOMBIE: 0.004
specific-tool-modifiers:
GOLDEN_AXE: 0
NETHERITE_AXE: 0
DIAMOND_AXE: 0
IRON_AXE: 0
STONE_AXE: 0
WOODEN_AXE: 0
SHEARS: 0
DIAMOND_SWORD: 0
IRON_SWORD: 0
time-alive-modifiers:
0s: 0
looting-mutliplier: 1.01
looting-addition: 0.0
custom-droprate-multiplier-permissions:
group.vip1: 1.1
group.vip2: 1.2
group.vip3: 1.3
group.vip4: 1.4
group.vip5: 1.5
group.vip6: 1.6
group.vip7: 1.7
group.vip8: 1.8
group.vip9: 1.9
group.vip10: 2.0
In reply to siulung201314:
Hmm, there is probably a bug in v3.7+, I will try to find it and fix, but until then you can try to go back to v3.6.x (be sure to disable auto-update in config).
I will try to fix it quickly
EDIT:
I found the bug introduced in 3.7+, it is with looting.
Any level of looting above 0 is causing a no heads to drop
Can I create a head shop with this plugin and DeluxeMenus
And how can I do it?
In reply to outl1ne_:
In terms of permission - yes of course
As far as how - I really don't know (I've never used DeluxeMenus), and it probably depends what kind of "shop" you are trying to set up. Perhaps check with the author of that plugin since they probably know how to configure it :)
How would one download a PNG of the head textures?
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?