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 Jan 17, 2013Could you add the playerhead drop rate? or is it already added if so which one is on the config? Also, what is the pklonky, the droprate and the looting rate mean? what do they do?
-
View User Profile
-
Send Message
Posted Jan 16, 2013@Curtis4321
There's nothing I can think of in the code that's particularly cpu intensive. However, I've not tested it on a server with over 30 or so.
If you're interested in debugging where your lag is coming from, I'd be interested in looking at the results of some java performance monitor, perhaps JProfiler or Glassbox? I've never used a monitor before, so I wont be able to help you set it up :)
-
View User Profile
-
Send Message
Posted Jan 16, 2013Does this cause lag issues on large servers? As i run it, and i am getting quite a bit of lag since installing, (150 to 300 players)
-
View User Profile
-
Send Message
Posted Jan 15, 2013@smallpen
Your OS tells Java what locale to run at when it starts, and my plugin uses this value to determine which file to load. You have a couple options to try and make it work:
java -Duser.country=TW -Duser.language=zh ...
Also: This is the first version with language packs allowed, it's very possible I did something wrong when implementing it. I'll do some more testing to make sure it actually works how it's supposed to.
-
View User Profile
-
Send Message
Posted Jan 14, 2013Hello everyone:
The transfer file that i made new one "lang_zh_TW.properties" in config folder, but plugin still use original "lang.properties" file. How can I do ?
-
View User Profile
-
Send Message
Posted Jan 14, 2013@DjSmeXhy
The PlayerHeads v2.7.0069 download clearly marks that it requires a higher version of CraftBukkit then you are using.
@jorisk322
Thanks for the info, I'll see what he has to say about me using them.
BTW: Love your Fly plugin, I've been using it on my server for over 4 months now
@Caddub
This plugin has nothing to do with shops. If you want these items to work with whatever shop plugin you're using, ask the author of it.
@coolo1
Sure, I can add a config option for that.
-
View User Profile
-
Send Message
Posted Jan 14, 2013@seeyalater58
I have this problem too...I have this error:
-
View User Profile
-
Send Message
Posted Jan 14, 2013You might want to send Sethbling a PM on youtube, because he has some usernames with custom heads on them for the PVP-map he made: http://www.youtube.com/watch?v=INWmQvy2PLw
-
View User Profile
-
Send Message
Posted Jan 12, 2013@TheXjungleX
Please provide me the error dump from the console when this happens. I can not reproduce it.
-
View User Profile
-
Send Message
Posted Jan 12, 2013Every Time When I Try To Spawn A Head In e.g /PlayerHeads spawn TheXjungleX It says "A Internal Error Occurred While Attempting To Perform This Command" Help Me Please?
-
View User Profile
-
Send Message
Posted Jan 12, 2013Seeyalater 58 is correct.
-
View User Profile
-
Send Message
Posted Jan 12, 2013this plugin used to work for me on 1.4.5 except i had to do /skull player and i would get that players head. Now since the 1.4.6 NOTHING works!!!!!!! it saws spawned player head. I go place the head and nothing works! Please help me because i LOVED this plugin used it all the time!
-
View User Profile
-
Send Message
Posted Jan 10, 2013@JBHI234
Stupid... Link is here http://dev.bukkit.org/server-mods/player-heads/files/21-v2-7-0069/
-
View User Profile
-
Send Message
Posted Jan 10, 2013@JBHI234
Your joking right?
-
View User Profile
-
Send Message
Posted Jan 10, 2013Where can i ====== Download it??? ======
-
View User Profile
-
Send Message
Posted Jan 9, 2013I just make not 0.02 - I made 1.0 ... But they dont throughing away! Help please!
-
View User Profile
-
Send Message
Posted Jan 9, 2013Please make it where heads can be sold in shops as 397:3 was working for 1.4.5.
-
View User Profile
-
Send Message
Posted Jan 4, 2013Please add an option to put the head in the players inventory (The player that killed the other player) I need this because atm when players are killed their heads get put in their deathchests, and the killer cannot get them.
-
View User Profile
-
Send Message
Posted Jan 4, 2013@MrREOM
Yes /ph rename
-
View User Profile
-
Send Message
Posted Jan 3, 2013Is their a command were you can spawn any players head for decoration maybe in spawn