-
Total de itens
66 -
Registro em
-
Última visita
Respostas na Comunidade
-
GP_10M02's postagem in Duvida was marked as the answer
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;
}
-
GP_10M02's postagem in Plugin Gladiador 1.8 was marked as the answer
Eu ja o usei no meu servidor antigo e não tive problemas nenhuns