Tutorial on creating a Gate Plugin. This tutorial example covers some common issues which might be faced while creating a gate plugin.