I think you need to create an activity module. The activity module will, of course, need to communicate with the Moodle gradebook.
Moodle community sites
Moodle documentation: Custom group-activity module problem
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.