Actions
What commands will run when the structure is activated?
What commands will run when the structure is activated?
The commands are run from the console, and support Placeholder API.
/goop customstructures edit actions add Arcane_Altar mmoitems stations open arcane-forge %player%
The sole purpose of custom structures is to introduce this immersive way of calling commands: Players building some altar in their homes rather than using the chat command thing.
If the command must be sent by a player, you may use goop sudo %player% <command>, to cast the command as the player.
You can make your structure self destruct when used with action goop-break-structure, which is not used in this tutorial but may come in handy if you make boss summoner altars, just keep it in mind.