Moodle Plugins directory: Treasure Hunt: Versions: v1.9.0 | Moodle.org

Treasure Hunt
Activities ::: mod_treasurehunt
Maintained by
Juan Pablo de Castro
Outdoor, indoor and virtual-map treasure-chases with geolocation and QR codes. This module for Moodle allows to organize outdoor-serious-games with your students. TreasureHunt supports Moodle Mobile App and also implements a browser-based play application (no need to install any native app) and a geographical editor for encoding the stages of the game. The game can be configured with a range of options that make the module to be very flexible and useful in many situations: individual/team, moving/desktop-marking, scoring from time, position, completion, etc.
Languages: Chinese, English, German, Greek, Portuguese, Russian, Spanish, more to come...
Treasure Hunt v1.9.0
Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: Monday, 21 July 2025, 5:41 PM
Code prechecks
overview
phplint
phpcs875 | 201
js10906 | 6797
css5925 | 124
phpdoc35 | 0
savepoint2 | 0
thirdparty
grunt1 | 1
shifter
mustache0 | 134
gherkin
HTML | XMLmoodle-mod_treasure
Activity module for Moodle that allows to run outdoor, indoor (QRCodes), virtual maps (canvas) treasure-chases with geolocation. Tutorial and manuals in English and Spanish
Installation
- unzip, and copy into Moodle's /mod folder
- visit administration page to install module
- configure default settings for your site
- use in any course as wished
Operation
- create an instance of the activity
- create one or more roads to be followed by your "hunters"
- create a set of stages in each road.
- write smart and educational clues that point to the next stage. Optinally, write a multiple-chice question to double-check the discovery of the stage
- draw the location of the stages with th buil-in GIS editor
- select the modality of the treasure hunt: individual or grouped (you will need to create the groups and groupings of students).
- configure the map elements for the player webapp.
- adjust the grading method and penalizations.
- let your students play the game.
See also
- Moodle plugins entry page
- Moodle.org forum discussion thread
- Tutorial and manuals in English and Spanish
Change log
- v1.9.0 Support availability/treasurehunt (https://github.com/juacas/moodle-availability_treasurehunt). Support stage hints (direction, distance, "insideness").
- v1.8.2 Trigger Clue dialog after each notification. Preview mode for teachers.
- v1.8.1 Fix compatibility with some themes and fix deprecated code in moodle and php 8.
- v1.8.0 Moodle 5.0 release. Add support for overview api.
- v1.7.1 Improve SVG static images. Fix aspect ratio of images to ensure that SVG are rendered vectorial.
- v1.7.0 Add XYZ Tiled layers. Fancy style deprecated (jquerymobile is not supported anymore).
- v1.6.1 Moodle 4.5 compatibility. Player style classic deprecated.
- v1.6.0 Support of Freeze contexts.
- v1.5.8 Fix polyfill obsolete library.
- v1.5.7 Change deprecated QR generation from chart.googleapis.com to quickchart.io (Issue #61 thanks to @idograca)
- v1.5.6 Remove get_legacy_log function deprecated by 4.1.5. #60 Small UI changes.
- v1.5.4 Fixes about accesibility (color-blinded), allow filters in texts and better visualization of play page on Moodle 4.
- v1.5.0 Plugin for Moodle Mobile App. Issue #49 fixed.
- v1.4.2 Fix a bug with Moodle 3.9 name of Bootstrap libraries.
- v1.4.1 Fix a bug that showed a text below the instance name.
- v1.4.0 Choice between 3 different playpage styles. New bootstrap-based play page more compatible and light-weight. Street view link from play page.
- v1.3.2 Fix upgrade code.
- v1.3.1c-hotfix fix to an important regression that prevented the creation of new instances.
- v1.3.1-hotfix Important updgrade! Moodle3.8 introduced a JS compiler that conflicts with geocode.js lib and breaks all javascript of the site. Now it is reimplemented.
- v1.3.1 Fix in dyndates.js. Fix radio buttons in answers for Moodle up to 3.7.
- v1.3.0 Dates and times update in real-time. Interface pulishment. Workaround to Babel compiler conflict in player page.
- v1.2.22c Solve javascript conflict with Babel compiler in Moodle 3.8. Simplify editor buttonset. Dynamic icon.
- v1.2.22b Update player jacvascript to be compatible with Moodle 3.8
- v1.2.22 UI for QR Scanner in edit form improved. QR scanner fixed for Xiaomi Redmi S2. Player UI improved in question section.
- v1.2.21 Fixed a minor bug in event reporting in play mode. Icons resized.
- v1.2.20 Fixed compatibility with PostgreSQL.
- v1.2.19 Fixed validation error when filemanager is conditionally disabled.
- v1.2.18 Fixed compatibility of GIS editor with Edge browser when using jqueryui > 1.11.
- v1.2.17 Auto update timer in GPX tracker.
- v1.2.16 Bug fixed: exception when completing an activity set to COMPLETION_MARKING_MANUAL.
- v1.2.15 Full compatibility of QRScanner with IOS 11 (iPhone && iPad).
- v1.2.14 Fix camera preview sizes. Implement switching cameras.
- v1.2.13 Change QR scanning library to fix the firefox regression.
- v1.2.12 Fix for compatibility with Moodle 2.9.x.
- v1.2.11 Link to online tutorial added to edit page.
- v1.2.10 Fix support to long texts in clues. Left panel shows a truncated text.
- v1.2.9 Incompatibility with IOS 11 fixed.
- v1.2.8 Clues with long text were not readable in lateral panel in the player. Text moved to History Page.
- v1.2.7 Compatibility with MSSQL
- v1.2.6 Custom image maps. Validation form fixed.
- v1.2.5 Non-geographic images as base of the game.
- v1.2.4 Fixed conflict with Essential theme.
- v1.2.3 Custom image maps. Support for WMS and uploaded images.
- v1.2.1 SVG images render with vector quality.
- v1.2.0 Custom uploaded images.
(c) 2016 onwards. EDUVALab. University of Valladolid.
Version information
- Version build number
- 2025070302
- Version release name
- v1.9.0
- Maturity
- Stable version
- MD5 Sum
- a1ebbc9f8ff2ad0d609cd752d0ef34c5
- Supported software
- Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
- Latest release for Moodle 4.1
- Latest release for Moodle 4.2
- Latest release for Moodle 4.3
- Latest release for Moodle 4.4
- Latest release for Moodle 4.5
- Latest release for Moodle 5.0
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS tag
- v1.9.0
Default installation instructions for plugins of the type Activities
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "assignment") in the "mod" subdirectory.
- Visit http://yoursite.com/admin to finish the installation