What's cd? If I'm right, it returns null, do a null check before that line. Check first: Did you instantiated it? Should it return something when...
Cancel the event Send player the message using: with & color codes yourplayer.sendMessage(ChatColor.transferAlternateColorCodes("&") + msg); //I'm...
@HenrySartori You could just help him without saying Learn Java 3 (yes, I counted) times. It is important, but putting it once in fornt of your...
In my knowledge it's only possible through modding. Also you can wait for 1.9 and for spigot to come out, because it has a feature, that based on...
Okay, if you're not going to upload it, it's "fine", but you should most certainly change the package name, so you eont learn bad practices Also,...
@JoaoBM an item HAS itemmeta and it has A DISPLAY NAME too, if there's an item there, but you're right, a null check is useful You don't need to...
You don't the domain, imfrozen.de, so you shouldn't use it in your package name, because you can get fined for that, change it to something like...
Keep your package names lower-cased Try containsIgnoreCase instead of toLowerCase().contains(). it wont help your problem, but it'll make the code...
Also, try debugging by writing a sysout after each line with 1,2,3,4,5... incrementing by 1 with each sysout and then check, where the code fails....
@Zombie_Striker That would throw an error, that the class can't be found. It doesn't even try to enable the plugin from what I see, so a...
Naming conventions, don't use uppercase letters in package names. You still don't own the domain Tails_Prower_numberhere.com, use...
You don't own the domain minigame.com, so you can't use com.minigame as a packagename. Use me.tailsprower or something like that. Also, if your...
getTitle returns the name of the inventory, so change getName to getTitle
Have you tried using getTitle instead?
I don't think the player's inventory has a title (btw, use Inventory#getTitle() instead). Tried using if (e.getInventory() instanceof...
Separate names with a comma.