This should do it. @EventHandler(priority = EventPriority.HIGH) public void onLavaBlockPlace(BlockPlaceEvent event){ Player player =...
Didn't test if(player.hasPermission("bp.TNT")) return;
sender.sendMessage("No word entered");
Whats at line 22?
It has nothing to do with the boolean to void in the method. It's because you didn't check if the player gives an arg. So if a player doesn't give...
You forgot the @Override before the onEnable and onDisable don't know if that solves it though.
Change public boolean loadConfiguration to public void loadConfiguration
Try using this package com.gmail.mman99.yellmaster; import java.util.logging.Logger; import org.bukkit.command.Command; import...
Try the PlayerEggThrowEvent
Could you post the whole class file? You've misplaced a } somewhere.
Your using the javax.tools.JavaFileManager.Location instead of the org.bukkit.Location Remove the first one from your imports and add the second...
Try this public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {...
This should work. Bukkit.getServer().getPlayer(args[0]).kickPlayer("Message Here"); The param is the message that the player will receive when he...
I assign my main class to a static variable in the main class itself. public static MainClass plugin; Then in the onEnable method put plugin =...
I'd like to join to if there is still a spot. I have some experience in the bukkit API and I'm open to learn new things if it would be required....
@EventHandler public void Break(BlockBreakEvent event) { Player player = event.getPlayer(); if(event.getBlock().getType() ==...
Check vault's source code. It uses the RSS feed to check for new versions.
Player target = getServer().getPlayer(args[0]); target.sendMessage("Message here");
You could check the rss feed of your bukkit dev plugin files or just create a file with the latest version as a string/integer in it.
You don't need to check for permission if you've placed it in your config.yml. At what line does the error occur?
Separate names with a comma.