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
clickinfofalse[true/false]When a player head is clicked the player name will be displayed
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

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.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)
3.5
  • Added/Updated custom mob heads: mushroom cow, and magma cube (Thanks Marc Watson)
  • Added custom mob head: wolf
  • Added custom mob head: cave spider (Thanks Marc Watson)
  • Updated custom mob heads: spider, enderman, blaze, squid, irongolem, pigzombie, pig, villager, cow, chicken, ocelot (Thanks Marc Watson)

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 ha11oga11o ha11oga11o Dec 28, 2013 at 18:02 UTC - 0 likes

    For my staff this plugin has 100% drop chance. But regular players are following drop chance rules. How to fix it?

    Thank you :)

    Last edited Dec 28, 2013 by ha11oga11o

    http://minestatus.net/10142-yugoslavia/image/original.png

  • Avatar of kaiitano25 kaiitano25 Dec 27, 2013 at 19:46 UTC - 0 likes

    bonjour 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 .

    Admin Du Serveur Priver Rp Bowerstone OFFLINE

  • Avatar of rnoa rnoa Dec 27, 2013 at 05:49 UTC - 0 likes

    Using the latest dev build. but clicking on the heads to get player's name doesn't work. Any ideas?

  • Avatar of meiskam meiskam Dec 27, 2013 at 02:04 UTC - 0 likes

    @XBlackLeopardX: Go

    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.

    BFAK:meiskam,74919,2d6c5de1b19d7aabc1fb74542e178ac033f9e170a90b33ea1616af55a9476d26

  • Avatar of XBlackLeopardX XBlackLeopardX Dec 26, 2013 at 23:33 UTC - 0 likes

    Ive 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

  • Avatar of meiskam meiskam Dec 26, 2013 at 06:25 UTC - 0 likes

    @Dyenx999: Go

    What functionality doesn't work on 1.7.2?

  • Avatar of Dyenx999 Dyenx999 Dec 25, 2013 at 23:33 UTC - 0 likes

    when will this plugin be updated to 1.7.2 ?

    Click here for an awesome SG plugin : http://dev.bukkit.org/bukkit-plugins/sgp/

  • Avatar of meiskam meiskam Dec 21, 2013 at 14:45 UTC - 0 likes

    @KevinEssence: Go

    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: Go

    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: Go

    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: Go

    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.

  • Avatar of KevinEssence KevinEssence Dec 20, 2013 at 06:15 UTC - 0 likes

    Mob heads are all set to 0.0, why do they still drop for players...?

    KevinEssence Server owner at hub.prxcraft.com

    Kevin

  • Avatar of Clairefox Clairefox Dec 19, 2013 at 03:57 UTC - 0 likes

    Can you make this work with ChestShop so players can sell all these different skulls?

    The pessimist complains about the wind;
    The optimist expects it to change;
    And the realist adjusts the sails.
    -William Arthur Ward, To Risk

Facts

Date created
Oct 21, 2012
Categories
Last update
Feb 07, 2014
Development stage
Mature
License
MPL-2.0
Curse link
Player Heads
Downloads
440,687
Recent files

Authors