Pre-requisites
To use the Ranking Activities AI plugin, ensure your environment meets the following requirements:
- Moodle 4.5 to 5.1. The plugin requires Moodle 4.5 (
$plugin->requires = 2024100700) and declares support for Moodle 4.5 through 5.1 ($plugin->supported = [405, 501]). - DataCurso AI Provider (
aiprovider_datacurso) plugin, version 2025100201 or later, installed before this plugin. It is declared as a dependency inversion.php, so Moodle refuses to install Ranking Activities AI if the provider is missing or older. You can download it for free from the Moodle Plugins Directory. - A valid license key configured in the DataCurso AI Provider settings.
[!IMPORTANT] Install and license the DataCurso AI Provider plugin first. This plugin will not install without it and will not function unless the provider is properly licensed.