Elemental forbiddance

Elemental forbiddance was an abjuration spell that created a zone that was proof against entrance by or attack from elementals.

Effects
This spell protected an area from elementals of all kinds; they absolutely could not enter or physically attack through the barrier for the duration of the spell. However, magical and missile attacks were not prevented by this spell. Also, any elementals already within the area before the spell was cast were not affected.

The area that could be protected was a cube whose sides were equal to 5 ft (1.5 m) times the caster's level. The spell lasted more than an hour and longer for more experienced priests.

Components
The priest had to walk the perimeter of the area to be protected as part of the somatic component for this spell. Verbal utterances were necessary as well as four glass beads, one each of blue, green, red, and yellow.