Blocks ::: block_stash
Maintained by Adrian Greeve, Frédéric Massart ⭐
Add an inventory of items to your course and let your students find items by exploring the activities. #game #gamification
Latest release:
1201 sites
86 fans
Current versions available: 2

The stash block is a good way to encourage more interaction with activities and is invaluable for teachers looking to gamify their course.

This plugin introduces a block that shows students items that they have picked up through the course.

The teacher can create items and then place them in activities and resources for students to find.

Items can be set to be collected once and encourages exploration of the course material. It is also possible to set an item to have an unlimited supply from a set location. This could encourage  students to return to specific areas to collect more items. 

You can also check out this video:

Quick start

We've crafted a sample course for you to try, it is the best way to see what this plugin has to offer. Please accurately follow those steps:

1/ Get your hands on a Moodle installation
2/ Install the three following plugins (without exception)
3/ Enable conditional access, named enableavailability under "Site administration > Advanced features"
4/ Restore this backup file as a new course

5/ Enrol a student in the new course
Now, login as that student and try the course

Important note

In order to make this plugin easier to use and fully featured, please also install:

They are highly recommended.


This plugin is part of sets Stash, Gamification.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6


Adrian Greeve (Lead maintainer)
Frédéric Massart ⭐: (The real lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Wed, Jul 13, 2016, 9:04 PM

    Thanks guys for sharing this block with the Moodle community. I really like the idea and the potential. I am sure there will be many creative teachers who will find the block really handy. During the approval testing, I found it working well. The code is well structured and implemented. The block is a nice example of modern advanced programming techniques in Moodle development. Well done on that.

    I am happy to approve the plugin now. You are cleared to land, welcome to the Plugins directory!

  • Ricardo Caiado
    Wed, Jul 13, 2016, 9:43 PM

    Where do I find the "availability_stash plugin"?

  • Thu, Jul 14, 2016, 10:00 AM
    Hi Ricardo,

    For now you can find it here:

  • Ricardo Caiado
    Thu, Jul 14, 2016, 10:14 AM
  • Fri, Jul 15, 2016, 5:30 AM
    This is amazing! Thank you for contributing! I couldn't get the availability plugin to install properly on 3.1 yet, but maybe it's not ready? This will be an incredible combo!
  • Thu, Aug 18, 2016, 2:06 PM
    I love the idea, but cannot get it to work. 1) the image is too small for students to understand it, so how do I edit the image size? I have searched all possible ways, and it appears there is no size parameters in the code snippet; 2) when I press or when my student presses the "Pick up" button, nothing happens. I expected the image to pop into the Stash block. I tried logging in as several students but nothing worked. I inserted the code into a teacher-only place--the heading of a course section.
  • Thu, Aug 18, 2016, 2:48 PM
    Hello Mr Hinkelman,

    It's nice to hear from you again. Thank you for taking the time to check out and comment on our plugin.
    1) At the moment the image size for the items is set. Fred and I always had the idea that clicking on the image would pop up a larger image and it would have further detail. Unfortunately we have not implemented this addition yet.
    2) I am guessing that you have clicked the image and it has disappeared, but you have not refreshed the page, and this is why there is nothing in the stash area. This could also be compounded with the fact that if you are a teacher clicking on the image, it will never move the item into the stash. I think it would be nice to see the item immediately show in the stash block when it is collected. We will see if this is possible in the future.
    We are heading into a project week next week, so we may be able to implement some of these features then.

    Thanks again for your input.
Please login to post comments