Store the location in a hashmap or in the config
it's minecraft.net/login
This should work @EventHandler public void onItem(PlayerPickupItemEvent e){ if (e.getItem().getType() == Material.ARROW){...
I think you cant make an entity equals to an iterator
GeorgeeeHD May i see your onEnable method?
You may need to update your craftbukkit on your host or on your plugin
To remove a players inventory contents then you simply do p.getInventory().clear(); p.updateInventory();
MinecraftMart to open an inventory then do player.openInventory(targetplayer.getInventory) and to put items in it just do Inventory inv =...
AdamQpzm it still doesent work?
looloosha I had this problem yesterday and i found it so heres the code to create a...
How do i do that?
May i get a link ?
Just usep.getWorld().spawnEntity(p.getLocation(), EntityType.FIREWORK);
mkezar Still doesent work any other ideas?
Okay Player p = (Player) sender; final Pig pig = (Pig) p.getWorld().spawnEntity(p.getLocation(),...
I am trying to make a plugin that makes pig follow me i have tryed to make an scheduler to constantly make them target me but it doesent seem to...
I got this error org.bukkit.command.CommandException: Unhandled exception executing command 'kit' in plugin Kit v1.0 at...
I am trying to make a plugin so that i can be able to teleport to an other world i used the teleport command to teleport but i keep getting errors...
The console says you can't get the shooter from a fireball
You dont have to implement it CommandExecutor and you dont have to set a commandexecutor if the executor is the main class
Separate names with a comma.