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.
@Darius013
No, the ability to wear heads in the helmet slot is added by default by Mojang. A quick search through bukkit dev shows this plugin: http://dev.bukkit.org/server-mods/equipcontrol/. It may do what you're looking for
Hi, is there a permission for Not to put the head in the helmet slot?
@lolitsthad
I just tried to spawn that head on my server with v2.9.0084 and it worked fine. Perhaps the config "fixcase" is causing this issue? Look in your "players" folder for a file called "lolpvp_santa.dat" (with lowercase). If it's there then someone joined your server with that lowercase name, and PlayerHeads now thinks that's the correct way to capitalize the name. You can try a few things to fix this: rename the file to "LOLPVP_Santa.dat", delete the file, or turn "fixcase" to false.
New bug that wasn't present in previous versions - if you have multiple capital letters in the username of the player you're trying to spawn, it changes it to lowercase. Ex. I have an account named LOLPVP_Santa - when I use /ph spawn LOLPVP_Santa it instead spawns lolpvp_santa which shows the steve head instead because the capitalization is wrong.
Note - if there is only 1 capital letter at the start of the username, it works correctly.
@GamRGrrrl
All heads added would be the standard square box. If you're thinking of adding some I suggest picking ones that would look good as a uploaded player skin's head.
We are loving this plugin on our server, and I was kinda hoping for a couple more mob types, but I have a question before we consider doing something about it; For odd-shaped heads, like silverfish and bats, and the villagers/witches/golums, would it remove the odd shaping and simply make them square, or would they remain their original shapes? I absolutely love the look of these mobs, and their shaping, but don't think it would translate so well if their shaping was crammed into the standard square box. Thanks for your time ^_^
@YourMCAdmin
The next version will have this removed, in the meantime just add permission nodes for your ops: "-playerheads.alwaysbehead" and "-playerheads.alwaysbeheadmob" (note the minus signs)
Hey there! I love the plugin. Is it possible to make an option in the config for turning off the function of OPs always beheading? Our ops play on my server, and it gets kind of messy every time we kill a mob we get a head.
Thanks!
@meiskam
Well its great it can be added but I can't pay 20$x+/- 10.... :s so yeah..
@CollinDesigns
hehe, I probably should have stated that that will only work with the available heads: creeper, zombie, skeleton, wither, spider, enderman, and blaze. If you want this plugin to support cow and other heads feel free to send me 1 MC giftcode per mob type, and I'll add it.
@Darius013
Sure it would be possible, just ask the developer of whatever selling plugin you use.
How I rename a head to a mob head? Its saying: "Added ability to spawn or rename heads to mob/custom mob heads with format: #<mobname> ex. #blaze"
But when I try: /ph rename #cow its doesn't work. Edit: Ow ok it does work but not for all mobs :( Is it possible to a this feature for all mobs? Like, chicken,pig,wolf etc?
Is there a possible sell house for this? With ChestShop or something like that? because the ID of the custom heads are the same that for the one of Steve.
@Jleeevinnn
Ok, that's because You're op and me too, try with another account :)
@Darius013
Im getting the same thing, I have looting even set to 0.0 and a zombie/skeleton head drops 100%
Hey, nice plugin but they always get the head and the rates are for example 0,005 to zombies and when i kill one always drop a head please help :S
@wrecktify80
Correct, they shouldn't be true by default. I accidentally gave "playerheads.*" to OPs, and therefore ops also got the always nodes. Will be fixed in the next version, but I'm not putting out a new version just for this, because it only affects people who are server operator. For a temporary fix add negate permission nodes to your ops.
@rsaylor73
Looks to me that your server has a larger problem, like perhaps file corruption. From just the log you pasted, 4 of your plugins had the same exact problem: "error in opening zip".
@allix8
What?
I will try again, but I didn't add them as true. Shouldn't they default to false in a fresh install?
@wrecktify80
You didn't have to go back to a previous build. If you read the changelog on this page you'd noticed he added 2 new permission nodes: "playerheads.alwaysbehead" to always drop a player's head from PvP, and "playerheads.alwaysbeheadmob" to always drop heads from mobs. Just set these to false in your permissions file and you should be good.
Getting this error with latest. I am going to roleback on level.
2013-02-01 04:03:28 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R0.1-b2602jnks (MC: 1.4.7) (Implementing API version 1.4.7-R0.1) 2013-02-01 04:03:29 [SEVERE] Could not load 'plugins/PlayerHeads.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at java.util.jar.JarFile.<init>(JarFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:114) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243) ... 8 more 2013-02-01 04:03:29 [SEVERE] Could not load 'plugins/NoCheatPlus.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at java.util.jar.JarFile.<init>(JarFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:114) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243) ... 8 more 2013-02-01 04:03:29 [SEVERE] Could not load 'plugins/WorldGuard.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at java.util.jar.JarFile.<init>(JarFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:114) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243) ... 8 more 2013-02-01 04:03:29 [SEVERE] Could not load 'plugins/WorldEdit.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at java.util.jar.JarFile.<init>(JarFile.java:150) at java.util.jar.JarFile.<init>(JarFile.java:114) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243) ... 8 more
I went back to v2.8.0075 and don't have this problem