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 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?
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)