If the plugin is installed correctly and works (I didn't look at your code) then in the course in Moodle please "turn editing on" and then select add a block and add your block there.
General developer forum
Create a plugin
This discussion has been locked so you can no longer reply to it.