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 Dec 29, 2013@fr4nnie
I don't think the command is smart enough to know that when you type 'fr4nnie' as playername, you're talking about yourself. Try just ph spawn [headname] without anything afterwards.
Edit: I've just made a new dev build that should fix this issue (however I haven't tested it) .. Care to upgrade and try your original command again?
-
View User Profile
-
Send Message
Posted Dec 29, 2013Hello again meiskam,
is there any reason that would stop them spawning in my own inventory?
i use ph spawn meikskam fr4nnie 1
and that should spawn one into my own inventory but doesn't. Also doesn't work with or without quantity.
-
View User Profile
-
Send Message
Posted Dec 29, 2013@rnoa
Do you have 'clickinfo' set to true?
@kaiitano25
You can find the most recent default config here: https://github.com/meiskam/PlayerHeads/blob/master/src/main/resources/config.yml
@ha11oga11o
As listed in the text above: "If you've given people the * permission node, they will get 100% drop rates. If you don't want this to happen, also give them the negative nodes: -playerheads.alwaysbehead and -playerheads.alwaysbeheadmob "
@fr4nnie
The "playerheads.spawn" permission only allows you to spawn heads for yourself, try adding the "playerheads.spawn.forother" permission if you want to spawn them into other people's inventories.
-
View User Profile
-
Send Message
Posted Dec 28, 2013I have been given permission as admin to use "playerheads.spawn" however when i type ph spawn playername username quantity it says i do not have the permission.
We see on the client it has been added but it still doesnt work.
Are there any others i need to add in to get it to work to spawn a players head?
-
View User Profile
-
Send Message
Posted Dec 28, 2013For my staff this plugin has 100% drop chance. But regular players are following drop chance rules. How to fix it?
Thank you :)
-
View User Profile
-
Send Message
Posted Dec 27, 2013bonjour j'ai un probleme je suis en 1.7.2 mais dans mon fichier config je n'ai pas tout les mob j'ai que zombie squelette creeper wither head mais dans le fichier texte je n'ai pas les vache mouton et autre mob .
-
View User Profile
-
Send Message
Posted Dec 26, 2013Using the latest dev build. but clicking on the heads to get player's name doesn't work. Any ideas?
-
View User Profile
-
Send Message
Posted Dec 26, 2013@XBlackLeopardX
They've added a lot of the mobs, though not all of them. I've already changed over to the MHF sheep in the newest dev version, use that if you're interested in getting the update before one is released officially.
-
View User Profile
-
Send Message
Posted Dec 26, 2013Ive noticed that some heads like the Sheep head doesnt show a sheep if im correct this is caused by someone having the playername sheep? i know that mojang added some heads for all mobs and so on using those would fix the issue of having a different head when someone buys that username if im correct
-
View User Profile
-
Send Message
Posted Dec 25, 2013@Dyenx999
What functionality doesn't work on 1.7.2?
-
View User Profile
-
Send Message
Posted Dec 25, 2013when will this plugin be updated to 1.7.2 ?
-
View User Profile
-
Send Message
Posted Dec 21, 2013@KevinEssence
If you have an error in your yaml file, it'll automatically use the defaults. Try reading the config from in-game and see what the droprates actually are.
A better way to stop mob drops is to remove the permission nodes from players you don't want to be able to get mob heads, rather than changing every mob rate to 0.
@Clairefox
There is nothing I could change inside PlayerHeads to make them work inside ChestShop. I've already done everything I can to make PH compatible with other plugins, and used all appropriate bukkit API functions. The developer of the plugin in question needs to make the changes in order for it to work.
@nickmoors
I haven't experienced this conflict, and without seeing a list of your other plugins and their version numbers, I've got no way of helping. I've just tested setting negative nodes, and it works for me.
@Weetch
Sorry, there isn't an easy way to remove this. I've kindof hard-included that part, and removing it from the other lines of the lang file would cause problems elsewhere. I suppose I'll add this to the todo list .. but I doubt it'll get done any time soon.
-
View User Profile
-
Send Message
Posted Dec 19, 2013Mob heads are all set to 0.0, why do they still drop for players...?
-
View User Profile
-
Send Message
Posted Dec 18, 2013Can you make this work with ChestShop so players can sell all these different skulls?
-
View User Profile
-
Send Message
Posted Dec 18, 2013Nickmoors,
There is two permission : "playerheads.alwaysbehead" and
"playerheads.alwaysbeheadmob"
If you give these permissions to yourself, If you kill a player or a mob
that will always drop head.
Take it from yourself if you don't want that. :)
I'm still looking for a solution how to remove [ph:spawn] from the
spawned player's head message.
Thanks for help!
-
View User Profile
-
Send Message
Posted Dec 18, 2013Is There A Way To Disable 100% dropchance for OPs Its Getting REALLY anoying
- all drop chances to 0.0 doesn't work
-the negative permissions don't change anything for ops...
- also if i use playerheads as only plugin i dont have this problem :so i think its an conflict between plugins any idea wich one?
-
View User Profile
-
Send Message
Posted Dec 18, 2013Thanks
I changed SPAWNED_HEAD= %aSuccesfully spawned %1%'s head.
But the [ph:spawn] is still there. How can I remove that?
Or change it to [PlayerHeads]?
-
View User Profile
-
Send Message
Posted Dec 17, 2013@Weetch
Edit lang.properties to have it say whatever you want
@GoguCraftLikeABoss
Set 'clickinfo' to true, in your config
@hutt132
@Endless123
Thanks for the report, sadly I don't have a skin to replace it with. I guess we'll just wait for one to show up?
-
View User Profile
-
Send Message
Posted Dec 17, 2013Please can you add configurable messages?
Like from '[ph:spawn] Spawned PlayerName's Head' to '&aSuccesfully spawned PlayerName's head!'
I'm using bukkit 1.6.2 R1.0
Thanks for help!:)
-
View User Profile
-
Send Message
Posted Dec 15, 2013@Puremin0rez
Thanks, I pulled in ghast and sheep from your edits. I like the current slime skin a lot better then MHF version, so we're keeping that for now. Hope you don't mind I edited your commit.
Dev build 3.6-SNAPSHOT (38-g4794fd8) has sheep heads fixed.
Also: Anyone know of a silverfish player skin I can use? I can't seem to find one now that AlexVMiner is gone.