Dispatch custom events which can be listened for by custom scripts. Handling the actual plugin system is not part of this, but at least thinking of a future where this is possible seems like a better way to build such an open-ended feature like this.
Dispatch custom events which can be listened for by custom scripts. Handling the actual plugin system is not part of this, but at least thinking of a future where this is possible seems like a better way to build such an open-ended feature like this.