Hopefully this doesn’t annoy some people, but if it does please tell me.
KtSkript allows you to write scripts, which act like plugins. It doesn’t create plugins. If you want to program real plugins, go with gabizou’s advise. But for simple things, KtSkript is the right thing. I always use it for prototyping stuff.