Skip to main content
Version: 4.2

Plagiarism API

Draft document
This documentation is currently in-progress. You can help by contributing edits to this page.


The Plagiarism API is a core set of functions that all Moodle code can use to send user submitted content to Plagiarism Prevention systems

A typical user story:

  1. When Plagiarism tools are enabled, every module that allows it will have a group of settings added to allow management of sending the user content to a plagiarism service.
  2. A user enters some content/submits a file inside a module that a teacher/Admin has configured the tool to be used.
  3. An Event is triggered which contains details about the user, module and submission they have made
  4. Event handlers in the Plagiarism plugin are triggered and process anything required.
  5. Hooks for displaying information returned from the Plagiarism tools to both the user and teacher (controlled by the plugin)

Supported Modules

  • Assignment
  • Forum
  • Workshop

More information