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.
I updated to 250060 but it seems that now when I break a head it just turns into a generic steve head. Is there a certain version of Bukkit needed to fix that or another workaround?
can i be mod because i can make pixelart and i am very good with redstone. plus this server is really cool
Is it possible to add a permission to have a group bypass the odds?
Like a donor group gets a 100% chance.
@diskman2000
The fix is, bug whoever wrote whichever plugin you're using into making a new version with whatever is causing it changed. From what I've read in the comments here, the author of whichever one LEOcab is using put out a new version, and he started using it.
@GTALionKing
I've never messed with mineshafter, but I'll take a look into it. Maybe I can make it work, maybe not.
@Kaid146
All of your requests would require a client-side mod.
@ImCraxl
Open the jar like a zip file, there's a config inside you can copy out.
OOOH... Also one more thing :D LOL I know I ask a lot of questions. Can you add that it also has the hat of the player on there head? Instead of just having there head and not like a cowl or something that a lot of skins use these days.
Nevermind :D I fixed it. But I would like to suggest something. I don't know if it is possible with a server side mod or plugin but. Can you re-texture the player head when its in the players inventory or is that not possible. Great Plugin by the way keep up the good work gentlemen.
Aight... So I have a problem with spawning in heads. Okay when I spawn in the heads it generates a Steve head instead of the player origin head. Can you please help me?
Hey! This plugin looks great but anyway you could make it compatable with mineshafter servers? Thanks ^.^
Okay.. Whats the fix for Orebfuscator making the heads into skellys when I log in???
Please Help It Doesnt Generate The Config! Help Pleasee
@silentdojo
lol i didn't even notice this lol, thanks for pointing it out...
@rtcabooservb
It's already updated. Look in the changelog right above us and click "2.5.0060"...
He basically had this updated a few hours after the breaking change was released from bukkit.
@meiskam
Broke with craftbukkit API changes and such. Mind updating for those who stay up to date with beta builds?
Breaking commit -> https://github.com/Bukkit/CraftBukkit/commit/8f12382e8efc8c39a919af9180dd884caf3720ff
@LEOcab Nevermind. It was an Oreby issue and he fixed it. :)
@MattyLuggs
PlayerHeads does not add, change, or interfere with wither skulls dropping. No matter what your settings are wither skulls will drop (it's coded into the minecraft server).
If I negate the node:
playerheads.canbeheadmob
Does this mean they cannot get wither skeleton heads either? (I still want people to be able to get these)
I have had to put this node to false because even when I set the drop rates for the mobs to 0 people can get mob heads.
@Wolfy10
The following permission nodes default to TRUE:
If you don't want a player to have these permissions explicitly negate them. For example, add the permission "-playerheads.canbehead" (note the minus sign) to someone to make it so they can't behead someone.
Of course, like I stated. I didn't give anyone the permissions. If you would want more info this is what I'm using: PlayerHeads:2.4.0057 and bpermissions 2.9.25. I'm currently the latest on both of these plugins and on the right beta build.
The permissions work with commands, so people can't spawn heads if they don't have the spawn permission but the mob kill and player kill heads aren't using the permission, they're just following the config file. They should only follow the mob kill and player kill parts of the config with the right permissions but they don't.
Is that enough info?
@Wolfy10
Did you negate the permission nodes that you don't want people to have?
RemyPas is right. Say I gave the mob drop values to "1.0" and no one the permission, everyone can still get the heads. Same with player heads. Hope to see this fixed soon!