Set up to allow use in multiple bukkit versions