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