DropHeads
DropHeads
Let the head hunt begin!
Using quality heads 99% supplied by Minecraft-Heads.com & Nano Team ❤️
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 beeperbeeper5:
Sorry it's been a while since this reply - it seems like the charged creeper always drops 1 head from a random mob that it kills in its explosion - sometime I would die due to triggering it by proximity and it would randomly drop either my head or the cow's head (and same for flint and steel). I think this behavior makes sense, but if you want to make it only cause head drops for mobs (not players) there are some config options to potentially make that happen; if your issue was actually something else (like no heads dropping at all) please DM me the config setup to recreate it and I'll look into it :)
Hello! I am trying to use this plug-in but am having the issue where every mob kill results in a head drop. I want it to use the config percentages I have set and I am getting the error message
< You have 'dropheads.alwaysbehead' so drop rate is 100% >
Is there a command or config setting I can change to turn this off or to false so it will use the percentages, because I cannot seem to find it everywhere I have looked.
In reply to Invisibread:
It will depend on what permission plugin you are using.
If you are not using any permission plugin then it should not be happening unless you explicitly added it yourself.
Most permissions plugins work fine, but some of them like to give ALL permissions that exist to server ops, which can cause this issue; if you DM me which one you are using and I will try to help you look into how to disable/remove this permission from it :)
Hey, how can I change the rarity of the drop like its now at idk 0.3 % but i want it to be on like 33% how can i do this?
In reply to he4dm4n:
If you go to the folder where you have the server jar, you should see a sub-folder like "plugins/DropHeads", this is where all the config files are, the one for drop rarity is called "head-drop-rates.txt" and it has a default value plus some different values for different mob types (which you can delete if you want). The drop chance is specified as a number between 0 and 1 (so 0.33 would give you a 33% chance), it's just a text file so just edit and save then reload the DropHeads plugin or restart the server for the change to take effect :)
Heya! is there a way to edit drop rates for all mobs at once?
I don't like that they all drop a head with every critical hit kill I want it to feel special that I received it yk?
In reply to D4RKVR_:
Well, the drop chances configured in /plugins/DropHeads/head-drop-rates.txt (aka this file) are already pretty low, so if you're getting a head almost every hit then there might be some permissions/configuration elsewhere for you to look into; but to answer the question more directly -- yes, you can edit all the drop rates at once using a certain trick:
step 1: delete all the existing drop rates from the file except for "default"
step 2: set "default" to whatever rate you want, and all the mobs+players will be using it
Hey there, installed this plugin and havent adjusted any of the configs from base values but every time someone kills any mob it seems that the heads are dropping even when they are very low base chances. Not sure on a fix for this?
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?