TrophyHeads

TrophyHeads-Logo

About TrophyHeads

A plugin that causes players (and or mobs) to drop their heads when they die.

TropyHeads

Features

  • Players can drop their heads when they die based on configuration settings.
  • Players can spawn head with the /headspawn command. (Requires permissions.)
  • Players can rename heads using a named piece of paper plus a head in a craftbox.
  • Mobs optionally drop heads.
  • Sneak punch a skull to see who it belonged to.

How to install

  • Just drop the jar file in your plugins directory and restart your server.
  • Update config.yml as needed.
  • Update permissions.

Permissions

trophyheads.spawn - Allow player to run /headspawn command. (Default: op)

trophyheads.give - Allow player to run /headgive command. (Default: op)

trophyheads.drop - Allows players to drop heads. (Default: true)

trophyheads.info - Allows players to sneak punch a skull to see the owner. (Default: true)

trophyheads.reload - Allows players to use /trophyreload command. (Default: op)

Configuration

See config.yml

drop-chance - The percentage chance of player dropping a head. A whole number between 0 and 100.

death-types - A list containing any of the following.

  • ALL
  • PVP
  • CONTACT
  • ENTITY_ATTACK
  • PROJECTILE
  • SUFFOCATION
  • FALL
  • FIRE
  • FIRE_TICK
  • MELTING
  • LAVA
  • DROWNING
  • BLOCK_EXPLOSION
  • ENTITY_EXPLOSION
  • VOID
  • LIGHTNING
  • SUICIDE
  • STARVATION
  • POISON
  • MAGIC
  • WITHER
  • FALLING_BLOCK
  • THORNS
  • CUSTOM

player-skin - Set to true or false. If true then a placed head will display the correct skin.

Commands

Spawn a player head.
/headspawn ([player]) ([count])
Aliases: /head


/headgive [player] [skull name] ([count])
Aliases: /headg

Reload configuration
/trophyreload
Aliases: /threload, /thr

Addons

Development

Known Issues

  • Placing the head causes it to lose part of its meta data.

Videos

Change Log

Other

donate

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

  • Avatar of Roadhog360 Roadhog360 May 11, 2016 at 22:00 UTC - 0 likes

    Running 1.8. Set player drop rate to 100, and players still do not drop heads.

  • Avatar of cnaude cnaude May 04, 2016 at 02:57 UTC - 0 likes

    @ZeroThinking: Go

    That's an interesting drop rate. I'm going to have to do some random number testing in java and see whats going on. My calculations are pretty simple. Even with a 4% drop rate you can technically drop 30 heads. It's all probability.

    Jenkins | GitHub BFAK:cnaude,99361,b703b55cc7c33b67a0dde6d0e3e3b46833573e8f906baec978d45c87a0139279

  • Avatar of ZeroThinking ZeroThinking May 04, 2016 at 02:20 UTC - 0 likes

    Hey there cnaude.

    It seems as though the drop rates are not what I have set them to in the config, I'm guessing that drop value of 100 means %100 drop chance, 1 would be %1. Most of the passive mobs I set to 4, but in-game the chance is a lot more than %4, i killed 30 cows and got 4 heads on my first test. Am I using the drop values incorrectly, if not then I think the drop chances could do with a touch up in the next update.

    Other than this I think you have done a really awesome job with this plugin :D

  • Avatar of erik1988 erik1988 Apr 21, 2016 at 20:11 UTC - 0 likes

    Is this perm for the victim or the killer? trophyheads.drop

    I would like to have two separat permissions, one for killing players so that it drops heads and one that specifies if the player can drop their head.

    Like these from playerheads: playerheads.canbeheadmob playerheads.canlosehead playerheads.canbehead

  • Avatar of GodsDead GodsDead Apr 19, 2016 at 13:52 UTC - 0 likes

    Please implement all features that playerheads has so we have a supported head drop plugin: http://dev.bukkit.org/bukkit-plugins/player-heads/

    Most importantly we need a drop rate, the chance of a head drop per mob.

  • Avatar of ZoefyC ZoefyC Mar 10, 2016 at 11:47 UTC - 0 likes

    Works perfectly! Thank you so much :)

  • Avatar of ZoefyC ZoefyC Mar 09, 2016 at 11:28 UTC - 0 likes

    @cnaude: Go I sent you a PM :)

  • Avatar of cnaude cnaude Mar 09, 2016 at 03:18 UTC - 0 likes
  • Avatar of cnaude cnaude Mar 08, 2016 at 21:22 UTC - 0 likes

    @MCstustu: Go

    The skins are not saved anywhere. The minecraft client will grab the skin from the mojang servers based on whatever the head is named. It is entirely possible for different clients to see different skins depending on how things are cached.

  • Avatar of MCstustu MCstustu Mar 08, 2016 at 20:53 UTC - 0 likes

    How are the heads skin 'saved'? I can't see anything server side, so I am guessing its stored at the client side? Is this permanently saved or refreshed after a while?

    I am asking as we have a situation where some players are seeing different skins for the same player head or seeing a player head drop an old skin.

Facts

Date created
Jan 30, 2013
Category
Last update
Apr 19, 2016
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
TrophyHeads
Downloads
59,603
Recent files

Authors