Jean Lúcio
Lead maintainer
⚠️ Required Companion Plugin: PlayerHUD Filter requires the PlayerHUD Block to be installed and enabled.
The PlayerHUD Filter is the essential companion plugin for the PlayerHUD Block. It enables the seamless insertion of gamification elements—such as collectible items, interactive NPC trades, and student dashboards—directly inside your Moodle course content.
Using a simple shortcode-based integration, teachers can embed these interactive elements within Pages, Labels, Books, Forum descriptions, and any other HTML-supported activity.
The filter automatically detects and transforms the following codes into interactive UI components:
[PLAYERHUD_DROP code=XXXXXX] - Renders a collectible item card, image, or text link. Supports strict server-side validation for cooldown timers and max usage limits.[PLAYERHUD_TRADE code=XXXXXX] - Renders an interactive trade interface where students can pay required items to receive rewards directly from the text.[PLAYERHUD_WIDGET] - NEW Renders the student's mini-profile, now featuring a compact card layout with character portrait, tier stars, reputation, Level, Progress Bar, and Recent Backpack Items.require_sesskey() enforcement on all AJAX triggers.PlayerHUD Filter is part of the PlayerGames gamification ecosystem. Together, these plugins transform Moodle into an immersive experience: