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.
Where is 1.10.0 version ?:S
@nelson2wsx
Added Pig Zombie heads to 1.10.0.
@nelson2wsx
Poll created. :D
I think you need to add mor heads :) (witherboss.witherskeleton.slime.magmacube.cavespider.pigzombie...and more)
@cnaude
great job man! keep up the good work!
@XRECKXIMPACT
This will be in 1.9.0 as soon as it is approved.
@XRECKXIMPACT
I have the code to make this work about 85% done. :)
@cnaude
ok ill do what i can to find other skulls from players
@XRECKXIMPACT
I might do that. If I do I want to add a few extra that are not in the other skull plugin.
Just wondering if you are going to add in the custom mob heads through the player names with next update or not.
@cnaude nice head plugin indeed!
a suggestion is there a chance to have node for chance on drop node.node.20 (e.g for 20%) or even be able to set a group to have a drop specific drop chance ? imo that would be rly good!
@navbarry
No.
Is this plugin resource intensive?
@QBcrusher
Currently there is no way to do this.
Great plugin...Is there a way to change the direction the heads face when placed on a wall?
Simple. Command-free (for players). Compared to all other "head-plugins" I have to say.. I LOVE IT!!
@Ferret69
That was actually the original reason for creating this plugin. Technically it doesn't even drop from the player. It spawns a natural drop at the player's death location. This allows it to avoid interference from inventory plugins. :)
I like how it still drops when you have the keep inventory gamerule on! Nice plugin!
Thanks, Installing it now!
@TommyBoy566
Last night I built a version that supports item requirements for mobs. If you would like to test it you can download it from here: https://dl.dropbox.com/u/30679730/dist/TrophyHeads.jar