How to create material shaders in plugin?

I have only seen the global shaders in plugin tutorial.

Hope someone would help me...