Maintained by Picture of Frédéric Massart ⭐Frédéric Massart ⭐
🔥 🤩 The easiest way to add gamification to your Moodle site! Engage your students! Gamify their learning experience by allowing them to level up in their courses. #gamification #game
6487 sites
428 fans
Current versions available: 2

Version   Moodle   Favourites  

Visit our website at

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

What's new?

  • More privacy controls with enforced ladder anonymity and capability to access the logs
  • Compensate team's points for teams with less members with Level up! Plus! Read more
  • See the latest release notes

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
  • Support for shortcodes to include in content
  • GDPR compliant

Level up ! Plus add-on features

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

  • Grade-based rewards
  • Team leaderboards
  • Activity completion support
  • Course completion support
  • Individual rewards
  • Mobile app support
  • Course selection rule
  • Resilient cheat guard
  • Limit learners rewards in time frame
  • Progress bar can display progress towards next or ultimate level
  • Additional default level badges
  • Substitute experience points for other symbols
  • Viewing the block on someone's profile displays their level
  • Import points from a CSV file
  • IOMAD support for the leaderboard and team leaderboard
  • Download the report
  • Email support

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

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 are experience points calculated?

Please refer to the Level up! documentation.

How to unlock content at a certain level?

Please refer to the Level up! documentation.

How to unlock a course at a certain level?

Please refer to the Level up! documentation.

Shortcodes supported

What are those? Shortcodes can be used in text editors throughout Moodle to include or modify the content. The plugin Shortcodes must be installed to enable them.

Level up! comes with shortcodes to display the learner's level badge, their progress bar, or even the leaderboard anywhere you like. Shortcodes can also be used to conditionally display content according to a learner's current level. For a list of available shortcodes and their documentation, please refer to Level up! documentation.

Provided by
Branch Up


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
Screenshot #8
Screenshot #9


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


  • Picture of David Samir
    Sun, Jul 19, 2020, 8:38 AM
    I was trying to add the Level Up Block on the Dashboard,
    But when I select "Add a block" I can't see the level up option!!
    It's only available on the courses page.

    Is there's a way for me to display it on the dashboard ?
  • Picture of Frédéric Massart ⭐
    Mon, Jul 20, 2020, 11:23 AM
    Hi David. Yes, please see the plugin's admin settings and set the setting 'block_xp_context' to "For the whole site". More details in the description of the plugin above.
  • Picture of Lucas Bagatini
    Thu, Jul 30, 2020, 11:22 PM
    Hi Frédéric,

    I'm setting up my Rules in a very granular way, activity by activity, because each one demands a very different amount of time and effort. I also want my students to earn points throughout the whole website. Considering this, can I centralize all the Rules in the Dashboard block, or should I create a XP block inside each course to avoid the system from crashing due to too many rules at the same place (in the end, it's going to be a little more than 1.000 activities/rules)?

    If possible, I would prefer to centralize all in one block in the Dashboard, to display less information inside each course and avoid cluttering.

    Thanks in advance for your attention!
  • Picture of Frédéric Massart ⭐
    Fri, Jul 31, 2020, 11:35 AM
    Hi Lucas,

    To answer simply, if you set the plugin "Per course", then students will start over in each course, at level 1, and they won't accumulate points a site-wide level. If you prefer your students to carry their experience from course to course, then you probably want to go site-wide.

    We have not heard from users setting thousands of rules before, and thus we do not know how it will behave. We suggest that you give it a go, and we can evaluate and improve the rules if things do not go as planned. Perhaps we can also work together to develop rules that combine several ones if that's help reduce the work/rules needed to achieve a similar result.
  • Picture of Raymond Frangie
    Fri, Jul 31, 2020, 8:06 PM
    Hi Frederic!

    Can we add support for "groupings" along with the current support for groups. I have a single course with multiple cohorts from different units sharing the same material and groupings would be of great help to provide tailored results!

  • Picture of Frédéric Massart ⭐
    Sat, Aug 1, 2020, 10:27 AM
    Hi Ray,

    Thank you for your suggestion. Would you please describe what content would benefit from supporting groupings? To our knowledge the leaderboards are using the standard Moodle features which should support groupings when needed. If you are referring to the "Team leaderboards" from Level up! Plus, the groups displayed are based off the default grouping in a course, is that for this one that you would like to see a better support for groupings?

    Thank you!
  • Picture of Lucas Bagatini
    Tue, Aug 4, 2020, 12:04 AM
    Hi Frédéric,

    great, I will insert all of them inside the Dashboard XP block, see what happens, and let you know if anything goes wrong haha.

    But yes, there might be a way to create fewer rules, I just haven't found out how. In this case, the points will be awarded based on the number of pages in a Lesson and a multiplier factor. For example:

    - Lesson with 10 pages: 10 * 1 = 10 points;
    - Quiz about the above lesson: also 10 points;

    - Lesson summarizing 3 other lessons, one with 10 pages, the other with 14, and another with 16: 40 * 0.5 = 20 points
    - Quiz about this summary: same 20 points

    So each lesson page gives 1 point with a multiplier factor of 100%, and a summary lesson awards half the points of all lessons it's related to. I actually use different values, but you get the idea. Also, the points per page and the multiplier factors are constant throughout the courses.

    As you can see, it's easy to explain but hard to set up. However, it's the best way I've found so far to award students based on their effort, rather than giving the same amount of points for very different activities, or trying to keep all activities about the same size (which would lead to boredom and the content breaking up at weird places).

    (By the way, I'm not complaining about it, since it was my idea to increase the complexity instead of simplifying things. I'm just sharing the idea in case it's useful for you or someone else.)
  • Picture of Jukka Koo
    Mon, Aug 31, 2020, 10:35 PM
    Hi Frédéric

    Can I add multiple level up blocks to one course?
  • Picture of Frédéric Massart ⭐
    Tue, Sep 1, 2020, 9:09 AM
    Hi Jukka. No, this is not possible at this point.
  • Picture of Courtney Fearing
    Thu, Sep 10, 2020, 12:32 AM
    Can points earned from the LevelUp plugin be used to purchase rewards? We would like to set up a system where users earn points for various activities throughout the courses and then can visit a bookstore and redeem merchandise for the points they have earned.
  • Picture of Frédéric Massart ⭐
    Thu, Sep 10, 2020, 12:50 AM
    Hi Courtney. No, it cannot, but the good news is that there is a plugin that allows just that. Please search for Mootivated ( or visit them at
  • Profile picture of Harald Jakobs
    Fri, Oct 23, 2020, 10:01 PM
    Hi all!

    We are currently testing Level Up in some pilot courses on our system. A problem has occurred for which we have no explanation or solution. Maybe someone here can help me with this.

    Students should get 10xp in a course for clicking a H5P element and a file. The rules are therefore:

    10xp if at least one condition is fulfilled: H5P - course module displayed
    10xp, if at least one condition is fulfilled: File - Course module displayed

    To avoid that repeated clicks do count several times, the instructor has set as rules for the Cheat Guard:

    max. 1 action per 5 minutes
    999999 minutes interval between two identical actions

    However, the students seem to get points for each click on the H5P element and the file. What could be the reason for this? Is it linked to sessions? Although, if you take a look at the logs you can see that some actions are spread over several days, but others are within the usual session time (4 hours). If the users haven't logged out themselves, this should not be the reason.

    Or is the value 999999 too high, i.e. the block cannot process this and an internal max. limit applies here? Because actually only the plus version should be helpful for longer periods of time: "This cheat guard is not designed to cover long time frames. Please consider upgrading to Level up! Plus to unlock greater time frames and other features".

    The Level Up documentary does not really help. It just says "Note: it happens that Moodle's event definition tricks Level up! into thinking that two actions are not identical. If you notice that some events are not being caught by the cheat guard, you may want to add a specific rules to ignore them." But what kind of rule this should be is not clear to me.

    Maybe someone can point me to the solution?

    Kind regards
  • Picture of Frédéric Massart ⭐
    Sun, Oct 25, 2020, 11:17 AM
    Hi Harald,

    The cheat guard in the free version is meant to prevent abuse, but it's not robust enough to prevent repetitions. It keeps track of a set of previously taken actions in a queue, first in, last out. When the queue gets to a certain size, it discards the last elements for performance and memory consumption reasons. From that point, previous actions may award points again. The reason why the time frame unit cannot be set beyond "minutes" is because it's not meant to cover long time frames, as it won't produce the desired effects. The message you are seeing is displayed for that exact reason.

    We are voluntarily obscure on the exact mechanics of the cheat guard in the free version as to not publicly disclose how to abuse the system.

    The note "it happens that Moodle's event definition tricks Level up! into thinking that two actions are not identical." is related to how Moodle core developers have created and/or used the events that the plugin observes. Each event comes with a set of properties that the plugin relies on, it may happen that these properties are too vague and thus _Level up!_ may treat two separate actions as identical. On the other hand, it happens that somes properties are too specific, and thus what we (humans) would consider identical is not perceived by the plugin as identical. This would only be a concern if you noted that specific events were counted more then usual, or not when they should have been. Both cases only apply to repetitions, or lack there of, of events with the exact same name.

    Kind regards,
  • Picture of David Bugyi
    Tue, Oct 27, 2020, 5:24 PM
    Hello All!

    Is there a small HTML code snippet, which will display the current user's actual star level? I am doing a little customization and just want to add the current star to the sidebar.
  • Picture of Frédéric Massart ⭐
    Tue, Oct 27, 2020, 5:29 PM
    Hi David,

    Yes, you can use the shortcode "xpbadge" (see here:, alternatively here are some functions that you may find useful:

    Kind regards,
Please login to post comments