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!
really cool plugin! still works on 1.15, the only issue is, when you drop more than 1 head at once, all of them disappear and turn into 1 head rather than 3. i assume there's not a fix for this since the last update was 1.14. can't complain about anything else, though!
In reply to Forge_User_30457611:
Hey, thanks for spotting and reporting this!
I have no idea how I managed to let that bug slip into the last release...
Luckily, the fix was pretty simple. I've uploaded an update with it, along with some other general improvements :)
Hi , Im having a little "problem" with the plugin , it does not affect the gameplay or the server but it spams the console very hard , i dont know why it spams it but here is the error:
In reply to jarshoowa692:
That error isn't from DropHeads, it's from a different plugin...
"ExtraHeads v1.1" =/= "DropHeads v3.2.12"
I suggest contacting the author of that plugin :)
Also, instead of posting the entire error message, could you use https://pastebin.com/ or change it to only show the relevant lines? Thanks :)
In reply to evmodder:
sorry , i thought i deleted that plugin before , i thought it was an "alias" for DropHead , im gonna delete all the text , thanks for your help xd.
In reply to jarshoowa692:
all good; let me know if you find other problems or have questions :)
I always get :
19.10 23:07:41 [Server] Server thread/ERROR Could not load 'plugins/DropHeads.jar' in folder 'plugins'
19.10 23:07:41 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/evmodder/DropHeads/DropHeads has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0
In 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
I 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
In 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)
For 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?
In 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
Is 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?
In 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 :)
Hey, 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 ^^.
In 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 :)
i 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?)
In reply to coolmanaman123:
Hey sorry I uploaded the wrong jar last night...
Hopefully the new jar I just uploaded works!
In reply to evmodder:
when are you gonna upload the new jar file
In reply to coolmanaman123:
Just uploaded; waiting for plugin jar approve process to go through...
Should be publicly visible soon.