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.
-
View User Profile
-
Send Message
Posted Jul 8, 2013@pvpSmashMC
The config file works perfectly (on 1.5.2 at least). Your permissions are just overriding the config file.
-
View User Profile
-
Send Message
Posted Jul 6, 2013Nice plugin guys :), keep up the good work!
-
View User Profile
-
Send Message
Posted Jul 5, 2013Fixed and NCP-compatible version: http://sudl.rsod.org/pheads-ncpfix/ Modified sources there too. No warranties, use at own risk. Based on latest build. If NCP found, hook will be used.
-
View User Profile
-
Send Message
Posted Jul 4, 2013can you maybe do something with nocheatplus finally? there is an api for it by the way.
-
View User Profile
-
Send Message
Posted Jul 3, 2013@Chaznuts
I want them to be able to rename steve heads, but not turn them into mob heads
-
View User Profile
-
Send Message
Posted Jul 3, 2013@Chaznuts
So just add permission node - playerheads.alwaysbeheadmob to stop 100% mob head drop rates? Why dont the config file work?
-
View User Profile
-
Send Message
Posted Jul 2, 2013@PhanaticD
Don't give them the permission node "playerheads.rename"
-
View User Profile
-
Send Message
Posted Jul 2, 2013@pvpSmashMC
If you have the permission node *, it will ALWAYS drop heads, both from supported mobs and people. You should not give this permission node to normal players, but to prevent heads from always dropping from you, keep the * permission node, then add in a negative node for "playerheads.alwaysbeheadmob" and "playerheads.alwaysbehead". This will stop you from ALWAYS getting head drops and then default to the config values.
-
View User Profile
-
Send Message
Posted Jul 2, 2013BUG The config option to stop Mob Heads from dropping DOES NOT WORK!
-
View User Profile
-
Send Message
Posted Jun 30, 2013Please update to CraftBukkit 1.5.2R0.1 PLEASE.
-
View User Profile
-
Send Message
Posted Jun 28, 2013@Chaznuts
just with /ph rename they are able to convert steve head to a mob head
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Chaznuts
Thanks for your quick reply! Look forward to the update!
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Bluemadness107
Mob heads are pulled directly from real account skins (aside from wither skeleton, skeleton, and zombie). The author of this plugin only has access to so many accounts. Eventually, there will be support for everything, but in the meantime, that's all we get for now. The more rare mobs' heads seem to be added first, which makes sense, since heads resemble sort of a trophy (and those passive animals can be bred into infinity).
-
View User Profile
-
Send Message
Posted Jun 27, 2013It's working- It seems i have to change it through the /ph config set command, because the config.yml doesn't seem to be working. Anyway, i was wondering why there are mooshroom heads and pig heads but then we're missing sheep heads, cow head's, chicken heads, and etc. Why is that?
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Bluemadness107 Try giving the permission nodes playerheads.canbeheadmob to get mob heads and playerheads.canbehead to get player heads. These should default to true, but adding them might solve the problem.
@p90nub Bat skin is known and will be fixed in the next update. The user skin that this head was being pulled from was changed, so just keep an eye out for the next version!
-
View User Profile
-
Send Message
Posted Jun 26, 2013Downloaded this today and it seems to work great! Only issue i'm seeing so far is one of my players killed a bat and got its head, and all it's a random player head with white hair and red eyes. I did /ph spawn #bat and got the same thing. Just thought I'd let you know Bat seems to be messing up. Great plugin!
-
View User Profile
-
Send Message
Posted Jun 26, 2013Hey, just a feature suggestion. Probably isn't even possible, but if it is you would make my day.
It'd be awesome if I could hold a head in my hand and right-click on a mob to put that head on the mob.
With Zombies, Skeletons, etc it should be easy to code, since the head can be worn just like a helmet... But not sure how easy it would be to do with things like sheep and pigs.
If you can find a way to do it with sheep, pigs, ocelots, etc, that'd be incredible. Kill someone, take their head, then slap their head on some random animal so someone else some time down the road might stumble across a sheep with their own head on it :D
Or, even better, kill someone and put their head on your tamed wolf... Then that head follows you around everywhere :D
-
View User Profile
-
Send Message
Posted Jun 26, 2013I set the drop rate to 1.0 and it still doesn't drop heads, what's wrong?
-
View User Profile
-
Send Message
Posted Jun 26, 2013@beastlike56
Look up how to use permission nodes. If the config percentages are at 0, the heads WILL NOT DROP if the players DON'T have the permission nodes playerheads.alwaysbeheadmob and playerheads.alwaysbehead. If you give them the permission node *, you'll have to negate these two nodes. Again, if you don't know how to do this, either look it up or drag your server folder to the recycle bin and empty it. You should not have a server if you don't use permission nodes. It's not our job to teach you how to run things.
-
View User Profile
-
Send Message
Posted Jun 25, 2013@PhanaticD
Talking about renaming with an anvil? Probably not.. bothers me too. Unless there's a way to prevent a certain data value from being put in the anvil, I don't think there's a way to prevent this.