bukkit give potion effect code example
Example: bukkit give Player effect
<player>.addPotionEffect(new PotionEffect(PotionEffectType.HARM, <duration>, <amplifier>));
<player>.addPotionEffect(new PotionEffect(PotionEffectType.HARM, <duration>, <amplifier>));