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.
@TommyBoy566
I'll get this added to the next release.
Is it possible to make the item requirement apply to the mob head drops as well? Creeper heads would be more special if you have to kill them with a sword or axe up close to get them :)
@cnaude
Well I know there is a way to get the heads now through player heads thanks to sethbling. Not sure what the account names for them are but another plugin managed to get them in. Let me know if you want me to private message you the link to it unless you know which one im talking about.
@XRECKXIMPACT
If Mojang ever adds those I will certainly add them to this plugin.
Was wondering if you were planning on adding in the spider, enderman, and blaze heads sometime soon for the plugin. Users are loving the plugin :D
Coming soon. ;)
Nice plugin!
Glad to see this plugin coming so far. You are doing a great job cnaude
@HexicDragon
You should still make one. Ill add it to the videos section.
ugh whatever theirs no point really now... Should of made it sooner :l
ugh whatever theirs no point really now... Should of made it sooner :l
Wtf i was making a video for this -.- ive been planning on making it since it had like 10 downloads but i wasent able to... Now i am able but you post a video... Lol
...ill make the video anyways still i guess :l
hey i made a video about this plugin http://www.youtube.com/watch?v=jE5eYQbrHig
PERFECT!! Thank you!!
@marcuscarcus829
What version are CB and TrophyHeads you running? Any heads dropped prior to 1.1.0 won't have the skin info saved.
I tried to place the head with the skin of another player, but it did not work. I copied your config and then restarted and it still did not allow the skin. Can someone here help me out? also I know that I have player-skin set to true.
@diannetea
I am unable to modify the way the anvils work right now (There are no anvil events yet). I was able to get this working by using recipes and renamed items which is kind of cool.
Please try this version: https://dl.dropbox.com/u/30679730/dist/TrophyHeads.jar
Set rename-enabled to true. Use an anvil to rename the item specified in "rename-item" which is defaulted to paper. Set the paper to the name of the player you want to rename the head to using an anvil. Then place the head and paper in the normal craftbox.
Let me know how it goes.
Is there any way to add a crafting recipe to an anvil that when you "name" it it changes the playername attached to the head? Maybe make it require an item so it isn't free?
@Bobacadodl
Try this and let me know if works the way you expect. Set the death-types to PVP and items-required to 359. https://dl.dropbox.com/u/30679730/dist/TrophyHeads.jar
@cnaude
Could you please add an option so that players must be killed with a certain item to drop a head? I want to make it so that players need to be killed by shears to drop a head to make them a bit rarer to get.