Does Moodle have some sort of coin or token system?

Does Moodle have some sort of coin or token system?

by Doug Funnie -
Number of replies: 12

Hello Everyone,

I would like for students to be able to purchase tokens/coins, then use those tokens to view an activity. After they've participated in the activity, I would like the amount of tokens/coin they have to decrease by one. Is there any way to do this?


Thanks!

Average of ratings: -
In reply to Doug Funnie

Re: Does Moodle have some sort of coin or token system?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Is this a thing?

I've never heard of anything like that. Can you give us a bit of background on what you're trying to achieve perhaps?

In reply to Howard Miller

Re: Does Moodle have some sort of coin or token system?

by Doug Funnie -
Sure.

So this is basically what I want to happen:

Students will purchase a package such as 50 tokens, 100 tokens, 200 tokens, etc. A token is equivalent to one hour of live online class time. The student then uses the Scheduler plugin to book a class. For each class booked by the student, they will have one token subtracted from their total tokens. If a student has 0 tokens in their possession, they will be unable to book a class within the Scheduler plugin.

I think I have most of the details figured out. I just need to figure out how I can set up some sort of token system. They don't have to be called tokens. You could think of them as lessons or class sessions. I just need a way to allow students to purchase time, and each time they book a class, that time is subtracted by 1 hour. Also, the number needs to be visible to the student.


In reply to Doug Funnie

Re: Does Moodle have some sort of coin or token system?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

We did something similar in iomad (www.iomad.org) called 'licenses'. Licenses can be purchased to allow access to individual courses within a certain time frame. 

Other than that, I'm struggling with this one. 

In reply to Howard Miller

Re: Does Moodle have some sort of coin or token system?

by Doug Funnie -

What I was thinking was having a dropdown menu located within the user's profile with these options:

10

20

50

100

200

500

1,000

Then....the user could maybe purchase a course. But it wouldn't actually be a course, it would be labeled a course but used as...a license I guess? If the user has access to the course, I would then like to be able to increase his/her token count to the correct token amount. Would this not work? Then I could just hide it from being viewed as a regular class, or just outright label each class as the aforementioned token amount under a category called "Tokens."


Example:

Category: Token >

Class: 10, 20, 50, etc.


In reply to Doug Funnie

Re: Does Moodle have some sort of coin or token system?

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Doug, your concept is interesting, and I am not discouraging you from exploring it, it might be a creative way to teach, and I would not want to be the one to discourage creativity.

In general, this seems to be the opposite of "normal" education: students learn something and "gain" knowledge.  The goal is typically to be rewarded for gaining knowledge.  Students start with zero percent knowledge, and they typically work up to 100 percent knowledge.  This is most often referred to as the "course grade."

So your idea makes me wonder about the advantage of starting with 100 "coins" and using them up.  And I do not see the advantage of stopping a student from accessing learning activities because they have run out of "coins."

Well, just my thoughts.

In reply to Rick Jerz

Re: Does Moodle have some sort of coin or token system?

by Doug Funnie -

Essentially, we will have two types of packages:

1) Resource / course access. Students purchase a course as they normally would, and they're granted access to the resources (books, tests, activities, etc.) for a given amount of time, such as a month, six months, a year, or indefinitely.

2) Live lessons with teachers. It's this type of package which would require tokens.

In reply to Doug Funnie

Re: Does Moodle have some sort of coin or token system?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This is almost certainly going to require a custom development. 

I hope (I can't work it out) that you intend to restrict access at a course level in which case we are only talking about enrolling (un-enrolling) students. If you are actually describing access to individual topics and activities then it gets very interesting. 

In reply to Howard Miller

Re: Does Moodle have some sort of coin or token system?

by Doug Funnie -
The token system would really only be paired with the Scheduler activity, which I would have one of within each course.
In reply to Doug Funnie

Re: Does Moodle have some sort of coin or token system?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

In which case it sounds like a customised version of Scheduler. 

In reply to Howard Miller

Re: Does Moodle have some sort of coin or token system?

by Doug Funnie -

Yeah, you might be right. I've already tweaked scheduler a little bit. This is probably going to be the best way to get the results I want.

In reply to Doug Funnie

Re: Does Moodle have some sort of coin or token system?

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers

Two plug ins that come to mind are these two blocks:

Level up: a block where users earn XP by doing things in the course (teachers can set up what the kids do) - you can have multiple levels and set up a required amount of points to earn per level. Points can be earned on a course by course basis, or all points can add cumulatively for all courses. You can’t “trade in” these points but you can restrict acces to things based on a users current level.

Stash Block: a block that houses a student’s “stash” - things they’ve earned. You can place “tokens” anywhere in a course for students to collect. They can even “trade in” objects in their stash for some other object. 

Hopefully these can at least help get you close to what you’re looking to do?

In reply to John Provasnik

Re: Does Moodle have some sort of coin or token system?

by Doug Funnie -

Thanks, John. Those plugins definitely sound like a good starting point for what I'm trying to accomplish. Much appreciated.