A SCM material plugin is a GoCD plugin, which claims to support to extension name scm in its identifier, and responds to the messages mentioned below, appropriately. It's probably easiest to learn from the sample plugin mentioned above.