just want to follow up on this.
It is now working, creating the c++ files an adding the code made it work, but only works for banners.
The documentation is misleading since it states that you only need to add it if you are using c++, it should be written that you NEED to add c++ file and the code.
My next challenge now is to get the reward system up and running, going to try and create a plugin for this.