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 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)
Is there a way to Increase the dropchance of the Wither_Skelleton_Skull?
In reply to 4imlessboi:
Yeah, it's in the head-drop-rates.txt file with the other heads :)
EDIT: You will also need to set "vanilla-wither-skeleton-skulls: false" in plugins/DropHeads/config.yml
To test this plugin I edited the axolotl head drop chance to be 100% (1.000). When I joined my server and killed an axolotl it didn't drop its head. However, when I used the command to see the chance of the head dropping it says it is 100%. Sorry if I am missing something obvious. I used WinRAR to edit the jar file so maybe that is the problem.
In reply to coreyorsomething:
Hmm, try using the command while looking directly at an axolotl. (It's possible the drop chance was 0% x 100% = 0%, if the config has heads turned off for spawn-egg mobs)
Note: Sorry for the late reply! For some reason Bukkit/curseforge decided to stop giving me notifications for comments
this drop head is brutal plugin but plugin dont have 1.18.1 version can you add ?
In reply to srkiplayer:
why doesn't it work on 1.18.1 for you?
Some players reported to me that the head of MAGMA_CUBE|LAVA_INSIDE, all colors of SHULKER|SIDE_UP and SHULKER|SIDE_DOWN cannot be dropped.
I am not sure if those heads cannot be dropped by killing those mob.
In reply to siulung201314:
The MAGMA_CUBE|LAVA_INSIDE is not used right now, so it's just an extra texture in the file. (I might replace the regular magma cube head with it but I am not sure)
The Shulker heads for SIDE_LEFT and SIDE_RIGHT only drop when a shulker opens itself (when attacking), however they both have the same item name (in English: "Sideways Shulker Head"). You can check they are different items though because one of them looks left and the other looks right when you place them against a wall.
Note: I *did* notice a bug in the Bukkit/Spigot API for the direction a Shulker is looking that makes it sometimes drop the wrong type of head (left vs right), but both are still obtainable if you change which wall a shulker sits on. I will also make a patch for this & report the bug to the Spigot devs.
Note: Sorry for the late reply! For some reason Bukkit/curseforge decided to stop giving me notifications for comments
In reply to EvModder:
Thanks for the reply.
In head-texture.txt yml, there are a few kinds of shulker heads.
There are SIDE_LEFT, SIDE_RIGHT, SIDE_UP and SIDE_DOWN.
The players in my server can get the heads for SIDE_LEFT or SIDE_RIGHT.
However, they never get the heads for SIDE_UP and SIDE_DOWN.
Does it mean that the Shulker heads for SIDE_UP and SIDE_DOWN are not used?