(info) Other great resources: Official JS API docs, Scripting Forum

enableStructure()

enableStructure(structure type[, player])

The given structure type is made available to the given player. It will appear in the player’s build list.

I assume the structure can be something from structures.txt?