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.
@meiskam
The rabbit head works! But the guardian head says "creepypig7" and is a plain female head.
@meiskam
Will do.
I've pushed a new dev build (3.10-SNAPSHOT-60-g80c5aa5) adding rabbit and guardian heads. Someone mind testing it and getting back to me if it's working?
Hello ! First of all thanks for your work ! I think I may have a problem with PlayerHeads, at first I was alerted by a player who seemed to not loot any wither skulls. So, I checked, and in fact, the loot rate is absurdly low (one or two skulls with 150 withers, even with a Looting III, which isn't normal indeed. Here's my config file: https://komic.eu/upload/2015-02/057PtvzUj.txt My players have the right perms. I can't figure out if I'm doing something wrong and if yes, what. I run the very lastest build of Spigot. Any idea ?
Here is a possible playername for 1.8 Guardian: Creepypig7
@meiskam
New mob heads.
Creepypig7 - Guardian
rabbit2077 - Rabbit
I actually posted this for you, no big deal if you didn't see it. These were used on another project to handle those heads for other reason.
@thecrazycree
@MarioG1
I'd love to add more mobs, but don't have any player accounts left to apply skins to. Do you know any players using skins I can use?
1.8 Mob Heads Please :) any plans to update it?
@IrParadox
well i personally tested it on my server, first using essentials only then with no plugins. The issue occured when essentials was installed. I have reported it to the spigot team and they are currently investigating. Spigot Bug Report. However since reporting this I decided to try using Spigot 1.8 instead of Craftbukkit 1.8 and this issue no longer occurs so maybe try that.
@BennyT93 Do you have any links/references to this being an issue with essentials or what the link might be between the two?
New mob heads.
Creepypig7 - Guardian rabbit2077 - Rabbit
Had an endermite.... but I lost it. Oh well...
Please update to 1.8!
Are there any plans to add the new mobs?
@IrParadox
same problem, essentials also causes this to happen :(
It seems there is a small issue with CB/Spigot 1.8 and at least cracked servers. I have a method of handling skins, but for the mob heads I can not get it to show the skin in inventory or as a hat. Spawning in any head will work other than the ones in which the plugin changes the name of. And if I spawn in MHF_Cow for example, when I place it and break it it changes to Cow which in return drops the skin for hat and inventory. When placed, the skin shows, but not when used as a hat or when in inventory. I am posting this comment as I do not know if others are having this same issue, and if they are than I am posting so that you may be informed of it and possibly come up with a better fix than just changing the names.
Can't spawn player heads of people that havent logged into the server? For example /ph spawn notch does not work.
@Bambucha91
Try giving your group the negative permission for playerheads.alwaysbehead and also playerheads.alwaysbeheadmob if you use mob heads.
@meiskam
Well... I am runing on 1.7.10... and even with 0.001 dropchance they drop like it is 100%...
Can you add 1.8 mobs heads
I am wondering if you could add a config option to allow the person that beheaded the player to receive the item in their inventory instead of the other player dropping it.