TrophyHeads
About TrophyHeads
A plugin that causes players (and or mobs) to drop their heads when they die.
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.
@cnaude
Now I get this in Console (I'm running 1.6.4)
http://hastebin.com/huyurayomu.avrasm
@xH3LLRAIZ3Rx
It should work when 1.7 is released.
how is it for 1.7, i dont see a dev build of bukkit
@InsomniaCraft
Fixed in v1.12.3.
@floydms
Mine also is not dropping heads in PvP.
@GreenGrizzlyBear
Valid death types is already in the config.yml. Remove "ALL" and replace with the death types you prefer.
Can you make an option to disable suicide?
Allow Self Kill: true/false? That'd be cool :D
Heads aren't being protected (mobs heads) I got a griefer that broke them in a PROTECTED region (only applicable to mobs heads) even WorldGuard is present and it doesn't block them... I'll report a ticket on them too. I dont think its the plugin's fault...
EDIT: I noticed its only applicable to non vanilla mob heads :s
PLayer PvP Does Not Drop Heads its enabled is It Bug
@TNTUP
Added to version 1.12.2.
@cnaude
Okay, will test it now! Thanks cnaude! <
Working as intended! /head does works + head is in the inv instantly!EDIT: Is it possible when Im on creative gamemode that the heads wont break (while sneaking to get player name) cuz when I sneak the player head breaks but saying the player head name
@TNTUP
Version 1.12.1 will have the /head alias as well as default to placing the head in inventory when possible.
@cnaude
Yeah thats I thought first but I wanted to ask it anyway :P
PS: Edited comment if you can read it ;)
@TNTUP
You could just add an alias to your bukkit.yml.
Would be nice if you can add "/head" :P or else doing it in bukkit.yml but it require server restart XD or adding it in plugin.yml but I need to change on each update ._.
Going to use this plugin, used Head-Drops (Still on 1.5.1)
Thanks for this awesome plugin
EDIT: I noticed when I do the command /headspawn I see the head dropped then I get it. HeadSpawn doesn't do that, it does instant appearing in teh inv
@CoolJoni
Yes. :)
Is it compatible with Minecraft Version 1.6.1? Thx for the great Plugin we needed for a 300 Slot Server :)
@cnaude
Wonderful! Thank you! :D
@ursak
Fixed in 1.11.1.
@cnaude
Thank you. :)
Harmless errors can be quite harmful to if there is enough of them. Makes you miss the errors that actually are severe. ;)