public boolean onCommand(CommandSender sender, Command cmd, String lb, String[] arg3) {
if (cmd.getName().equalsIgnoreCase("Efeito")){
Player p = (Player)sender;
p.addPotionEffect(new PotionEffect(PotionEffectType.NIGHT_VISION, 20, 2));
}
if (cmd.getName().equalsIgnoreCase("Efeito2")){
Player p = (Player)sender;
p.addPotionEffect(new PotionEffect(PotionEffectType.NIGHT_VISION, 20, 2));
}
return false;
}