Level up! - Gamification 🏅

Blocks ::: block_xp
Maintained by 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
Latest release:
8451 sites
490 fans
Current versions available: 2

Version   Moodle   Favourites   Since  

Visit our website at levelup.plus.

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

What's new?

With a focus on UX, here are some of the highlights of our recent releases.

  • Revamp user interface to setup the levels
  • Redesigned rule picker to include rule description
  • New rule to target an activity by name (Level up! Plus add-on required)
  • Downloadable logs (Level up! Plus add-on required)
  • 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:

  • Target an activity by name
  • 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
  • Download the logs
  • 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), Gamification.


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


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

Comments RSS


  • Wed, May 18, 2016, 3:31 PM
    the plugin is under my version moodle
  • Wed, May 18, 2016, 3:59 PM
    I tried to put the default roles, but also no change
  • Wed, May 18, 2016, 5:27 PM
    can you give me your personal e-mail? i'll send screenshot for you.
  • Sat, May 21, 2016, 2:40 AM
    Hi Frédéric, first of all thank you for the amazing plugin.

    I really wanted to award my students based on their activity grades, but I know it's not possible. However I think i found a "not ideal "solution but it should work. Here it goes:

    1)I can set the conclusion criteria of an activity to be "grade > 70%"
    2)I can assign a badge criteria to be "when an activity is completed".
    3)I can track when a badge is awarded and give points for that.

    The problem is that i can't create a rule that tracks a badge being awarded.
    I tried so many things, such as: name component equals "core/event/badge_awarded"

    If I look at my general log from site administration i can see that the event was triggered.

    Do you know how to solve that?

    Thank you for any help!
  • Mon, May 23, 2016, 11:01 AM
    Hi Leonardo,

    Interesting method, that's clever. Now the problem that you're facing is that the badge awarded event is of type "Teaching" and will therefore not be used to attribute XP points to a user. Also, the context of the event may not be inside a course which would be another factor preventing it from counting.

    Sorry I can't be of any help.
  • Sun, Jun 19, 2016, 8:12 AM
    Hello. I tried to use this plugin under moodle 3.1. Everything works fine except the page for setting the rules (/blocks/xp/rules.php). The server just returns an HTTP error 500 and just says "The page moodle.camee.edu.mx doesnt works. The page moodle.camee.edu.mx cannot process this request now."
    I hope theres a fix for this because I really want to try the block on my courses.
  • Sun, Jun 19, 2016, 1:54 PM
    Hi Gilberto, would you be able to check your logs and raise an issue on the bug tracker: https://github.com/FMCorz/moodle-block_xp/issues? I am not presently aware of any issues. Could you also check your PHP version? Thanks!
  • Wed, Jul 13, 2016, 10:35 PM

    Great job with this block!

    One question, Can I put a condition to give points a quiz if approved?

    Thank you
  • 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!
  • Thu, Jul 21, 2016, 7:37 PM
    is there an opportunity to disable the default rules?
    Thank you!
  • 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.
  • Tue, Aug 2, 2016, 8:55 PM
    Can I use this plug-in on 2.6 moodle version?
  • 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.
  • 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.
  • Tue, Aug 9, 2016, 2:12 AM

    Just a question: how to change the dewcription of level 1?
Please login to post comments