This plugin allows restricting access to Moodle resources and activities based on user progress in Treasurehunt activities.
See https://moodle.org/plugins/mod_treasurehunt
- Completed stages: Require a minimum number of completed stages. User need to discover the geometry of at least N stages.
- Playing time: Require a minimum time played.
- Full completion: Require the treasurehunt to be completely finished. It is unlinked to activity completion.
- **Current stage: the user must be exactly in a precise stage (position discovered).
- Return link: When restoring the availability condition, check the description text of the activities and update the return link to restored treasurehunt activity.
- v1.0.5 - Fix condition access when treasurehunt activity is deleted.
- v1.0.4 - Update return links in activities descriptions after restoration.
- v1.0.3 - Improve ajax calls and services.
- v1.0.2 - Implement privacy API. Minor fixes.
- v1.0.0 - Initial release.
-
Install from Moodle's repository.
-
Install from Github repository:
- Extract to
/availability/condition/treasurehunt/ - Visit the administration page to install
- The plugin will be available in access restrictions
- Edit any resource or activity
- In "Restrict access", add a new restriction
- Select "Treasurehunt"
- Configure the desired condition and parameters
- Save changes
- Moodle 4.1+
- mod_treasurehunt plugin installed
(c) 2025 Juan Pablo de Castro juan.pablo.de.castro@gmail.com
