Comprehensive and up to date guide/tutorial for building a new plugin

Hello All,

I would really appriciate your help in that. for the last two days I am struglling in creating and adding new plugin to open fire, the general idea of the plugin is to send notification to the user in case he is offling using Google GCM.

I followed all available guides however some are outdated and other just doesnt provide the entire picuture. if anyone has a good guide I can follow I would really appriciate it.

I am curently working with eclipse mars.2 dist

Thank you!