No problem :)
Try cancelling the event.
public void onEanble()
Can you post the stacktrace? You most likely compiled your plugin with a higher Java version than the version that the server is running.
I think it's something like this, can't check right now: for (String key : getConfig().getConfigurationSection("notes").getKeys(true)) { String...
You should learn Java before starting to create plugins. To change the player's tab list name use player.setTabListName(insert string here).
For a kick command, you most likely won't need to cast the CommandSender to a Player. Also, check @mine-care's signature ;)
No, I want to get the highest amplifier you can get in vanilla minecraft in my plugin. Okay, I'll try that then. EDIT by Timtower: merged posts
I'm working on a plugin that is used to limit the highest level of potion effects you can get. I want to generate a config containing the name of...
That's not what I mean, I want to get the highest possible amplifier that you can get in vanilla Minecraft, so without mods/cheating/plugins.
So I'm trying to find a way to get the highest amplifier for a potion (for example: speed 2 is the highest amplifier for speed that you can get...
After you have checked if the sender is a player: Player p = (Player) sender; p.kickPlayer("Reason");
To create a cooldown, store the current time, then when the user enters the command again check the time again and you should be able to calculate...
What happens when you add the enchantment after you set the item meta?
Not sure if this is what you want, but I think you should do: public class Soulbound implements CommandExecutor { //onCommand here...
Separate names with a comma.