GuildRaid for Moodle: User, Teacher & Admin Complete Guide
Step-by-step operating runbook for Students (Guild Players), Instructors (Encounter Directors), and Moodle Administrators deploying local_guildraid across Moodle 4.0 to 5.3+.
How Students Join Guilds, Choose Hero Rigs & Battle World Bosses
Every enrolled student automatically receives a Hero Rig inside any Moodle course where a Raid Boss is active. No separate signup or external account is required.
Step 1: Enter From the Inline Course Raid Banner Strip
Right above your course topics, GuildRaid mounts an unobtrusive live bar displaying the current World Boss HP, your Hero Class, Mana, Ultimate Surge %, and a direct Enter Raid Arena button:
Step 2: Pick Your Hero Class & Custom Callsign
Inside Your Hero Rig on the left panel of the Arena, you can switch classes anytime and save a custom callsign. Each class amplifies specific Moodle study habits:
| Hero Class | Passive Course Synergy | Primary Skill | Special Skill | Ultimate Surge (100%) |
|---|---|---|---|---|
| Arcane Archmage | +25% Crit Damage on Quizzes & Forums | Astral Starbolt (25 Mana) | Arcane Prism Ward (35 Mana) | Celestial Meteor Storm |
| Titan Mecha Pilot | +30% Heavy Siege Damage on Assignments & SCORM | Railgun Salvo (25 Mana) | Aegis Reactor Dome (35 Mana) | Orbital Omega Overdrive |
| Aegis Paladin | Restores +Squad Shield on Completions | Sunblade Cleave (20 Mana) | Sanctuary Bastion (35 Mana) | Archangel Resurgence |
| Chrono-Alchemist | Amplifies Squad Combo Streak multipliers | Catalyst Vial (20 Mana) | Noxious Singularity (35 Mana) | Philosopher Surge |
Step 3: Earn Mana & Charge Ultimates by Studying
- Submit a Quiz Attempt: Triggers an automatic Quiz Critical Burst (~450+ DMG, +35 Mana, +22% Ult Surge, +140 Shield).
- Upload an Assignment: Fires an Assignment Orbital Strike (~420+ DMG, +35 Mana, +160 Shield).
- Post in a Forum: Sounds a Guild Rally Post (~180 DMG, +20 Mana, +120 Shield).
- Complete a Module: Rewards a Module Mastery strike (+260 DMG, +25 Mana, +100 Shield).
Step 4: Cast Spells, Coordinate Combos & Sound Aegis Rally
Use your Spell Hotbar below the Boss Stage to fire HTML5 particle spells (and toggle Web Audio SFX top-right). Low on Mana? Click Aegis Rally to recover +35 Mana, +10% Ultimate Charge, and +150 Squad Shield while chaining your squad's Combo Streak multiplier!
Running Weekly Boss Sprints in Instructor Raid Forge
Instructors and course managers see an extra Forge button on the Course Raid Banner Strip and inside Course Navigation (/local/guildraid/forge.php?courseid=X).
1. Selecting Boss Archetypes & Sizing Boss HP
Pick from 6 distinct animated Bosses (Chrono-Titan Omega, Malakor Void Archlich, Aetherion Abyssal Star-Drake, Tri-Core Quantum Hydra, Vulcan Forge Colossus, or Aurelia Tempest Sentinel). Use this proven sizing formula:
2. Auto-Forming Balanced 4-Player Guild Squads
In the right-hand Tactical Arena Operations panel, click Auto-Form Balanced Guild Squads. GuildRaid automatically distributes enrolled students evenly into named squads (Aegis Vanguard, Arcane Tempest, Chrono Mecha, Solaris Order, etc.) and assigns starter Hero Rigs so mixed-engagement cohorts collaborate fairly.
3. Mid-Semester Rematches & Instant Showcase Mode
- Save Active Boss Changes: Tweak HP, Shield, Lore, or Reward Title mid-week without resetting progress.
- Recharge Active Boss to 100% HP: Trigger an instant rematch once a cohort defeats a Boss early.
- Reset & Seed Full Showcase Raid: One-click demo generator for faculty orientations and PD workshops.
Installation, Database Schema, Hooks, Event Observers & Security
1. System Requirements & Installation
- Supported Versions: Moodle 4.0 through 5.3+ (tested live on Moodle 4.5.3+ / PHP 8.3.37 / Boost theme).
- GUI Install: Download
local_guildraid.zip, open Site administration → Plugins → Install plugins, upload the ZIP, and complete the database upgrade. - CLI Install: Unzip to
$CFG->dirroot . '/local/guildraid'and runphp admin/cli/upgrade.php.
2. Four-Table XMLDB Schema (`db/install.xml`)
3. Native Hook Callbacks & Event Observers
GuildRaid uses Moodle's modern Hook API (`db/hooks.php`) and Event Dispatcher (`db/events.php`):
4. Capabilities (`db/access.php`) & Security Controls
local/guildraid:viewarena: Granted to student, teacher, editingteacher, and manager at course context.local/guildraid:manageforge: Restricted to editingteacher and manager.- CSRF & Multi-Tenant Safety: Every endpoint inside
ajax.phpandforge.phpenforcesrequire_login($course),require_sesskey()/confirm_sesskey(), and strict course-context capability checks, plus a Privacy APInull_provider.
Quick Diagnostics for Server Admins
- Mini-HUD not showing on a course? Ensure an active World Boss has been summoned in Instructor Raid Forge (`forge.php?courseid=X`). The strip hides cleanly in courses without raids.
- After updating CSS on LiteSpeed/Cloudflare: GuildRaid appends
?v=filemtime(...)automatically; simply run Moodle Purge all caches if OPcache or reverse proxy holds stale PHP files.
Deploy GuildRaid Across Your Moodle Instance Today
Add Digital Tricksters to your Google Preferred Sources to see verified Moodle & WordPress solutions highlighted with the official Preferred badge in Top Stories and AI Overviews.