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...
Shouldn't be allowed in my opinion, I don't really understand why you would create a plugin like this though.
Fairly sure that you are making the minecart ride the player here, you should set the player as passenger of the minecart.
Can't really help you with that, sorry. But if it's just a private plugin it might actually be better to use the pex api.
I actually found 2 methods, one which requires a world, player and group and one that only requires a player and a group. Maybe if you use the...
I have only used vault for economy and adding permissions, but looking at the code from their permission class might help, I think you're looking...
Separate names with a comma.