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 Nov 3, 2012Apparently heads spawned through this plugin aren't and can't be protected by any other plugin (Factions, for example). Could you look into this? I really can't have heads around the spawn when they're grief-able.
-
View User Profile
-
Send Message
Posted Nov 2, 2012@Darkhand81
No, it's not possible to make it case-insensitive. Your client automatically grabs the skin from Mojang's skinserver, and if you request it in the wrong case it won't return the skin. Edit: I'll look into a possibility of sometimes correcting the case, I've replied to the ticket.
-
View User Profile
-
Send Message
Posted Nov 2, 2012Manually spawning a player's head requires case sensitivity, eg "/ph spawn Notch" will work while "/ph spawn notch" will not.
Is it possible to make the names case insensitive? Would make things easier when trying to spawn the head of someone named something like IamACoolDudeWhoUsesLotsOfCaps. :)
I created a ticket for this as well.
Thanks!
-
View User Profile
-
Send Message
Posted Nov 2, 2012@WhiffleX
Make sure you actually download the newest version, for some reason the giant "Download" button grabs an old version.
-
View User Profile
-
Send Message
Posted Nov 2, 2012I tested this with skeletondroprate: 1.0 and heads aren't dropping. I tested this across various values and hundreds of mobs. Not one head was dropped. They were killed with swords and potions.
-
View User Profile
-
Send Message
Posted Nov 1, 2012@Klokas
I tried to fix this, but it would require either injecting some data into the TileEntitySkull class that wasn't ment to be there to begin with (I couldn't figure out how), or using some external storage system. The same exact thing happens if you try to rename dirt, place it, and mine it back up.
@alanthya
I've added a config option "clickinfo", if true players will get a message every time they leftclick a placed player head with the name of the skull owner. This is disabled by default.
@mechanicaltigers
Thanks for the advertisement, I really appreciate it.
@Dysthymical
Heads should no longer duplicate while in creative mode.
-
View User Profile
-
Send Message
Posted Oct 31, 2012@alanthya
A simple enough way for the plugin author to do this would be to simply check for when the placed head is left clicked and write the name in the chat. I'm not sure whether or not the player name is tied to the heads but it should be simple enough to make a small SQL database to store the head "owner" info.
-
View User Profile
-
Send Message
Posted Oct 31, 2012Great plugin, I've wanted something like this since I created my server. Still would like some way to lock placed heads down, and maybe a command to identify who's head it is when targeted? Thanks for the great plugin!
-
View User Profile
-
Send Message
Posted Oct 31, 2012Hey, I just thought I'd share with you this Reddit post I made about your mod and the interesting experience it brought myself and the players on my server. You did a very good job on this, thank you.
-
View User Profile
-
Send Message
Posted Oct 30, 2012seems for me that the permission did not work with pex. my users have no permissions but heads are rolling all over the server.
-
View User Profile
-
Send Message
Posted Oct 30, 2012I found another minor bug, when you rename a head, mine it, it drops head with its original name...
-
View User Profile
-
Send Message
Posted Oct 29, 2012https://github.com/Bukkit/CraftBukkit/commit/796b4cf81b795253f2e137cfe7d41491e752fab7 just fixed the bug. of Duplicating heads.
-
View User Profile
-
Send Message
Posted Oct 28, 2012Placed heads apparently aren't protected by any plugin that normally protects blocks.
Regular heads (Skeleton skull, Creeper head etc) are protected. Heads spawned by this plugin can always be destroyed and picked up.
-
View User Profile
-
Send Message
Posted Oct 28, 2012Excellent plugin Meiskam! Thanks.
-
View User Profile
-
Send Message
Posted Oct 28, 2012@BadHaders
That's fixed in the latest release.
Anyways, another bug. In creative mode when you break the head it drops the head. Not a major bug. Great work on the plugin though!
-
View User Profile
-
Send Message
Posted Oct 28, 2012Found an error, breaking a placed head drops it back, plus another head too
-
View User Profile
-
Send Message
Posted Oct 28, 2012It is out now :)
-
View User Profile
-
Send Message
Posted Oct 27, 2012@silentdojo
Oh, okay, thanks, because, I had just read about being able to set the skulls as certain players' heads on the minecraft wiki, then I came on here and saw this plugin, and my brother wanted me to get it, then I saw this had a download, and I was wondering if craftbukkit 1.4 was out yet.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@dockter
NBT. Check the source to understand.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@dancats511
It's all programmed to be ready for when the new Craftbukkit 1.4 is ready so just wait till it's up and have this plugin ready to go. No need to update the plugin.