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 May 8, 2013@1337ingDisorder:
Sweet I thought it was something like that, thanks! Hey, chuck is awesome haha, they better make a movie :P
-
View User Profile
-
Send Message
Posted May 8, 2013@Chuck_Bartowski:
https://github.com/PEXPlugins/PermissionsEx/wiki/Advanced-permissions-setup#wiki-pex-multiworld
Using that you can set any permission to be active in any world (likewise you can negate any permission in any world).. You can stick the "worlds:" section in a group or a user definition, so you can also restrict/enable permissions in a specific world for a specific user :)
PS - Beware FULCRUM, they have agents everywhere!
-
View User Profile
-
Send Message
Posted May 8, 2013@melskam:
Woah that's an interesting way to go about it. Certainly makes the donation requirement not seem so obtuse :)
I assumed it was two different subsystems -- one to handle mapping player skins to item 144, the other to handle mapping the built-in mob skins to item 144. I guess I just assumed you added extra meta values for the mob heads so like 144:20000 would be squid head, etc.
Seems to me that would be more standalone (and more profitable) than creating extra mojang accounts for each mob, but this is said with no real understanding of the current codebase..
I wonder if Mojang has a timeout period where inactive accounts get deleted -- if so, and if you haven't signed in as each mob-account within that period, the account would be deleted and that head would stop working. It'd be easy enough to script something that just spoofs a login once a month so mojang thinks the account is active... Worth looking into at any rate, might not even be needed.
-
View User Profile
-
Send Message
Posted May 8, 2013@1337ingDisorder:
Yeah I have PermissionsEx, though which file would it be and what permission?
-
View User Profile
-
Send Message
Posted May 8, 2013@1337ingDisorder
The money required for adding a new mob to the plugin is because each new mob that is added requires a skin uploaded to a player account. In fact, I've received $0 in monetary donations that would go toward myself; everything I have gotten thus far has been in the form of MC gitcodes, which is the only way I know of to add more heads. It's not possible for me to add a few lines of code to make every mob supported, without using MC accounts.
-
View User Profile
-
Send Message
Posted May 8, 2013@Chuck_Bartowski:
Per-world permissions configuration is *always* best left to your permissions plugin.
In fact it's the mark of an out-of-date programmer if they try to implement their own multi-world config -- all the multi-world permissions configs should be in one place: your permissions file.
If your permissions plugin doesn't have the ability to define permissions on a per-world basis then you need a better permissions plugin. (I recommend PermissionsEx, as does most of the Bukkit community)
@robsherwood:
Code developers have the same requirements as all other human beings -- specifically food, shelter, and an internet connection ;)
That said, I do think setting a minimum $30 donation amount to have him add a single mob to the plugin is a bit steep, especially considering there are about a dozen other Head-Drop plugins and more than one of them already offers other mobs without extorting donation money out of its users.
If you can't afford $30 per mob, try one of the many other head-drop plugins :) Or just be patient -- eventually the dev will have no choice but to add those extra mobs for free, just to keep up with the competition.
-
View User Profile
-
Send Message
Posted May 8, 2013Could someone afford 14 gift codes so all mobs are added in this plugin. :P
-
View User Profile
-
Send Message
Posted May 6, 2013@meiskam
Great plugin, but as the owner of a smaller server, I can't afford $30 per mob, sorry. That's just crazy.
EDIT: Never mind, just learned how it works. :)
-
View User Profile
-
Send Message
Posted May 6, 2013Where is the per.world permission found? I would like to disable head drops in certain worlds, and I can't find it in the Player Heads directory.
-
View User Profile
-
Send Message
Posted May 6, 2013/PlayerHeads update dosnt work.
-
View User Profile
-
Send Message
Posted May 5, 2013Thanks melskam,
I can confirm it is indeed working for the mobs in the list, just not for the more common mobs.
Oddly enough #horse wasn't working when I made my earlier post but it's working now so maybe I was just typing #hose or something hehe
@JustinM511: You can remove all the player heads in your world if you have worldEdit and worldGuard installed. Just do these commands:
/region select __global__
//replace 144 0
The first command selects your __global__ region, which represents your entire world (Note: that's two underscores on each side of global).
The second command replaces every item ID 144 on the map with item ID 0
(item ID 144 is a mob head, which includes player heads, and item ID 0 is air, so you're replacing every block that is a mob head with a block of air)
Note that in the //replace command you have two slashes, as it's a WorldEdit command.
If you don't have WorldEdit and WorldGuard installed, it's worth considering installing them. A quick search for "worldedit" on youtube will convince you it's a necessary tool hehe
-
View User Profile
-
Send Message
Posted May 5, 2013If anyone is having issues with some feature, feel free to give me the "playerheads.config.get" permission, and send me a pm with your server address and I'll come see what the problem is.
@1337ingDisorder
@JustinM511
It sounds like you're trying to spawn mob heads that are not supported. Take a look at the list in the Notes section, only those are available for use. If you'd like cow, sheep, etc supported, feel free to send me a MC giftcode per mob head you want.
@JustinM511
There is no function of this plugin that allows removing all heads.
@SjorsMaster
Thanks, but I've already got a pig zombie head scheduled for the next version.
-
View User Profile
-
Send Message
Posted May 5, 2013@1337ingDisorder
It shows Steve until you wear or place on the ground.
EDIT: Nevermind, a bunch are not working for me. (Cow, pig, sheep)
-
View User Profile
-
Send Message
Posted May 5, 2013Is there any way to remove all spawned heads? Also, even though i disable spawning of mob heads, they still drop when killed.
^ I added the negative permission nodes for the dropping.
How can I give someone a head via the console? Thanks (Never mind)
-
View User Profile
-
Send Message
Posted May 5, 2013I've updated the .jar to v3.1.0093 and updated CraftBukkit to 1.5.2, I have Op, and as per the instructions on this page I've tried all of the following:
/ph spawn #horse
/ph spawn #pig
/ph spawn #cow
...etc
They all spawn a standard Steve head instead of the mobs I've specified.
Even though the instructions above include the hashtag, I figured I'd try without:
/ph spawn horse
/ph spawn pig
/ph spawn cow
They all spawn a standard Steve head too -- it seems none of the mob heads are working as expected.
Am I doing something wrong?
fwiw the actual player heads are still working as before (eg, "/ph spawn Notch" still spawns a head with Notch's skin) and the rename function works as expected, it's just the mob heads that aren't working.
-
View User Profile
-
Send Message
Posted May 5, 2013Head Found: HOw to add?
-
View User Profile
-
Send Message
Posted May 4, 2013horsedroprate?? WTF HORSES ARENT ADDET?
-
View User Profile
-
Send Message
Posted May 4, 2013Hi! What am I doing wrong? I have installed the plugin, given permissions and I even changed the players' drop rate to 100% and it still doesn't work!
-
View User Profile
-
Send Message
Posted Apr 30, 2013Player heads get changed to a Skeleton head if they are hit with an anvil a few times if you don't have access to that region.
Please look into this as since it's not a "block" change logblock doesnt log it so we can't even trace it.
Thanks
-
View User Profile
-
Send Message
Posted Apr 30, 2013To stop spam in the origional authors thread I have forked the community version to:
http://uk.nanoy.org/forum/index.php?p=/discussion/68/plugin-communityplayerheads
also thank you ZwingGX I have added that one