if ((shooter instanceof Player)); -> Your if statement on line 102 is empty
I am making a capture the flag plugin in which I am using a sync repeating task to give the player who holds the flag an effect:...
You'll need to schedule a delayed task: Bukkit.getServer().getScheduler.scheduleSyncDelayedTask(Plugin, new BukkitRunnable() { //explode }, delay);
xTrollxDudex You sure? I've never gotten it work even with non-passive mobs...
The method does not set the creature's target even when used correctly, and therefore does not work and is broken
The setTartget method is currently broken
Change the "this" in scheduleSyncDelayedTask(this, new Runnable() to whatever your plugin instance is (the class that extends JavaPlugin), not the...
http://forums.bukkit.org/threads/suggestions-please.245506/#post-2337073 Duplicate.
Bukkit.getScheduler().scheduleSyncRepeatingTask(PLUGIN, new Runnable(){ //Code }, 1, 20 * 60 * 5); //1 tick before first execution //20 ticks per...
keizermark NICK is the player's name
(player_instance).getInventory().remove(ItemStack i); more help: http://jd.bukkit.org/beta/apidocs/
Your player on the addPoint method is null, I traced it backed to this: Player targetPlayer = Bukkit .getPlayerExact(args[1]); According to the...
try if(uplayer.getRole().isAtLeast(Rel.OFFICER){ //do stuff } source:...
Change p.getInventory().getItem(x).getType != null to p.getInvetory().getItem(x) != null
You want to initialize static variables in a static block static ItemStack jb = new ItemStack(Material.WRITTEN_BOOK, 1); static { //Code here }
Run it again and check if the error is still on line 29
If you are storing the player as your key value (which I highly recommend you don't as it will cause memory leaks) you would need to change...
commandLabel.equalsIgnoreCase("tb createprivate (arena name) (game type)") Don't put the arguments in equalsIgnoreCase, args[] will contain all of...
What is on line 25 of that class (the non-shortened version)
jumps is a local variable (which is why it will never equal two) so every time the method is called a new instance of it is made. I would...
Separate names with a comma.