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!
-
View User Profile
-
Send Message
Posted Oct 21, 2019In reply to Forge_User_99415142:
Hmm, the best solution would be to update Java on the machine running the server, but I can recompile the jar using an older version of Java (and I probably should, since some people don't update Java too frequently).
Edit: I uploaded a DropHeads.jar that will work for old versions of Java :)
Thanks for letting me know
-
View User Profile
-
Send Message
Posted Sep 1, 2019I just installed DropHeads for my survival server, I havent touched anything in the config files except for changing the drop chance of naturally spawning mobs. I killed about 5 chickens (naturally spawned) and they each dropped a head. I went on to killing other mobs, and even changing the drop chance to 0.0, but mobs always seem to drop the head no matter what. I took a look at the console and it says :
[12:01:26] [DropHeads] Head dropped!
Drop chance before tool modifiers: 1.0
Drop chance after tool modifiers: 1.0
Mob killed: CHICKEN
This makes me think that the settings in the files either do not update to the console, or dont work in general.
Any help is greatly appreciated
-
View User Profile
-
Send Message
Posted Sep 2, 2019In reply to EliPlayz32:
Hmm, perhaps it's caused by the line of code:
killer.hasPermission("dropheads.alwaysbehead").
Also I didn't realize that debug message was still being printed, but I might as well make it more useful (and add a debug=False option to the config to toggle it and similar messages)
-
View User Profile
-
Send Message
Posted Aug 21, 2019For some reason, all heads from all mob types keep dropping 100% of the time, even though all the config and txt files are set to the default still-
Can't find any information, been trying to solve the issue for several days. Is there a solution to this?
-
View User Profile
-
Send Message
Posted Aug 22, 2019In reply to valyrii:
Sounds very unusual, does it happen for you with a clean download (no config changes)?
If not, could you send me your config?
A common issue is putting e.g. "90" instead of "0.90" when editing rates
-
View User Profile
-
Send Message
Posted Aug 4, 2019Is the specific tool modifier (Gold Axe increases chances x3) enabled by default or do I need to change something to get it working? Also how do I make it so a player head is dropped every time they are killed?
-
View User Profile
-
Send Message
Posted Aug 5, 2019In reply to CallMeHisMajesty:
It should be enabled by default.
The easiest way to make player heads drop at 100% is probably to open plugins/DropHeads/head-drop-rates.txt and change the value for players to 1.0 :)
-
View User Profile
-
Send Message
Posted Jul 17, 2019Hey, we've got a 1.14.3 server which we tried to install.
We have installed the plugin correctly without errors and the .jar file matches the repository.
Do we have to change the dependencies or the server type to install the plugin, since the DropHeads plugin is not working on our server?
New to plugins, any help appreciated ^^.
-
View User Profile
-
Send Message
Posted Jul 24, 2019In reply to Forge_User_98836719:
For DropHeads to work, you will need a bukkit/spigot/paper server (or one of their derivatives), not the vanilla server .jar from mojang's website.
Put DropHeads.jar in your ./plugins/ folder, and check to see if it shows up in the logs when starting your server.
There are other tutorials roundabouts online, but you can PM me if you are still having trouble :)
-
View User Profile
-
Send Message
Posted Jul 17, 2019i get an error im on bukkit 1.14.3
[Server] Server thread/ERROR Error occurred while enabling DropHeads v3.2.9 (Is it up to date?)
-
View User Profile
-
Send Message
Posted Jul 17, 2019In reply to coolmanaman123:
Hey sorry I uploaded the wrong jar last night...
Hopefully the new jar I just uploaded works!
-
View User Profile
-
Send Message
Posted Jul 17, 2019In reply to evmodder:
when are you gonna upload the new jar file
-
View User Profile
-
Send Message
Posted Jul 18, 2019In reply to coolmanaman123:
Just uploaded; waiting for plugin jar approve process to go through...
Should be publicly visible soon.
-
View User Profile
-
Send Message
Posted May 31, 2019Very 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?
-
View User Profile
-
Send Message
Posted Jun 2, 2019In 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)
-
View User Profile
-
Send Message
Posted Jul 13, 2019In 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!
-
View User Profile
-
Send Message
Posted Jul 15, 2019In 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!
-
View User Profile
-
Send Message
Posted Jun 5, 2019In 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
-
View User Profile
-
Send Message
Posted Jun 5, 2019In 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.
-
View User Profile
-
Send Message
Posted Jun 5, 2019In 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.