You should print entity.getMetadata("MineZ").toString() out to console to see whats happening ;)
int x = 0; String name = ""; String reason = "" for(String s : args) { if(x == 0) name += s; else reason += s; x++; }
if(!(player.getItemInHand() == new ItemStack(Material.STONE_HOE))) return; I think this is your problem here, you should do something more like...
args[0].split(":")[1] should get you the pink slime ;)
ItemStack itemtoadd = new ItemStack(items.get(nummer),0,(short) 1); You're setting the size of the item stack to 0, when it should be 1 or more.
you need a chat manager eg hero chat.
you need to change it to this public class Main extends JavaPlugin implements Listener{//TODO this is so the event handler can use the class...
Is the error exactly the same? or is it a different error? If its the same check that the class file exported correctly.
In the plugin.yml its me.dudemanmax.meedlesmaniacmessages.Main but in the code its me.dudemanmaxmeedlesmaniacmessages.Main, you are missing a dot...
Well, all world folders have a level.dat inside it, so you could check for that.
you could check for the world file using file.exists()
You should make a hash map, with the player as the key and the time the player joined as the value. Then to check how long the player has been...
tried that too Q_Q
I have done that but changing isProvidingStrongPower does nothing at all for me.
This isn't really to do with bukkit but the best and most helpful modders are on bukkit forums so I thought I'd ask here :3 My problem is creating...
Separate names with a comma.