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!
Very useful plugin, but I have a problem.
Everytime I restart/close the server, the plugin will no longer work, and I need to delete it from filezilla then add it again, any fixes for this?
In reply to PirateLemon:
I've been testing, but haven't been able to recreate this issue. could you provide any more details? i.e., if you're using other plugins that might be affecting it?
(@readers, If anyone else also has this problem, please let me know)
In reply to evmodder:
I've encountered this as well. It seems the plugin becomes corrupted upon reloading. (Haven't tested restart much as it's a live server).
I noticed this when the size dropped from 115 KB to 0 KB as seen here: http://prntscr.com/oepfj7
Heads also don't drop from ranged weapons such as bows or dying from an event like a fire tick. Unsure if this is intentional.
Thanks!
In reply to Jadictions:
o.O
Thanks for the heads up; I'm working on a fix for the reload issue, and not tracking player bow shots, fire tick, etc was intentional at the time of writing the code, but in retrospect there should really be a config options for those (probably TRUE by default).
I'll upload the a new .jar later today after a bit of testing!
In reply to evmodder:
[12:31:51 ERROR]: Could not load 'plugins\DropHeads.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:158) ~[craftbukkit.jar:git-Bukkit-9a1fc1e]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit.jar:git-Bukkit-9a1fc1e]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:296) [craftbukkit.jar:git-Bukkit-9a1fc1e]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:188) [craftbukkit.jar:git-Bukkit-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:521) [craftbukkit.jar:git-Bukkit-9a1fc1e]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_211]
at java.util.zip.ZipFile.<init>(Unknown Source) ~[?:1.8.0_211]
at java.util.zip.ZipFile.<init>(Unknown Source) ~[?:1.8.0_211]
at java.util.jar.JarFile.<init>(Unknown Source) ~[?:1.8.0_211]
at java.util.jar.JarFile.<init>(Unknown Source) ~[?:1.8.0_211]
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:146) ~[craftbukkit.jar:git-Bukkit-9a1fc1e]
... 5 more
here you go
In reply to Forge_User_09251032:
Caused by: java.util.zip.ZipException: zip file is empty
Not the author but,
Your server thinks the plugin JAR is empty. (its not)
Try verifying that your download of the plugin was not corrupt (redownload it) and that the server has proper permissions to read the file.
In reply to Forge_User_09251032:
I suspect crashdemon's comment has the answer.
Make sure the plugin download is completed and that the .jar you upload to your server isn't empty. If the problem continues happening, we can dig a little deeper.
In reply to evmodder:
I have also been having the issue where the plugin will not load after being loaded fro the first time. I noticed something that was not included in the Error message in the previous comments. It it says:
[04:18:19] [Server thread/WARN]: Plugin PlayerHeads v1.4 does not specify an api-version.
However many of my other plugins also say that, but they still load.
then is is followed by what I believe is the exact same error message:
[04:18:19] [Server thread/ERROR]: Could not load 'plugins\DropHeads.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:82) ~[server.jar:git-Spigot-595711b-c699792]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:333) ~[server.jar:git-Spigot-595711b-c699792]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:252) [server.jar:git-Spigot-595711b-c699792]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:347) [server.jar:git-Spigot-595711b-c699792]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:194) [server.jar:git-Spigot-595711b-c699792]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:764) [server.jar:git-Spigot-595711b-c699792]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
Caused by: org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:168) ~[server.jar:git-Spigot-595711b-c699792]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80) ~[server.jar:git-Spigot-595711b-c699792]
... 6 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_211]
at java.util.zip.ZipFile.<init>(Unknown Source) ~[?:1.8.0_211]
at java.util.zip.ZipFile.<init>(Unknown Source) ~[?:1.8.0_211]
at java.util.jar.JarFile.<init>(Unknown Source) ~[?:1.8.0_211]
at java.util.jar.JarFile.<init>(Unknown Source) ~[?:1.8.0_211]
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:156) ~[server.jar:git-Spigot-595711b-c699792]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80) ~[server.jar:git-Spigot-595711b-c699792]
... 6 more
In reply to JoJosPetray:
Extremely late reply since bukkitdev doesn't send me a notification of your reply but:
"PlayerHeads v1.4" is not DropHeads so I don't think it's something Ev supports (I could be wrong).
If the author is Meiskam then it's a plugin I now maintain but version 1.4 would be extremely outdated version for minecraft 1.4. There are newer builds (like v4.10.0, v5.2.5) which support newer server versions.
If not, well - there are a few plugins with the same name as PH but you probably won't find support in this thread.
Hello,
Great plugin, but would it be possible to have a setting for how much armour each head gives you? Like a normal piece of armour iron has +3 and diamond +5. Would be great if I could set a Zombie head to have +1 armour, or a Dragon head to have +10, etc.
Thanks.
In reply to V1ceC1ty85363:
Yeah that sounds possible.
Since most people (probably) aren't interested in that feature, I don't think it should be a built into the plugin, but I'd be happy to make an add-on for that feature (along with a config for how many armor points each type of head gives).
just PM me or reply to this post
Hello,
Great plugin, but would it be possible to have a setting for how much armour each head gives you? Like a normal piece of armour iron has +3 and diamond +5. Would be great if I could set a Zombie head to have +1 armour, or a Dragon head to have +10, etc.
Thanks.
there is no dropheads folder on plugin directory, after server restart the file.jar have 0 bytes
In reply to comonier85084:
Hmm there's very strange. I've been testing to try recreate this, but it seems to be
working for me. I've gone ahead and added the next update, maybe that'll fix it for you :)
If not, message me and I can try and help you fix it asap (I'm online most days)
kinda wish the head codes file was in the config folder
In reply to CaszGamerMD95666:
For example if My head was a sheep and someone killed me would they get a sheep head?
In reply to Forge_User_82899549:
Just wanted to say, you've really got something here. I just got this set up on my sister's clan's server, and this is probably the Bukkit plugin that is the easiest to use and, I believe, adds the most amount of whimsy per server resources. ;)
I did bump up the shears multiplier to 50. It made too much sense to not do it.
In reply to AssistingJarl: