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.
It is possible to prevent skulls from being destroyed by water? That's one of the most annoying things in my server :(
@broluigi
As far as I'm aware, It's currently working. If not, please submit a fully detailed bug report including:
along with a description of the exact issue
will this update to fix heads?
@raton023
droprate * (1+(lootingrate * enchantmentlevel))
0.002 * (1+(0.2 * 3)) = 0.0032 = 0.32% = 1 in 312.5
it's calculated with a semirandom number on each death, pure probability
@xtzstud
Interesting, I've never seen that one before. The new switch to UUIDs is causing tons of havoc with this plugin, especially because Bukkit didn't implement a full API for UUIDs with Skulls before Bukkit died. This problem may be showing itself because of the Cauldon server, but the error was on my part .. I didn't read the documentation of a function well enough.
If you would, try this build: http://www.shininet.org/minecraft/bukkit/playerheads/3.10-SNAPSHOT/c7291d8/PlayerHeads.jar
Hopefully that makes spawning work .. but more likely it'll just make the error go away, and still won't spawn what you're looking for .. here's to hoping!
drop chance 0.002 looting rate 0.2 sword used have looting 3 ........... so the formula is 1 + ( 0.2 * 3 ) : 1.6 1.6 * 0.002 : 0.0032 it will take like 300 mobs kill to get the head is that correct? is it from the entire server or just the mobs you kill the chances if you get the zombie head is it affect the probs of the snowman does it accumulative or just probability?
When ever i try to spawn in a head like i used to be able to do it throws this error
http://pastebin.com/JKdRrZS2 the top error is from using /ph spawn notch the bottom error is from using /playerheads spawn notch I did both just in case it was an error with the alias
It works if the player is only but if they are offline it throws this error
was this function removed because of the new UUID from mojang? or is it a problem with my server?
PS:I'm using cauldron for 1.7.10 and using latest version of java (java8 update25) and latest forge version
@lANTHONYl
If you're using the 1.8 client, they show up skinned in your inventory .. anything before that they show up as flat Steve heads.
@lANTHONYl
No problem :D
@lANTHONYl
Oh, ok. Thanks for letting me know.
@lANTHONYl
Hey lANTHONYl, no the player heads do not show up in inventory with the skin. They all look like steve.
@shop1126
I'm asking a general question about the plugin, i've never used it. I was not commenting on your problem. I want to know if this plugin gets heads to show up correctly in the player inventory.
@lANTHONYl
They show up as the correct player, sometimes after I place a head it will identify the correct user then after about an hour or so it will change to a Steve head. While some heads have stayed for days.
Do heads show as steve in inventory, or are they the correct player?
I get the same issues as thegotak except I am running a 1.7.9 Spigot server. It either comes up as Steve or a Skeleton. I am running the latest version of PlayerHeads.
Why all new player heads after place change to skeleton head? I am using spigot 1.8 protocol builds + Carbon.
@tommyraudy
Why are you using such a dead plugin?
conflict with uskyblock...uskyblock will error if have this plugin
@RGBGamingMC
What server version are you using? Is it an online or offline("cracked") server? Are you using bungee? What playerheads version? Do any of the mob heads work (/ph spawn #cow)? Were you using a 1.7 or 1.8 client? Please link a paste (pastebin.com) of the internal error.
When i use /ph spawn <username> and the player isnt online or hasnt been on before it throws an internal error. (Example: /ph spawn jeb_) but if i have used ph spawn on a player in the past i CAN get their head even if they aren't online.
Thank You ! ;-)