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.
Nice Idea !