PlayerSkulls
Features
- Allows a player to drop a skull of their skin when they die, chance configurable
- Lets a particular player skull be spawned by command
- Allows for heads to drop only in PvP
Configuration
chance: 5 #Percentage chance of dropping a skull on death (out of 100 of course), 100 = always, 0 = never
pvponly: true #whether it has to be a pvp action (pretty sure its only melee but other forms may work)
Commands
/skull playername
Spawns a skull for the given playername in your inventory, requires permission PlayerSkulls.skull or op by default
Remember that the player name is case sensitive, ghowden is not the same as Ghowden to the skin server
Permissions
PlayerSkulls.drop - players with this permission can drop a head, defaults to true PlayerSkulls.skull - players with this permission can do /skull <name> to spawn a skull in
Changelog
1.2 - Added pvponly flag, recode skulls to use new bukkit API
1.1 - Added permission PlayerSkulls.drop and fixed /skull permission name
Current Bugs
- Unknown
THIS PLUGIN REQUIRES THE 1.4.6 BUKKIT BETA BUILD OR LATER
I like this plugin
@Kitten_Tails
It seems to be a bukkit bug, if you have a head in your inventory when you use /skull it'll add one to your existing stack instead of making a new one with the new name. I'm not sure how/if its possible to fix it, though it should work fully when bukkit makes an official API for it.
Awesome plugin! I love decorating my server with the heads of random players! I only have one issue, when I give myself multiple heads they stack. Could you change this? Or is that not possible? Thanks in advance.
@ghowden
Awesome! Exactly what I needed :D
Thanks again for the awesome plugin.
@bagheadinc
Done now in 1.1 version
Any chance of adding a drop permission? That way we can specify which worlds the skulls will drop in.
Awesome plugin btw, works great for me. :)
@ghowden
I just updated CraftBukkit and it seems to work now. :)
@EncryptedCurse
There isn't any real quick way to tell where the conflict is, it could be any of them, I don't know. It works for me without plugins and also on my server with these plugins:
WorldBorder, HardcoreDeathBan, NoCheatPlus, WorldEdit, UltraHarcore_Scatter, UltraHardcore_Core, UltraHardcore_Books, VanishNoPacket, UltraHardcore_Borders, StartingItems, OpenInv, Vault, ProtocolLib, PermissionsEx, Modifyworld, UltraHarcore_Lobby, UltraHardcore_Extras, PlayerSkulls, RandomDraw, WorldGuard, CommandSigns, ChatManager
@ghowden
I don't mean to sound rude, but I have over 40 plugins, and I can't just spend all that time re-adding them. Is there any other way to quickly find the cause of this?
You should also add a feature where they're more likely to receive a skull if they have the looting enchantment.
@EncryptedCurse
I'm sorry, ProtocolLib isn't neccessary for this plugin, I got my plugins mixed up, it shouldn't cause any issues. All I can suggest is to try running it without the other plugins and add them back 1 by 1 to see where the conflict is. Do you have any errors on the console to do with the heads?
@ghowden
I'm currently using ProtocolLib 1.50 for DisguiseCraft, and yes, the names above the item display just fine. Here's a list of my current plugins:
DeityAPI, WorldEdit, NoCheatPlus, EnderChestControl, Vault, War, PlotMe, Multiverse-Core, PermissionsEx, Wither, Paintball, LWC, WorldGuard, AutoMessage, SurvivalGames, AtAdmin, CoreProtect, SafeCreative, MineMaze, ShelfIt, TimeLock, HalloweenDelight, Modifyworld, ProtocolLib, SimpleSpleef, Votifier, MobArena, HelpTicket, CleanroomGenerator, Essentials, EssentialsSpawn, Multiverse-Portals, Multiverse-Inventories, IslandWorld, DisguiseCraft, OnTime, xAuth, ChestShop, EssentialsChat, Infected, Factions
If you are experiencing head dupe bugs when placing them in protected areas, update your craftbukkit/cratfbukkit++/spigot
http://ci.ecocitycraft.com/job/Spigot/changes
@SmokaCola
Will do
@EncryptedCurse
Works fine for me, just checked again on #2421, do you have ProtocolLib 1.4.2 jar installed too? Any other plugins installed? Check the tooltip of the head spawned, does it say player's head or just Head?
Doesn't work for me - I'm using the #2421 build. All heads dropped/spawned have the Steve skin.
@RobinF
Nope, vanilla client works fine
Can you add multiworld support for this? I would like to only add it to my PVP world.
do you need spout?
This is brilliant!
@Serilum
It's awaiting approval, here's the direct link:
PlayerSkulls.jar