Level Up XP - Gamification 🏅

Blocks ::: block_xp
Maintained by Frédéric Massart ⭐
🔥 🤩 The easiest way to add gamification to your Moodle site! Engage your learners! Gamify their learning experience to increase participation and completion rates. #gamification #engagement
Latest release:
9316 sites
566 fans
Current versions available: 3

Level Up XP

Gamify your Courses.
Engage Learners.
Increase Course Completion.


About XP

XP adds gamification to your Moodle courses. Learners receive points for their actions, visualise their progress, compete with others through a leaderboard, and unlock content based on their individual needs and experiences. Retain learners, increase completion, and provide a stimulating education experience!

Around 10,000 websites and 1.6 million learners use the plugin!

Why XP?

XP is the most popular gamification offer on Moodle with around 10.000 sites and 1.6 million learners using the plugin. Whether you are in charge of continuous training at your company, a university instructor looking to decrease drop-out rates, or a teacher who wants to provide a more engaging, fun learning environment, XP has you covered.

With XP you have complete control of your learners' pathways: decide what content they can access and which courses use gamification elements.

Built-in Features

Try XP and increase learning outcomes with the following features:

Motivate learners through experience points and individual leaderboards

  • Automatically attribute points to learners for their actions
  • Block that displays current level and progress towards next level
  • A leaderboard to show the ranking of the learners
  • Notifications to congratulate learners as they level up

Keep track of progress and steer their learning experience

  • Report for instructors to get an overview of their learners' levels
  • Ability to customise the number of levels, the points they require, and their appearance
  • Total control over the points earned per action
  • Experience points earned per course, or for the entire site
  • Support for shortcodes to include in content
  • Unlock content when a certain level is reached

XP is fully GDPR compliant and has been certified as a privacy-friendly plugin.

92% of our surveyed customers would recommend XP to their colleagues!

XP+ Features

Get serious about creating a fun learning environment! XP+ comes with even more personalisation options, the inclusion of team leaderboards, and more data evaluation possibilities. In addition to all XP features, XP+ allows you to:

Use the full potential of the Leaderboard

  • Create team leaderboards to increase team cohesion or competitiveness
  • Export leaderboards for data analytics

Award points for

  • Course behaviour
  • Learning activities
  • Course completion

Create an Individual Learner Pathway

  • Drops: award points by placing code snippets anywhere in your course
  • Target an activity by name to set rules that apply to all activities matching a given name
  • Grade-based rewards
  • Individual rewards (e.g. for punctuality) and personalised notes
  • Limit learners' rewards (e.g. limit points for repeated actions)
  • Progress bar can display progress toward the next or ultimate level
  • Additional default-level badges

Implement New Design Features for an Engaging Learning Experience

  • Substitute experience points for other symbols
  • Viewing the block on someone's profile displays their level

Do even more…

  • Implement resilient cheat guard
  • Course selection rule
  • Import points from a CSV file
  • Export logs and reports for easy data evaluation
  • Receive email support

Still curious? Visit our website for more information on XP+.

Join thousands of educators,
and gamify your courses today!

What's new?

We constantly add new features and updates to our plugins. Here are some of the highlights of our recent releases:

  • Compatibility with Moodle 4.1
  • Display leaderboard snapshot on the block
  • Design update for a more modern feel
  • Award points for completing a section (XP+)
  • For more, see the latest release notes

How are experience points calculated? How do I unlock new courses? How do I use shortcodes? Deep dive into XP's offers and learn how to use our features here.

Please report any issues, problems, or feature requests on the issue tracker. Thanks!


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


  • Mon, Nov 21, 2022, 1:34 PM
    @Giulia Battaglia Thank you for your comment. At the moment, the choice between whole-site and per-course is definitive and a more granular leaderboard is not available.

    I understand that in your use case, you would be interested for learners to have a single leaderboard and level for the whole site, but educators would like to have access to a report broken down by course, is that right?

  • Tue, Nov 22, 2022, 1:38 AM
    Hi, I'm using Level Up+ and was wondering if there's any way to edit the Level Up Praise message once someone levels up? We want to make a few style changes. Thanks!
  • Tue, Nov 22, 2022, 6:51 PM
    Hi @Parshva, not yet unfortunately, that is something we're hoping to ship in an upcoming release!
  • Tue, Nov 29, 2022, 10:10 AM
    will you be updating the git repo? It hasn't got the new version yet.
  • Tue, Nov 29, 2022, 10:31 AM
    Hi @Gregor,

    Whoops, we forgot to push the master branch, we had only pushed the tag. Note that we discourage the usage of the master branch as the latter often ends up in a unstable stage. We recommend checking out the latest tag:

  • Wed, Dec 7, 2022, 4:57 PM
    Hi all,
    I am getting the following when upgrading block_xp from v3.12.1 to v.3.13.0 into our Moodle 3.11.11:

    PHP Notice: The renderer was requested too early in the process.* line 383 of /local/xp/classes/local/container.php: call to debugging()
    * line 105 of /local/xp/classes/local/container.php: call to local_xp\local\container->get_renderer()
    * line 54 of /blocks/xp/classes/di.php: call to local_xp\local\container->get()
    * line 78 of /blocks/xp/classes/local/setting/recommended_plugins_setting.php: call to block_xp\di::get()
    * line 151 of /blocks/xp/classes/local/setting/default_settings_maker.php: call to block_xp\local\setting\recommended_plugins_setting->__construct()
    * line 84 of /local/xp/classes/local/setting/settings_maker.php: call to block_xp\local\setting\default_settings_maker->get_general_settings()
    * line 98 of /blocks/xp/classes/local/setting/default_settings_maker.php: call to local_xp\local\setting\settings_maker->get_general_settings()
    * line 74 of /local/xp/classes/local/setting/settings_maker.php: call to block_xp\local\setting\default_settings_maker->get_settings()
    * line 36 of /blocks/xp/settings.php: ca in /var/www/releases/uvigo-vle-moodle/uvigo-vle-moodle-20221201-145308/web/lib/weblib.php on line 3268

    Anyone know what this error is a result of and how to resolve it?
    Thanks in advance.
  • Wed, Dec 7, 2022, 10:37 PM
    Hi @Uvigo, this notice is inoffensive and is only meant to be seen by developers. We will address is in a future minor release. You may raise this issue on github should you wish to follow its progress. Thank you!
  • Mon, Dec 12, 2022, 1:50 AM
    Hi Frédéric,
    I'm having a bit of issue on the level up notification one would get if they completed a level. I have "Enable level up notification" as yes in the course settings but when I level up, I don't receive any pop-ups notifying me that I have leveled up.
  • Mon, Dec 12, 2022, 10:49 AM
    Hi @Parshva,

    This is odd. Would you please confirm which version of Moodle you are using, as well as the version of XP, and XP+ if you have is too. We are unable to replicate this locally.
  • Tue, Dec 13, 2022, 8:34 AM
    I have Moodle 3.11.2, Level Up XP Version 3.12.1 and Level Up XP+ Version 1.12.1 (Pro).
  • Tue, Dec 13, 2022, 1:50 PM
    Hi @parshva,

    Could you please either try to upgrade to the latest versions, or make sure JS caching is enabled (cachejs setting)? We just fixed a bug yesterday that may addressed issues with that. Thanks!
  • Sun, Jan 8, 2023, 10:11 PM
    Is there an API or web service I can use to get level information on my users to display within a mobile app?
  • Mon, Jan 9, 2023, 12:55 PM
    Hi @Patrick, at present wo do not officially have an API, but there are several Moodle web services built in XP+ that could be used for that purpose.
  • Fri, Jan 13, 2023, 11:32 PM
    Hi everyone, just added the level up block to one of my courses. Wondering if there is a way for students to view the Level Up block without viewing the Navigation block, too. I have only been able to do all or none through the permissions. Thank you!
  • Sun, Jan 15, 2023, 11:10 AM
    Hi @Brittani, we're unsure which "Navigation block" you are referring to.

    If that is the Moodle block that displays the site navigation, you may be able to change the permissions within the block itself to override role permissions.

    If that is the navigation (icons) visible within XP itself, those are visible as per the availability of other pages (leaderboard/info), there aren't any existing permissions that control this.
Please login to post comments