Head-Drops
HeadDrops by X1machinemaker1X for MC 1.12
**earlier versions are available below**
originally by pizzafreak08
This plugin will make all Monsters and even Players drop their Head.
Plugin Spotlights:
(None ATM, if you want to do one, send me the link and I'll post it here.)
**If you want this plugin for MC 1.11.2 click here.**
**If you want this plugin for MC 1.10.2 click here.**
**If you want this plugin for MC 1.9.4 click here.**
**If you want this plugin for MC 1.8.8 click here.**
Features:
- All mobs in Minecraft 1.12 will drop their heads when killed by a player (has a permission)
- Players drop their Head when killed with a sword (has permission)
- Adjustable chance how often Heads will drop
- Get heads via commands
- You can decide if only players with certain permissions should get the mob or player heads
IF YOU UPDATE TO 1.12 DELETE YOUR config.yml FILE
Commands:
- /hd mobhead <mobname> - Gives you a specific mob head. Click HERE for a full listing
- /hd head [player] <playerhead> - Gives [player] a specific head or if left blank, you.
- /hd myhead - Gives you your head
- /hd info [player] - With info toggled on, clicking a player head, will give you the name of the player. if [player is specified, info mode will be toggled for them.
- /hd reload - Reloads the config
Permissions:
- headdrops.help: Use /hd command
- headdrops.head: Use /hd head <playerhead>
- headdrops.head.other: Use /hd head <player> <playerhead>
- headdrops.mobhead: Use /hd mobhead <mobname>
- headdrops.info: Use /hd info
- headdrops.info.other: Use /hd info <player>
- headdrops.reload: Use /hd reload
- headdrops.mobheaddrops: Drops mobhead for that player if config option "permissionCheckMob" is true
- headdrops.playerheaddrops: Drops playerhead for that player if config option "permissionCheckPlayer" is true
@pizzafreak08
Assassin, Buycraft, ChestShop, CombatTag,CookieMonster, Disguisecraft, Essentials, Faction, Headdrops, Midifyworld, No cheatplus, Orebfuscator, PermissionEx, TreeAssist, Votifier, Worldborder, Worldedit, Worldguard, Icononmy.
that's my plugin and I don't think any of them is changing the head-behavior help me pls
@sw33td3vil
That seems really weird. On my server it all works fine. Maybe you have an conflicting plugin installed, which also changes the head-behavior?
Really nice plugin I use it on my faction server so we can see each faction trophy but I have a bug with the head after about 15 minutes they all become squeleton heads and I have to remove it and replace it to fix the bug any suggestion if I do anything wrong? and it's doing that for player and monsters heads.
can you make this plugin compatable with tekkit?
Very nice plugin!
@lvvipervvi
ooh now i understand. yeah i will look into that :D
@pizzafreak08
I think it would be useful pizzafreak. That way higher ranking people on the server will have a lower percentage of dropping there head. Which means harder chance to get there head.
y dont you think it would be use full
@m10653
i don't think that would be really useful...
can you add perms for it or for different rate for different classes of peaple
hey thanks for coming to visit us!! do you have a server already? we are actively recruiting java developers for some secret projects....
anyway even if your not into that, make sure to come hang out with us more!!!
THANKS AGAIN FOR THE PROMPT PATCH!!!!!!!!!!!!!!!!
@GarretSidzaka
Thanks man! I searched for the cause of that. It's fixed in 1.2.1, which needs to be approved now so it shows up on the main page, but you maybe able to get it on the files page
hey when i issue a /killall command from essentials, it spams this for every single monster (all 6,100 of them) 2012-11-18 14:02:30 [INFO] FactionChat STEEL: co-owner treckling: lag 2012-11-18 14:02:30 [SEVERE] Could not pass event EntityDeathEvent to HeadDrops v1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at com.earth2me.essentials.commands.Commandkillall.run(Commandkillall.java:142) at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:102) at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:96) at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:380) at com.earth2me.essentials.Essentials.onCommand(Essentials.java:299) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:185) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:972) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:890) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:849) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113) at net.minecraft.server.ServerConnection.b(SourceFile:39) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NullPointerException at me.pizzafreak08.HeadDrops.HeadDrops.onEntityDeath(HeadDrops.java:52) at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 25 more
perms so donors get better chances then nondonors
@m10653
No :D but what would you like to modify?
thanks do you mind if i modfy the code for a server ?
@GeneralSouris009 updated already, but the file needed approval. it's approved now ;D
you fucking rock bro!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hey great job pizzafreak08 ! Hope you will update soon ! can't wait ! continue to add unique features to your plugin !
@bravesdpm Yeah i had that with other plugins on my server too with one of the dev-builds. Its gone since we updated to a newer one. If it comes back i will look into it.
@GarretSidzaka I will add that in the next version probably.