We are developing a plugin where Moodle (v3.0/3.1) both graphically notifies the user that an activity was handed in and when an activity has been graded. At both moments, more things can happen, like receiving points.
Ideally, we would like this to be triggered by respectively a completion and a graded event. However, there appears only to be a graded event for the assignment, is that correct? We also use a lot of lessons and quizes. For quizes there is a question manually graded, but would actually need to be when everything in the quize was graded.
This would mean we need to add the triggering of an event_graded for lessons and quizes. Does that only mean we need to add the few lines of code like described here: https://docs.moodle.org/dev/Event_2#Triggering_events , or is more required? Does anyone did this before?
Thanks a lot in advance,