how to get the emerald:
you'll need all of the side quests completed, such as the buttercups and the egg thingy.
once they're all complete, head to the beach, and keep walking until you see all the guardians together. click on them and fight them.
when you win the fight, there's a chance you'll get the emerald.