Player Heads

Spiked Heads

Ever PVP someone and get no good loot? Feel like you deserve a trophy for your victory? 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. Or wear your opponent's face as a mask, like camouflage!

Installation

Place PlayerHeads.jar in your plugins folder, on server start the configuration will be generated.
If you can't be bothered to read the rest of this page, then just watch this video by OfficialK4G:

Portuguese video: http://youtu.be/OqhI_oIGPWo
German video: http://youtu.be/ijEws5yjo6Y

Try It

Server: mc.inCRAFTion.com
Website: inCRAFTion.com

Configuration

ConfigDefaultRangesDescription
pkonlytrue[true/false]When true trophies only drop when a player kills another player (as opposed to self drowning, etc)
droprate0.05[0.0 -> 1.0]Chance that a trophy will drop when a player dies (1 is 100%, 0 is never)
lootingrate0.2[0.0 -> 1.0]Increases all droprates by lootingrate percent per looting level when a enchanted weapon is used
mobpkonlytrue[true/false]When true mob trophies only drop when a player kills the mob (as opposed to a lava blade or fall death)
creeperdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when a creeper dies
zombiedroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a zombie dies
skeletondroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a skeleton dies
witherdroprate0.025[0.0 -> 1.0]Chance that a mob trophy will drop when a wither skeleton dies
spiderdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a spider dies
endermandroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when an enderman dies
blazedroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a blaze dies
horsedroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a horse dies
squiddroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when a squid dies
silverfishdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when a silverfish dies
enderdragondroprate0.05[0.0 -> 1.0]Chance that a mob trophy will drop when an ender dragon dies
slimedroprate0.001[0.0 -> 1.0]Chance that a mob trophy will drop when a slime dies
irongolemdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when an iron golem dies
mushroomcowdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a mushroom cow dies
batdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when a bat dies
pigzombiedroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a pig zombie dies
snowmandroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a snowman dies
ghastdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when a ghast dies
pigdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a pig dies
villagerdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a villager dies
sheepdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a sheep dies
cowdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a cow dies
chickendroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a chicken dies
ocelotdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when an ocelot dies
witchdroprate0.005[0.0 -> 1.0]Chance that a mob trophy will drop when a witch dies
magmacubedroprate0.001[0.0 -> 1.0]Chance that a mob trophy will drop when a magma cube dies
wolfdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a wolf dies
cavespiderdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a cave spider dies
fixcasetrue[true/false]When spawning/renaming heads, will attempt to make the input case insensitive
updatechecktrue[true/false]Checks for update on startup and messages admins a link to download the next version
broadcasttrue[true/false]Sends a global message when someone gets beheaded
broadcastrange0[positive int]Radial distance in meters in which other players will hear the broadcast message (0 is unlimited)
antideathchestfalse[true/false]Do not allow other plugins to fiddle with dropping player heads, makes certain they drop on the ground
dropboringplayerheadsfalse[true/false]Drop plain heads when a player dies, instead of the player's head

Commands

/PlayerHeads (alias /ph)
/ph config <set/get/reload> [variable] [value] — adjust config values in-game, or reload changes from disk
/ph spawn [headname] [playername] [amount] — spawn your own head, or one of any other headname, or a mob head with #mobname, optionally for another player
/ph rename [headname] — renames the head you're holding

All commands default to OP, but also have permissions.

Permissions

NodeDefaultDescription
playerheads.config.getopread-only access to configs
playerheads.config.setopcan edit configs or reload from disk
playerheads.spawnopcan spawn any playername head for self
playerheads.spawn.ownopcan spawn only your own head for self
playerheads.spawn.forotheropcan spawn any playername head into someone elses inventory
playerheads.renameopcan rename head in hand
playerheads.canbeheadtruecan lop of someone elses head
playerheads.canloseheadtruecan have his head lopped off
playerheads.canbeheadmobtruecan remove heads from mobs
playerheads.updateopwhen update available, can view notice and manually update
playerheads.alwaysbeheadfalseIgnore drop rate for player heads and drop 100% of the time
playerheads.alwaysbeheadmobfalseIgnore drop rate for mob heads and drop 100% of the time
playerheads.clickinfofalseWhen a player head is clicked the player name will be displayed

Notes

  • Join us on irc at: irc://esper.net/PlayerHeads
  • If you want more mobs supported send me 1 MC giftcode per mob type, or transfer an old/unused account to me.
  • 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, also give them the negative nodes: -playerheads.alwaysbehead and -playerheads.alwaysbeheadmob
  • If you want to disable head drops in a specific world, use your permission plugin to add the following negative nodes for that specific world: -playerheads.canbehead and -playerheads.canbeheadmob
  • Spawn mob heads with the following names: #creeper #zombie #skeleton #wither #spider #enderman #blaze #horse #squid #silverfish #enderdragon #slime #irongolem #mushroomcow #bat #pigzombie #snowman #ghast #pig #villager #sheep #cow #chicken #ocelot #witch #magmacube #wolf #cavespider

TODO / Known bugs

  • Renamed heads (with an anvil) don't stay renamed after placing and mining them.
  • If custom mob heads get destroyed from flowing water they will temporarily loose their custom display title.
  • "lang_[language]_[country]_[variant].properties" don't seem to work, for now just use the file name "lang.properties"

Dev Builds

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
http://ci.md-5.net/job/PlayerHeads/

Sourcecode

I've included the .java files inside every jar download, or access it via github:
https://github.com/meiskam/PlayerHeads

Changelog

3.9
  • Changed clickinfo from a config option to a permission
  • Ignore cancelled skull click events
  • Compiling against Spigot now (build 1649 patched with 20141001a)
  • Updated custom mob head: wolf
3.8
  • Fixed updater
3.7
  • Updated custom mob heads: ghast, sheep (Thanks Marc Watson)
  • Fixed spawn command to check for the correct permission when you type your own playername in.
  • Updated to Updater 2.0
  • Updated custom mob head: silverfish (Thanks XlexerX)

Donate

Donate

Stats

MCStats Plugin Metrics for Player Heads
Jacekk Download Stats for Player Heads

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of rangewonk rangewonk Jan 20, 2014 at 19:25 UTC - 0 likes

    drop rate is 0.05 is that 5% or is that 0.5 % ?

    and cowdroprate is 0.002 is that 0.2% or is that %2 im getting confused with this

    http://i60.tinypic.com/etfsea.jpg

  • Avatar of lst96 lst96 Jan 20, 2014 at 16:55 UTC - 0 likes

    @meiskam: Go

    Couldn't you use the MHF skins the mojang provides, that way you don't have to worry about it changing later down the road.

    http://imageshack.us/a/img703/2029/bannertca.png
    IGN: xBlackPoison357x

  • Avatar of meiskam meiskam Jan 18, 2014 at 07:43 UTC - 0 likes

    @CommodoreAlpha: Go

    Any time I've got to change the playername in a new version, the old ones are still stored in the internal map. While I don't have it automatically scan through all your map files trying to replace heads (resource intensive), I've set it up so that it'll check if the playername is the most updated one when you poke a head that's placed on the ground. This will leave some heads as the wrong/old skin as soon as the server is updated to the new version, however any time that head is interacted with it'll realize it's the old skin and auto update it.

    Currently, only a few heads are still based on 'trust' that the account owner will not change the skin: ender dragon, slime, witch, wolf, of which are random player accounts, and silverfish, bat, snowman, which both the account owner and I have the password to.

    @SoloHatreDragon: Go

    I've just started up a bukkit 1.7.2 R0.2-3-g530fcb7 server with only the playerheads plugin, and used this config: http://pastebin.com/raw.php?i=J4BTk6pR Seemed to work fine for me.

    BFAK:meiskam,74919,2d6c5de1b19d7aabc1fb74542e178ac033f9e170a90b33ea1616af55a9476d26

  • Avatar of SoloHatreDragon SoloHatreDragon Jan 18, 2014 at 07:26 UTC - 0 likes

    Hey, I'm having troubles configering this plugin with my 1.7.2 bukkit server so basically i understand what the configeration is telling me to do like I wanted it 0% chance for all mobs not to drop their heads so i set it to 0.0 but it didn't work, i tried reloading server and reloading the plugin it self, can you please give me a page with full config of - no mobs allowed to drop their heads at all, 20% chance to drop a player's head and it has to be from pvp only not from drop fall, etc please help me, would mean the world, thanks and reply as soon as possible cause i really love this plugin<3 thanks

  • Avatar of CommodoreAlpha CommodoreAlpha Jan 18, 2014 at 01:53 UTC - 0 likes

    If this plugin is using a player-account for a mob head, and that player-account changes skins for some reason, how will the plugin cope with that? Will an updated version just locate all the "wrong/outdated" heads and replace them with the more updated, appropriate head?

    Sure, I'd love to include my server IP here. But it's under construction, and I wouldn't want to get sued for players wandering inside and getting hit by a random beam of steel floating about. And no, I doubt plugins would make very good lawyers either. I've never seen a plugin that forced you to sign a contract do so well.

  • Avatar of meiskam meiskam Jan 16, 2014 at 16:12 UTC - 0 likes

    @SilverKytten: Go

    I was getting a lot of complaints about the horse head looking like "a hamster, or something", so I've updated the skin to what someone said looked more like a horse. Sorry if it doesn't, It's a bit difficult to put a horse head on something so square.

  • Avatar of SilverKytten SilverKytten Jan 16, 2014 at 08:14 UTC - 0 likes

    @meiskam: Go

    Sheep is one of them, yes... Also I think one of my staff said that horses were player heads, as well..

    http://mcserverstatus.com/25044_5.pnghttp://mcserverstatus.com/24864_5.png

    Anti-intellectualism has been a constant thread winding it's way through out political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge. - Isaac Asimov

  • Avatar of meiskam meiskam Jan 16, 2014 at 04:58 UTC - 0 likes

    @DanielBlakey: Go

    I appreciate the enthusiasm, however the mods don't like it when people point out flaws in their site design. I've removed your comment.

  • Avatar of meiskam meiskam Jan 15, 2014 at 02:24 UTC - 0 likes

    @SilverKytten: Go

    ghast, sheep, and silverfish have been updated since v3.5 so if it's one of those, it's because of the plugin.

    @Kervinou: Go
    @szebi1999: Go
    @Samkarsi: Go

    v3.7 has been submitted, and expected to go live soon.

    @noahanglin: Go

    The mob heads don't have ids like other mc blocks (like wool colors), they're actually skins from player accounts. If you'd like to see the list of usernames take a peek at CustomSkullType

  • Avatar of SilverKytten SilverKytten Jan 15, 2014 at 00:51 UTC - 0 likes

    It seems as though mob heads have started to become player heads.. Is this on our side, or is it a plugin error?

Facts

Date created
Oct 21, 2012
Categories
Last update
Oct 16, 2014
Development stage
Mature
License
MPL-2.0
Curse link
Player Heads
Downloads
461,703
Recent files

Authors