Player Heads
Ever PVP someone or PVE a mob and get no good loot? Feel like you deserve a trophy for your victory? Want a simpler alternative to bigger plugins that implement everything but the kitchen sink? Then PlayerHeads is right for you! You can now lop off enemies heads in battle, and mount it on a pole for all to fear, wear your opponent's face as a mask like camouflage, or just collect all of the mob heads.
Installation
Place PlayerHeads.jar in your plugins folder, on server start the configuration will be generated. Remember to remove any outdated playerheads jars when adding the new one.
If you can't be bothered to read the rest of this page, then just watch this video by Awesome_Soul:
Portuguese (Português) video: http://youtu.be/OqhI_oIGPWo
German (Deutsch) video: http://youtu.be/ijEws5yjo6Y
Try It
Server: aztecmc.org (rare drops are enabled for mob and player-heads)
Website: aztecmc.org
Documentation
Notes
- PlayerHeads is now translatable! Edit "lang.properties" to whatever phrases you desire.
- lang files will change between releases, when updating be sure to delete the old file if you haven't edited it.
- If you've given people the * permission node, they will get 100% drop rates. If you don't want this to happen, deny (or add negative) nodes for the following: playerheads.alwaysbehead and playerheads.alwaysbeheadmob
- If you want to disable head drops in a specific world, use your permission plugin to deny (or add negative) nodes for the following in that world: playerheads.canbehead and playerheads.canbeheadmob
- If you have any problem using "lang_[language]_[country]_[variant].properties" for any reason, just use the file name "lang.properties" to override messages.
- Spawn mob heads with the following names: #creeper #zombie #skeleton #wither #spider #enderman #enderdragon ... (any many more!)
Known issues
- Renamed heads (with an anvil) don't stay renamed after placing, mining, dropping them.
- If for any reason your mob heads loose their name, you can get it back by placing and mining it.
- If you use the BountyHunters plugin and you have enabled head drops for bounties as well as player head drops from PlayerHeads, both will be dropped - for now, you should disable one or the other. Alternative solutions are being looked at.
- If you use JPerms, users with Op or playerheads.* permission will receive playerheads.alwaysbehead[mob] permissions and have 100% droprate since PlayerHeads permissions nodes are ignored. It's recommended to use another permissions plugin if this is a concern (LuckPerms, PermissionsEX, GroupManager).
Dev Builds
Development builds of this project can be acquired at the provided continuous integration servers. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
https://ci.meme.tips/job/PlayerHeads (upstream)/ (selected major changes only)
https://ci.meme.tips/job/PlayerHeads-5.x/ (rapid changes and work-in-progress)
Sourcecode / API documentation
We've included the entire sourcecode via github:
https://github.com/meiskam/PlayerHeads
Third-party plugin-developers can view the PlayerHeads API documentation at the following link: https://crashdemons.github.io/PlayerHeads/
Server Support
Current versions of the plugin have been tested as compatible on the following server environments:
- Spigot/Paper 1.8-1.18.2 (Use PlayerHeads 5.20.2 or lower; READ NOTE)
- Spigot/Paper 1.19-1.20.4
Server environments that are known to be incompatible:
- Glowstone 1.12 (only partial support is available in PlayerHeads 5.20.2 and lower)
Support should exist for any modern bukkit server with access to authlib which is needed to set textures.
Legacy version notes:
- 5.x drops support for older usernamed-based mobheads (3.x), fixing some longstanding issues with spawn commands; uses vanilla and texured heads exclusively (4.x)
- 4.x introduces new, more reliable support for head textures, more configuration options, updated mobs, and more consistent permission behavior and will continue to receive updates in the future - some older configurations may be incompatible (see the changelog and Configuration page). This version automatically upgrades 3.x heads to 4.x when breaking or dropping heads.
- 3.x maintains the original behavior of the plugin with username-based mobheads, but head skins may be less reliable over time and support has been discontinued.
Legacy version documentation: changelog, configuration, permissions.
Wondering when there'll be an update for this to a higher version of 1.8? I want to update my server to get all those security fixes in but this plugin is one my players love and it sounds like it's very crippling to use on 1.8.3 or higher.
Just a quick one, I do believe this is corrupting chunks on my server. Just a warning!
Hello, I have been using this plugin on my server for a long time but it suddenly stopped dropping player heads with names and skins but just dropped a Steve head called head. Is there a way to fix this as this was a highly favorited plugin of mine.
Thanks!
@GioboiMC
Yeah it's for everything. I'm not sure if you can get them from baby animals, but an easy way to test would be to temporarily give yourself the playerheads.alwaysbeheadmob perk then kill a baby animal.
@Mr_Simba
Are you sure that's not just for PvP?
Also, can you get mob heads from baby animals?
@GioboiMC
Yes, there's a configurable looting rate in the config for how much each level of looting increases the drop chance of heads.
Does looting help with mob heads?
@Hey_Im_Amazing
The heads not stacking probably isn't so much the plugin dev's fault as it is junk NBT being on the items. If you place the heads and break them again, they'll all stack.
As for the alwaysbeheadmob thing, just take away the permission node from whatever group is beheading mobs, e.g. "-playerheads.alwaysbeheadmob" (the minus sign in front of the permission removes it).
For my server, all the heads other than Skeleton, Zombie, and Creeper, just turn into Alex, or Steve heads. None of the head textures work.
I dont understand the configuration for the droprate. do I change the numbers higher? Or lower? To make the drop rate of a mob less. Cuz ever time I kill a wither skeleton it gives me heads all the time
sorry if this is Very late and author please remove if i bump this post!
but if you are OP then you will have a Mob Head drop every single time. the drop rates are simple to edit! if you want a mob to have a Rare head drop then set the ratio to (0.001) if you want it all the time then set it to (1.0). (1.0) = 100% (0.001) = 1% & (0.0) = 0% chance at a head drop.
hope that clears that up! i use this on my server and players are constantly trying to collect all mob heads and player heads as they can to be the number head hunter on the server!
How do i set playerheads.alwaysbeheadmob to false? thanks :), also whats with the heads not being able to stack? and is there a way to avoid this issue?
Drop rates don't seem to be working (100% drop rate, even with default configuration)
The Head data is not surviving a reboot and I must click on the Shops in order to reload the data and players to be able to sell the heads...We need a update...I will be willing to donate!
Any chance of a version for spigot 1.8.3 soon :)? currently are heads are kicking people who are opening chests with them within. Just like it was in 1.8.1 before the update of playerheads.
@rypofalem
You did your math wrong, the (1 + (.2 * 3)) * .025 = .04, or 4%, not 2.65%.
That being said, the 4% is the old vanilla value and not the new 1.8 value, so you're right in saying people should be upping their lootingdroprate config setting to 0.4 to make it match the new vanilla drop rate.
Hey, I noticed this plugin uses a different formula for looting rare drop wither skulls than vanilla. Using default values, this means that you will get significantly less wither skeleton skulls with looting 3 than you would in vanilla.
Vanilla's formula for rare drops:
(.01 * lootingLevel) + droprate
Witherskull droprate with looting 3:
(.01 * 3) + .025 = .055 = 5.5%
Plugin's forumla:
(1 + (lootingrate * lootingLevel)) * droprate
With default config values and looting 3:
(1 + (.2 * 3)) * .025 = .0265 = 2.65%
You can see now that without the plugin, looting 3 increases the rate from 2.5% to 5.5%. With the plugin installed, witherskull rate barely increased from 2.5% to 2.65% using looting 3.
If you can find the time, please allow us to set the looting rate for wither skeleton skulls separately from the looting rate for all other skulls.
For server owners: A temp fix is increasing the looting rate to .4 and keeping the default witherdroprate where it is. This will keep the normal wither skull effective droprate at 2.5%, 3.5%, 4.5% and 5.5% for looting 0, 1, 2 and 3, respectively. This will obviously affect the looting rate for ALL heads and may not be desirable but it is one solution until/if the plugin is fixed.
is it MHF in creeper or is it every mob is MHF?
Can you update heads ? Like use MHF_Witch for Witch's head, it's more similar. And MHF_Sheep & MHF_Lavaslime because it seems that they no longer work (I see Steve's head).
Does the most recent version use UUID's so when a player name changes the head will change too?