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

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 a enderman dies
blazedroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a blaze dies
horsedroprate0.001[0.0 -> 1.0]Chance that a mob trophy will drop when a horse dies
squiddroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a squid dies
silverfishdroprate0.01[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.001[0.0 -> 1.0]Chance that a mob trophy will drop when a mushroom cow dies
batdroprate0.002[0.0 -> 1.0]Chance that a mob trophy will drop when a bat 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
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.canlooseheadtruecan 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!
  • PlayerHeads is now translatable! Add files to your config folder in the format: "lang_[language]_[country]_[variant].properties", ex: "lang_fr_FR.properties" for a French translation.
  • 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

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.
  • If you're using NoCheatPlus (or some other equivalent), mining custom mob heads (blaze, enderman, spider) will most likely throw a "fastbreak" error and not let the player mine the head.

Sourcecode

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

Changelog

3.1.0093
  • Added custom mob head: horse (Thanks Glompalici0us)
  • Added custom mob heads: squid, silverfish, ender dragon, slime, iron golem, mushroom cow, and bat (Thanks SethBling)
  • Fixed where custom mob heads would drop when destroyed in creative mode
3.0.0088
  • Fixed ops getting the always* permission nodes
  • Changed update to link to curse website, removed in-game update command
  • Added optional quantity to the spawn command
  • Renamed autoupdate to updatecheck
2.9.0084
  • Fix for anti-cheat plugin
  • Added ability to spawn or rename heads to mob/custom mob heads with format: #<mobname> ex. #blaze
  • Added config "dropboringplayerheads" to drop plain heads when a player dies, instead of the player's head
  • Added permissions "playerheads.alwaysbehead" and "playerheads.alwaysbeheadmob" to ignore drop rates

Donate

Donate

Metrics

MCStats Plugin Metrics for Player Heads

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

  • Avatar of lilblue22 lilblue22 May 21, 2013 at 14:58 UTC - 0 likes

    Just a note: Using playerheads update returns this:

    INFO [playerheads:??] Invalid subcommand

  • Avatar of Chaznuts Chaznuts May 21, 2013 at 05:10 UTC - 0 likes

    @TheLecturer: Go

    Already a pig in here @Jknies: Go.

    Plugin Enthusiast!

  • Avatar of TheLecturer TheLecturer May 20, 2013 at 10:39 UTC - 0 likes

    Pig head please?

  • Avatar of Jknies Jknies May 19, 2013 at 05:00 UTC - 0 likes

    @euQsei: Go

    /ph spawn MiningMiner10, doesn't look much different from a villagers

  • Avatar of euQsei euQsei May 18, 2013 at 04:15 UTC - 0 likes

    @Jknies: Go

    witch!!

  • Avatar of Jknies Jknies May 16, 2013 at 17:27 UTC - 0 likes

    Not sure if this is the sort of thing that will help new heads be developed, but it has helped me and hopefully will help other users of this plugin:

    /ph spawn Eagle_Peak - sheep

    /ph spawn firebad12 - ocelot

    /ph spawn timgrturbo - chicken

    /ph spawn socreth - mooshroom

    /ph spawn tmccr24 - pig

    /ph spawn VerifiedBernard - cow

    /ph spawn SethJohnson555 - zombiepigman

    /ph spawn SA_KING - ghast

    Last edited May 16, 2013 by Jknies
  • Avatar of Chaznuts Chaznuts May 16, 2013 at 12:06 UTC - 1 like

    @meiskam: Go

    Love the new heads! Any way we can get an option for to separate click infos? I want it to show for player heads, but not mob heads.

    Example:
    pkclickinfo: true
    mobclickinfo: false

    Hope you take up on my idea and keep up the great work! Thanks for an amazing plugin!

    Last edited May 16, 2013 by Chaznuts
  • Avatar of meiskam meiskam May 14, 2013 at 15:44 UTC - 0 likes

    I've opened up translation of this plugin to crowdsourcing, even 1 line translated is helpful. Please do not use automated translators.

    http://dev.bukkit.org/server-mods/player-heads/localization/

    BFAK:meiskam,74919,2d6c5de1b19d7aabc1fb74542e178ac033f9e170a90b33ea1616af55a9476d26

  • Avatar of absintoj absintoj May 14, 2013 at 12:59 UTC - 0 likes

    Video Tutorial on the Plugin

    http://www.youtube.com/watch?v=OqhI_oIGPWo

    Credits: (AbsintoJ/PlayerHeads)

  • Avatar of meiskam meiskam May 11, 2013 at 14:42 UTC - 0 likes

    @austin101: Go

    Yes, that's correct. If you'd like the drop rates to be higher, feel free to adjust the defaults. On my server (which the defaults are based off of) dropped heads are a rare gift to be proud of, not something that drops every day.

Facts

Date created
Oct 21, 2012
Categories
Last update
May 03, 2013
Development stage
Release
License
MPL-2.0
Curse link
Player Heads
Downloads
174,056
Recent files

Authors