How do I create a custom prosody plugin?

I want participants to only see the moderator, but not each other, including chat messages, screen sharing, webcam streams… Apparently the best way is to create a custom prosody plugin, but I don’t know where to start. Is there a tutorial/documentation somewhere on how to add/write your own plugin?

And use the jitsi-meet modules as examples, there are plenty of examples.

Thanks that helped! A basic tutorial on the steps needed to include a plugin in the jitsi handbook would be great