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 EnertyTTV:
I found the issue! Try downloading the latest version (with the fixes I added) and let me know if it works for you
Hi, for some reason once the plugin autoupdated yesterday I now as OP get 100% head drop rates? Thought I would let you know, tested with other players and it is just me that is affected. Thanks
In reply to MentalDaveUK:
Yeah, this is a problem for server OPs (see comments below), I uploaded a fix but it is taking the file some time to process; you can wait for it, or revert to the last released version.
In reply to forgot2fletch:
Thanks I used LuckPerms to re-set my permission to false for now :)
I'm sure you're aware since a few others have mentioned in the thread but op'ed players all of a sudden have a 100% drop rate, when do you anticipate a fix will be available? I like the plugin for my server and don't want it disabled for too long, many thanks
In reply to jack_loaf:
I already uploaded a fix, but sometimes it takes Bukkit a while to process the files. For now you could switch back to the previous version? (look for the one marked "release", not "beta")
how do i change permission to allow my friends to get heads to with out being op
In reply to HypnotiC2k:
Please check all the things listed in the F.A.Q. (above on this page) and if none of those work send me a PM with your permission plugin & configuration files and I can help.
I just opened my server and randomly when I kill a mob, 100% of the times, it drops their head, I dont know anything about permissions and stuff like that, so if you could help I would appreciate that.Thanks.
In reply to yezyyyy:
Ahh same as the two people in the comment below, it seems like 'dropheads.alwaysbehead' is defaulting to 'true' instead of false. I'll upload a fix real quick, in the meantime you can try to subtract the perm from anyone who is an op
How i can fix 100% chance for head from mob, when i have op?
In reply to feezuszek:
If you want to NOT have 100% chance, remove this permission from your player: -dropheads.alwaysbehead
In reply to forgot2fletch:
Yes, but when im operator, i have 100% chance for head, but i dont need it. Normal player have normal chance, but operator have 100%. Do you know, how i can fix it?
In reply to feezuszek:
got the same Problem, hopefully they got a fix soon, i dont want a 100% droprate as a Operator
In reply to Flupii:
In reply to feezuszek:
"dropheads.alwaysbehead" used to default to 'false' for ops, but I made a change in the last released version so now it defaults to 'true'. I'll go ahead and upload a reverted version real quick, in the meantime you can edit the plugin.yml inside the jar to be 'false' or try to subtract the permission from anyone who is op.
there is no chances file only drop rates and there is no default there??
In reply to donalmcdermott:
I meant head-drop-rates.txt (i used "chance" and "drop-rate" interchangeably)
there should be a "DEFAULT: 0" at the top of the file, if not you can add it and it should work
[20:17:57] [Server thread/ERROR]: Error occurred while enabling DropHeads v3.5.2 (Is it up to date?) java.lang.NullPointerException: null at net.evmodder.DropHeads.commands.CommandDropRate.(CommandDropRate.java:35) ~[?:?] at net.evmodder.DropHeads.DropHeads.onEvEnable(DropHeads.java:100) ~[?:?] at net.evmodder.EvLib.EvPlugin.onEnable(EvPlugin.java:30) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-444] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.5.jar:git-Paper-444] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.5.jar:git-Paper-444] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.5.jar:git-Paper-444] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.5.jar:git-Paper-444] at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:464) ~[patched_1.16.5.jar:git-Paper-444] at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:239) ~[patched_1.16.5.jar:git-Paper-444] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:935) ~[patched_1.16.5.jar:git-Paper-444] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) ~[patched_1.16.5.jar:git-Paper-444] at java.lang.Thread.run(Thread.java:834) [?:?] [20:17:57] [Server thread/INFO]: [DropHeads] Disabling DropHeads v3.5.2
Paper #444, 1.16.5
In reply to Jacold_:
Thanks for bringing this to my attention!
It looks like a bug from reading an old config file-- I'll make a patch for it in v3.5.3, but I also recommend you let the plugin re-generate the config (either delete it or rename it to something else for backup, then move your custom settings over into the newly generated config in the /plugins/DropHeads/ folder)
In reply to forgot2fletch:
Looks like if I change whatever in config file it throws errors. Plugin will enable only on newly generated default config file so I'm not able to apply my custom settings.
Edit: Looks like it fails when I try to do something else than set all values to 1 in specific-tool-modifiers and/or time-alive-modifiers which I don't need.