PHPackages                             abgreeve/moodle-block\_stash - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. abgreeve/moodle-block\_stash

ActiveMoodle-block

abgreeve/moodle-block\_stash
============================

52215[11 issues](https://github.com/abgreeve/moodle-block_stash/issues)[7 PRs](https://github.com/abgreeve/moodle-block_stash/pulls)PHP

Since Mar 23Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/abgreeve/moodle-block_stash)[ Packagist](https://packagist.org/packages/abgreeve/moodle-block_stash)[ RSS](/packages/abgreeve-moodle-block-stash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (1)Used By (0)

Block Stash
===========

[](#block-stash)

Engage your students! Gamify your courses by hiding objects for your students to find.

Features
--------

[](#features)

- Create any object you like
- Hide objects throughout your course in any possible location
- Set objects to automatically re-appear after a delay to boost engagement
- Unlock access to activities based on the objects found (requires plugin [availability\_stash](https://moodle.org/plugins/availability_stash))
- Trade by exchanging items for different items (requires plugin [filter plugin](https://github.com/branchup/moodle-filter_shortcodes))
- Allow students to trade items with each other in the trade center.
- **New** Configure stash to remove items to allow quiz attempts.

Requirements
------------

[](#requirements)

Moodle 4.1.2 or greater.

Installation
------------

[](#installation)

Simply install the plugin and add the block to a course page.

*Please read the [Recommended plugins](#recommended-plugins) section.*

Getting started
---------------

[](#getting-started)

### Creating an item

[](#creating-an-item)

1. Create a new item
2. Create a new location for that item
3. Copy the code snippet for that location
4. Directly paste the code in the HTML view of your editor

When viewing the content the object will now appear. Note that teachers cannot pick up the objects, for them they will always re-appear.

### Creating a trade (item exchange)

[](#creating-a-trade-item-exchange)

1. Create at least two items (see creating an item above)
2. Click the create trade widget button.
3. Add items to gain on the left side and items to lose on the right.
4. Once saved click on the trade name and copy the code snippet.
5. Directly paste the code snippet into any location that has an editor.

### Configuring an item removal

[](#configuring-an-item-removal)

1. Create a quiz in your course
2. Make sure you have at least one item created in stash
3. As a teacher, go to the stash settings and select the 'Removals' tab
4. Click the 'Configure removal' button
5. Select at least one item to remove (+ symbol)
6. Select a quiz and click save
7. Your quiz will now remove the configured items from students attempting that quiz. It is recommended that you inform your students about the item removal in the quiz description

### Important!

[](#important)

If you are not using the shortcodes filter (mentioned below) then you must use the ATTO editor to insert the code into the HTML source.

Recommended plugins
-------------------

[](#recommended-plugins)

### Shortcodes filter

[](#shortcodes-filter)

This [filter plugin](https://github.com/branchup/moodle-filter_shortcodes) makes it easier and more reliable to add the items to your course content. We very highly recommend you to use it. This is a requirement to use the trading feature.

### Stash availability

[](#stash-availability)

This [availability plugin](https://moodle.org/plugins/availability_stash) allows to restrict the access to activity modules and resources based on the objects collected by a student.

### Tiny stash

[](#tiny-stash)

This [tinyMCE editor plugin](https://moodle.org/plugins/tiny_stash) allows the user to add the items and trades to your course content using the TinyMCE editor.

License
-------

[](#license)

Licensed under the [GNU GPL License](http://www.gnu.org/copyleft/gpl.html).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 76.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7400b12cc228753df732a0ff6e177f6f799b040095972d0b62af2d4a6eda436?d=identicon)[abgreeve](/maintainers/abgreeve)

---

Top Contributors

[![abgreeve](https://avatars.githubusercontent.com/u/1161797?v=4)](https://github.com/abgreeve "abgreeve (153 commits)")[![FMCorz](https://avatars.githubusercontent.com/u/240112?v=4)](https://github.com/FMCorz "FMCorz (36 commits)")[![malteschmitz](https://avatars.githubusercontent.com/u/603258?v=4)](https://github.com/malteschmitz "malteschmitz (6 commits)")[![PhMemmel](https://avatars.githubusercontent.com/u/65113153?v=4)](https://github.com/PhMemmel "PhMemmel (2 commits)")[![cameron1729](https://avatars.githubusercontent.com/u/89116254?v=4)](https://github.com/cameron1729 "cameron1729 (1 commits)")[![pramithkm](https://avatars.githubusercontent.com/u/4723812?v=4)](https://github.com/pramithkm "pramithkm (1 commits)")[![sh-csg](https://avatars.githubusercontent.com/u/26581385?v=4)](https://github.com/sh-csg "sh-csg (1 commits)")

### Embed Badge

![Health badge](/badges/abgreeve-moodle-block-stash/health.svg)

```
[![Health](https://phpackages.com/badges/abgreeve-moodle-block-stash/health.svg)](https://phpackages.com/packages/abgreeve-moodle-block-stash)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
