With this Plugin you can completly change and set the Potion Effects of a Golden Apple.
This Plugin is coded and tested on version 1.8.8
List of all avaible PotionEffects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
Code (Text):# List of all avaible Potion Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# Use this Effect Format:
# amplifier meaning how strong, duration (In Seconds) meaning how long it will last.