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
love your plugin!!
i want to be able to give heads from a console command!!
can you add /head {recipient} {nameofhead} so that someone on console could enter the command head pizzafreak08 GarretSidzaka and you would instantly get one of my heads ingame, from the server admin on console????
BITTESHON?
I love this plugin, but I keep getting console errors. The plugin works just fine, but im sick of the [SEVERE] Errors.
2012-11-15 18:34:21 [SEVERE] Could not pass event EntityDeathEvent to HeadDrops v1.1 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.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:299) at net.minecraft.server.EntitySquid.dropDeathLoot(EntitySquid.java:62) at net.minecraft.server.EntityLiving.die(EntityLiving.java:850) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:730) at net.minecraft.server.EntityWaterAnimal.y(SourceFile:59) at net.minecraft.server.Entity.j_(Entity.java:230) at net.minecraft.server.EntityLiving.j_(EntityLiving.java:482) at net.minecraft.server.World.entityJoinedWorld(World.java:1333) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:546) at net.minecraft.server.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.World.tickEntities(World.java:1193) at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:444) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:577) 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:49) at sun.reflect.GeneratedMethodAccessor205.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) ... 20 more
I like the feature which fixes the underwater bug, however other then that this plugin has many duplicates. You should add some stuff to make it unique :) (I am aware you just created the project :P)
@ThisUsernameIsMine
hmm weird. anyway, i updated the description :D
@pizzafreak08
No it doesn't: http://dev.bukkit.org/server-mods/head-drops/files/2 :D
btw, Is this with or without permission node? I don't want everyone to spawn heads :P
Will test it ASAP :)
@ThisUsernameIsMine
Uploaded v. 1.1. File still needs approval though :D
@pizzafreak08
Awesome, can't wait! :D
(keep up the good work ;) )
Yeah, i will do that today :D
Can you please add a command/permission node to spawn a (named) player head?
Thanks! :)