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.
  • Right click 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 TNTUP TNTUP Jun 27, 2016 at 19:50 UTC - 0 likes

    @cnaude: Go

    I'm aware of this, I was used to sneak+left click on it :I I'd stick with the version I use actually than the updated one I'm quite too used with this feature xD

    Until then, I'll wont update to the latest release, without this feature (Always used to shift + left click on heads) than right clicking on them... sorry

    EDIT: I've forked your plugin then myself (I know its bad) had to decompile the current version I have on my server and using that part of code in your current releases and I got it to work :)

    YA

    Last edited Jul 14, 2016 by TNTUP

    BFAK:95066,dd3bd97af6e0c8de224582d02370f079170eea468d01c5afc6a4b2b0119a2840

  • Avatar of cnaude cnaude Jun 27, 2016 at 13:46 UTC - 0 likes

    @TNTUP: Go

    To get info on a head use right click instead.

    Jenkins | GitHub BFAK:cnaude,99361,b703b55cc7c33b67a0dde6d0e3e3b46833573e8f906baec978d45c87a0139279

  • Avatar of TNTUP TNTUP Jun 27, 2016 at 08:24 UTC - 0 likes

    sneak-punch-info: true sneak-punch-no-break: true

    are missing thus no work with the latest release :I Why it got removed?

  • Avatar of Trind123 Trind123 Jun 25, 2016 at 07:05 UTC - 0 likes

    All of the heads on my server are displaying the Alex and Steve skins instead of any of the players or mobs. I've tried changing the "player-skin" and "rename-enabled" settings to every combination of true and false and nothing works. I haven't changed any of the skin names in the config. I'm running MC 1.9.4 and TrophyHeads 1.12.7-46.

    Last edited Jun 25, 2016 by Trind123
  • Avatar of Roadhog360 Roadhog360 Jun 16, 2016 at 22:05 UTC - 0 likes

    Nevermind. However, when breaking a head, it drops as an unknown head. Also, sometimes, heads of the same type do not stack.

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

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

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
61,707
Recent files

Authors