D&D 5E - Preventing Teleportation
I believe Mordenkainen's Sanctum thwarts teleporting in.Either Consecreate or Hallow (does 5e still have both?) does for clerics/druids as well...I think...or I may be misremembering.
Naturally a little Planar Bindings sprinkled here and there..."built into" the structure would do the same thing...but then might also thwart those trying to teleport out...but then, you're the DM [I presume] you can make the building, a single floor, individual chambers or the whole structure "one way" teleport proof...just because you say so...use Planar Binding rituals as a justification if the Sanctum spell is too high level.
ncG1vNJzZmivp6x7prrWqKmlnF6kv6h706GpnpmUqHyxvsSvnKesmaO0bsDEpZypp6KprrW1zqdlbW5mbIN3ew%3D%3D