Hi, I made this plugin, code: http://pastie.org/9517659 I see nothing wrong with it and the console says: http://gyazo.com/b00f95f1c4248ad1822ca4bc767516e6
It says you have unresolved compilation problems. Don't you see red lines underneath some code in your IDE?
this is wrong because you got a space in the label below Code:java if (cmd.getName().equalsIgnoreCase("NV enable")) { if (player.hasPermission("av.nightvison")) { if (args.length == 0) { player.sendMessage("Not enough arguments"); } use this Code:java if (cmd.getName().equalsIgnoreCase("NV")) { if (player.hasPermission("av.nightvison")) { if (args.length < 1) { player.sendMessage("Not enough arguments"); return true; } if (args[0].equalsIgnoreCase("enable")) { if (args.length == 1) { player.addPotionEffect(new PotionEffect( PotionEffectType.NIGHT_VISION, Integer.MAX_VALUE, 1)); return true; } } } Sgt05 and you need to insert one of the "}" in your class body. EDIT by Moderator: merged posts, please use the edit button instead of double posting.