The documentation I had already found, but I did not understand how to use it.
I got what I wanted, but the code got really confusing and dumb, look:
registerPlugin({
name: 'No Recording On Channel!',
version: '1.0',
description: 'User will be kicked of the specifics channels, if...