Your Moodle version

Blocks: Level up!

block_xp
Maintained by Picture of Frédéric Massart Frédéric Massart
Engage your students! Gamify your students' learning experience by allowing them to level up in their courses. #gamification #game
1k
1k
110
Moodle 2.7, 2.8, 2.9, 3.0, 3.1

You can easily support this plugin: add it to your favourites and star it on GitHub!

Feature request and bug reports

Please report the issues you find, problems you experience or any feature request on the issue tracker. Thanks!

Features

  • Automatically captures and attributes experience points to students' actions
  • Block that displays current level and progress towards next level
  • Report for teachers to get an overview of their students' levels
  • Notifications to congratulate students as they level up
  • A ladder to display the ranking of the students
  • Ability to set the number of levels and the experience required to get to them
  • Images can be uploaded to customise for the appearance of the levels
  • The amount of experience points earned per event is customizable
  • Page to display the list of levels and a description
  • Experience points are earned per course
  • An event is fired when a student levels up (for developers)

How are experience points calculated?

This block listens to events triggered in Moodle and captures some according to pre-defined rules. It then attributes experience points based on the information contained in the event. For more information about the events, refer to the documentation.

Only the users with the capability block/xp:earnxp can earn experience points. This capability is given by default to students. Also actions triggered by guests, non-logged in users or administrators are ignored.

The following events are always ignored:

  • Events from another context than course or module
  • Events having another educational level than participating
  • Events flagged as anonymous, e.g. in an anonymous Feedback

The rest is up to you. By default the plugin comes with a minimal set of rules to attribute experience points to actions, and to ignore some redundant ones. Visit the Rules page in the plugin itself to view or override them.

Note: Repeated actions within a short time interval are ignored to prevent cheating.

How to use one block for all courses

In order to gather experience points from all the courses a student is participating in, you have to set the admin setting Where are experience points used? to 'For the whole site'. This setting is located under "Site administration > Plugins > Blocks > Level up!". Once set, any block newly or previously added will display the total experience points of your student.

Sets

This plugin is part of set Experience Points (XP).

Screenshots

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

Contributors

Picture of Frédéric Massart
Frédéric Massart (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Frédéric Massart
    Thu, Jul 14, 2016, 10:33 AM
    Hi, I'm afraid not, at the moment it is based on students' actions not how they perform. Cheers!
  • Picture of Marko Dehmel
    Thu, Jul 21, 2016, 7:37 PM
    Hi,
    is there an opportunity to disable the default rules?
    Thank you!
  • Picture of Stuart Jones
    Thu, Jul 28, 2016, 12:28 PM
    It appears as if I have the same need as many other users here and want to award students based on quiz grades and outcomes or to manually assign xp myself. I love the idea of the plugin, though.
  • Picture of Sergio Cardillo
    Tue, Aug 2, 2016, 8:55 PM
    Can I use this plug-in on 2.6 moodle version?
  • Picture of Frédéric Massart
    Wed, Aug 3, 2016, 10:48 AM
    No. And if it is possible it would be pointless as there aren't enough events in Moodle 2.6 and below.
  • Picture of Guido Roessling
    Thu, Aug 4, 2016, 6:59 PM
    Hi, I really like the plugin - thanks for the great work, Frédéric!
    I noticed that the default rules are hard-coded in classes/filter_manager.php. I would prefer if they could be adjusted inside a course, so that each course may use the default rules, or can easily turn them off. As far as I can tell, this is currently not possible, but might be an interesting extension for an upcoming release.
  • Picture of Bert van der Hooft
    Tue, Aug 9, 2016, 2:12 AM
    Compliments!

    Just a question: how to change the dewcription of level 1?
  • Picture of Athina Vasilaki
    Wed, Aug 24, 2016, 1:57 PM
    Hi! Thanks for this plugin, it's really great!
    However, I would like to use it for earning XP in the whole site. I have changed the setting on the administration block and set it for the whole site, but it doesn't seem to work. I don't know what I'm doing wrong. When I set it for the course it works just fine, but when I set it for the whole site the ladder is not working. Any help will be much appreciated. Thank you!
  • Picture of Frédéric Massart
    Wed, Aug 24, 2016, 2:20 PM
    Hi Athina,

    Once you've switched to using the block for the whole site, could you then add the block to the front page, then in the settings of the block mark it as being displayed throughout the entire site. Once this is done, log-in as a student, head to a course and post to a forum. Logging back in as the manager, access the logs of the "Level up" through its settings page and check if you see the students actions.

    Let me know how you go from there.
  • Picture of Athina Vasilaki
    Wed, Aug 24, 2016, 7:54 PM
    Hi Frédéric! Thank you for your prompt reply. It worked and now I can see all the XP of the users. I now have another question. Is there a way when we create our own rules to put a condition on the grade achieved? I have allowed multiple tries in the quiz so if you don't get 100% the first time it allows you to retry. However, this is unfair for the student who will manage to get 100% the first time as XP points are calculated on the event of quiz started and quiz ended. Thank you.
  • Picture of JOSE LUIS ANSÓ
    Thu, Aug 25, 2016, 1:13 AM
    Hello Frédéric! Congratulations for this plugin. Excellent work! The following maybe it is a stupid question, but I'm no able to configure properly the rules. Here it goes: I'm playing around with rules and would like to know whether there is a method to get points only the first time the user view/update/complete one activity. Example: after viewing a scorm module, the student gets some points, but second time should not get any additional point. The reason is that, otherwise, the user can access different levels just accessing a single scorm several times. Hope this question is not bothering you and people. Sorry for my ignorance.
  • Picture of Frédéric Massart
    Thu, Aug 25, 2016, 11:05 AM
    @Athina, and @Jose,

    Both your questions are related. First, it is not possible to attribute XP based on the result a student may have, this is not directly related to what you were asking but it is important to note. The plugin was designed to reward students based on their actions, not on their achievements.

    That being said, it is not either possible to check how many times they have accessed something and change the rules accordingly. You are not the first to request such behaviour so I may try to implement it. Meantime I don't really have a solution. I wanted to look at developing a "Quest" plugin which would allow teachers to set complex rules for 1 time rewards (as XP, and other things) but I haven't had time for it yet.

    Current, I am working with Adrian Greeve on "Stash" (https://moodle.org/plugins/block_stash), another plugin you can use to gamify your courses.

    I hope this answers your questions.

    Cheers,
    Fred
  • Picture of Eddie Whittingham
    Wed, Sep 7, 2016, 5:52 PM
    LOVE this plug-in. One quick query,is there a way to change the 'cool, thanks' message to something else?
  • Picture of Frédéric Massart
    Thu, Sep 8, 2016, 10:51 AM
    Hi Eddie. No, not at this stage, but you can customise your language back to rephrase the string _coolthanks_ to whatever you like.
  • Picture of Juanma Campos
    Sat, Sep 24, 2016, 11:20 PM
    Hello everyone. Could anyone tell me how to disable \core\event\course_viewed so that it doesn't add points when the event occurs. I can't find how to do it. Thanks in advance and congratulations for the plugin.
1 2 3 4 5 6 7 8 9 10 11
Please login to post comments