Blocks: Level up!

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
2219 sites
190 fans

Check out our website dedicated to Level up! Click here.

Please support this plugin: add it to your favourites, star it on GitHub, or purchase the add-on!

What's new?

We are proud to announce Moodle Mobile app support. This feature is now available with Level up! Plus, the add-on for Level up!. Note that it requires Moodle 3.1, and the latest Moodle Mobile app.

Visit our website for more information on Level up! Plus.

Feature request and bug reports

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


  • Automatically attributes points to students for their 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 leaderboard to display the ranking of the students
  • Ability to customise the number of levels, the points they require and their appearance
  • Total control over the points earned per action
  • Unlock content when a certain level is reached
  • Experience points earned per course, or for the entire site

Level up ! Plus add-on features

Purchasing the Level up! Plus add-on unlocks these features:

  • Mobile app support
  • Activity completion support
  • Course completion support
  • Resilient cheat guard
  • Limit learners rewards in time frame
  • Additional default level badges
  • Substitute experience points for other symbols
  • Download the report
  • Email support

Visit our website for more information on Level up! Plus.

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! > General settings". Once set, any block newly or previously added will display the total experience points of your students.

How to unlock content at a certain level?

Install the availability plugin: Level up! Availability.


This plugin is part of sets Experience Points (XP), MoodleCloud, Gamification.


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


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
    Tue, 8 Aug 2017, 12:17 AM
    Thanks for your feedback Ricardo. This seems to be a bug coming from the other plugin availability_xp. I am hoping to get a fix shortly!
  • Picture of Frédéric Massart
    Tue, 8 Aug 2017, 1:07 AM
    There, I've released the v3.0.1. I'm hoping that the bug is fixed. Sorry for the inconvenience! Please let me know if you face any other issues. There has a been a lot of work done in v3.0 (15k lines added) and I'm expecting some other bugs to have let themselves hide in my code.
  • Picture of Frédéric Massart
    Tue, 8 Aug 2017, 1:12 AM
    I've also released a newer version of the availability plugin (2.0) to make it work with the newer version of Level up!.
  • Ricardo Caiado
    Tue, 8 Aug 2017, 1:15 AM

    Both (block/availability) are working just fine!!!

  • Fra Par
    Thu, 10 Aug 2017, 8:07 PM
    Very nice new version. I like the links with icons below the ladder.
    Good job!
  • Picture of Phuong Hoang
    Thu, 10 Aug 2017, 9:12 PM
    Hi Frédéric,
    This new version's amazing! I'm looking forwards to displaying Level up in block.
  • Picture of Frédéric Massart
    Thu, 10 Aug 2017, 10:50 PM
    Thank you both for your kind messages! It's always nice to hear your feedback, especially when it's positive! \o/
  • Picture of dnyaneshwar somwanshi
    Sun, 20 Aug 2017, 2:19 PM
    best plugin i ever seen. when will be this plugin ready for moodle mobile. i am looking for mobile support. as maximum students uses moodle mobile it is needed.
  • Picture of Frédéric Massart
    Sun, 20 Aug 2017, 11:52 PM
    Thanks, I'm working on enabling support for the mobile app in a future version.
  • Picture of dnyaneshwar somwanshi
    Wed, 6 Sep 2017, 2:41 AM
    When future version will be released. We are eagerly waiting.
  • Picture of Frédéric Massart
    Wed, 6 Sep 2017, 10:21 AM
    Thanks for your enthusiasm!

    Mobile support will be added to Plus very soon, we were tweeting about our progress yesterday:
  • Picture of László Pauer
    Wed, 6 Sep 2017, 7:21 PM
    I am trying to figure out how the cheat guard works. I have set the Time required between identical actions to 60 minutes, but when I do the same thing (wieving a book chapter) with a test user, I keep getting xp for it. Am I missing something, or diong something wrong?
  • Picture of Frédéric Massart
    Thu, 7 Sep 2017, 11:06 AM

    I have tried this on my side and it seems to work the way it was designed. In my tests, I could get experience points for each chapter, not repeatedly for the same chapter. If you would prefer rewarding your students for viewing the book, then I would suggest using the "Course module viewed" event instead.

    I hope this answers your question.

  • Picture of dnyaneshwar somwanshi
    Mon, 11 Sep 2017, 6:52 PM
    hello great work. how to access this feature on moodle mobile. i installed this plugin in my moodleweb. and addedblock to the course. what shoud i do next?
  • Picture of Frédéric Massart
    Mon, 11 Sep 2017, 6:55 PM
    Hi, Moodle Mobile supports requires "Level up! Plus" which is available for purchase on our website.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Please login to post comments