fbpx
COMPLETE 3-ROLE OPERATING MANUAL • V1.0.0

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+.

PART I • STUDENT & PLAYER MANUAL

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:

Course view inline GuildRaid Mini-HUD banner above General section

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 ClassPassive Course SynergyPrimary SkillSpecial SkillUltimate Surge (100%)
Arcane Archmage+25% Crit Damage on Quizzes & ForumsAstral Starbolt (25 Mana)Arcane Prism Ward (35 Mana)Celestial Meteor Storm
Titan Mecha Pilot+30% Heavy Siege Damage on Assignments & SCORMRailgun Salvo (25 Mana)Aegis Reactor Dome (35 Mana)Orbital Omega Overdrive
Aegis PaladinRestores +Squad Shield on CompletionsSunblade Cleave (20 Mana)Sanctuary Bastion (35 Mana)Archangel Resurgence
Chrono-AlchemistAmplifies Squad Combo Streak multipliersCatalyst 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

Student Combat Arena showing Hero Rig, Chrono-Titan Omega Boss, and Spell Hotbar

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!

PART II • TEACHER & INSTRUCTOR MANUAL

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).

Instructor Raid Forge displaying all 6 unique Boss Archetypes

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:

Recommended Boss HP = 1,500 HP x Active Course Students (for a 7-Day Sprint) Recommended Shield = 25% of Max Core HP (e.g., 3,500 Shield for 16,000 HP)

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.

Instructor Raid Forge header and tactical controls inside Boost

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.
PART III • LMS ADMINISTRATOR & ARCHITECTURE MANUAL

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 run php admin/cli/upgrade.php.

2. Four-Table XMLDB Schema (`db/install.xml`)

{prefix}local_guildraid_bosses -> id, courseid, name, title, archetype, max_hp, current_hp, squad_shield, max_shield, deadline, reward_title, lore, status {prefix}local_guildraid_squads -> id, courseid, name, emblem, banner_color, total_damage, total_heal, bosses_defeated, combo_streak {prefix}local_guildraid_heroes -> id, userid, courseid, squadid, hero_class, hero_name, hero_level, mana, max_mana, ultimate_charge, total_damage, total_heal, crits_landed {prefix}local_guildraid_log -> id, courseid, bossid, squadid, userid, action_type, spell_name, damage, heal, is_crit, message, timecreated

3. Native Hook Callbacks & Event Observers

GuildRaid uses Moodle's modern Hook API (`db/hooks.php`) and Event Dispatcher (`db/events.php`):

Hooks: \core\hook\output\before_http_headers -> Loads styles.css?v=filemtime(...) on course & arena pages \core\hook\output\before_footer_html_generation -> Renders inline #gr-course-minihud strip on course-view pages Observers: \core\event\course_module_completion_updated -> observer::on_module_completed \mod_quiz\event\attempt_submitted -> observer::on_quiz_submitted \mod_assign\event\assessable_submitted -> observer::on_assign_submitted \mod_forum\event\post_created / discussion_created -> observer::on_forum_activity

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.php and forge.php enforces require_login($course), require_sesskey() / confirm_sesskey(), and strict course-context capability checks, plus a Privacy API null_provider.
TROUBLESHOOTING & CACHE PLAYBOOK

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

★ Preferred Source in Google Search & AI

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.

Enterprise Moodle LMS Solutions & Architectural Benchmarks

Peer-reviewed native Moodle plugins, competitor comparison matrices & implementation guides.

View All 26+ Plugins →

🛒 Course Marketplace & E-Commerce

🏢 Enterprise LMS & Multi-Tenancy

🤖 AI Course & Grading Intelligence

🎨 Themes, Video & Analytics

© 2026 Digital Tricksters Engineering • Lead Architect: Suman Kumar Das (fysuman20@gmail.com) • Verified on Moodle 4.1 LTS – 5.0+ • PHP 8.1 – 8.3
Machine-Readable /llms.txt • Google News Verified Publisher
\n
Moodle Expert Help