Search and reference MW2/IW4X DVARs by name, category, or FPS impact. Use when the user asks about game settings, DVARs, FPS optimization, or server configuration for IW4X/MW2.
Use when writing, editing, or reviewing GSC (Game Script) files for IW4X/MW2. MANDATORY for all GSC tasks. Provides IW4-specific rules, a pre-flight checklist, and a strict lint-then-fix workflow using gsc_lint, gsc_lookup, gsc_anti_patterns, and gsc_outline.
A Claude Code plugin for IW4X/MW2 modding. IWD archive tools, GSC linting and formatting, DVAR knowledge base, and symbol analysis for mod porting.
IWD Archive Tools — Surgical in-place edits inside IWD archives (iwd_patch, iwd_grep, iwd_write, iwd_rename, iwd_copy, iwd_extract) plus diff, metadata, and symbol indexing across multiple archives.
GSC Language Tooling — gsc_lint catches undefined variables, missing includes, unreachable code, infinite loops, brace mismatches, and case-insensitive name collisions. gsc_format normalises indentation, brace style, and operator spacing. gsc_find_orphans identifies unresolvable function calls before the game launches.
DVAR Knowledge Base — 1,731 MW2 DVARs with types, defaults, categories, and FPS impact ratings. dvar_search filters server-side to avoid context flood. dvar_integrity_check validates DVAR name literals in GSC against the database.
From inside Claude Code:
/plugin marketplace add back1ply/iw4x-toolkit
Then install the plugin:
/plugin install iw4x-toolkit
If you clone the repo and want to rebuild the MCP server:
cd mcp-server
npm install
npm run build
npm test
Requires Node.js 18+ and TypeScript 5.7+.
iwd_list, iwd_read, iwd_write, iwd_patch, iwd_grep, iwd_diff, iwd_rename, iwd_copy, iwd_extract, iwd_info, iwd_remove, iwd_index_symbolsgsc_lint, gsc_format, gsc_find_orphans, gsc_lookup, gsc_template, gsc_outline, gsc_menu_huddvar_search, dvar_integrity_checkiw4x://dvars, iw4x://gsc-builtinsdvar-lookup for FPS optimization tipsAPI documentation is generated with TypeDoc. To generate:
cd mcp-server
npm run docs
View the generated documentation at docs/api/index.html.
See CONTRIBUTING.md for development setup, code style guidelines, and pull request process.
iwd_list path="mods/promod.iwd" summary_only=true
iwd_grep path="mods/promod.iwd" pattern="onPlayerConnect" entry_glob="*.gsc"
For more examples, see WORKFLOW.md.
adm-zip for all IWD read/write/delete. Caching is limited to 3 concurrent archives to prevent V8 memory bloat..tmp file first, then asynchronously renamed to the target to prevent corruption on failure while keeping the event loop unblocked..bak copy is created (only if one doesn't already exist).iwd_diff compares CRC32 values from the ZIP central directory — no decompression needed, very fast even on large archives.r_ = renderer, cg_ = client game, sv_ = server) with subcategories for renderer DVARs (lighting, bloom, shadows, etc.).dry_run=true for safe previewing before committing.iwd_grep utilizes a pre-test regex fast-path to avoid string allocation GC spikes on large files, truncates excessively long minified lines, and caps output at max_matches (default: 50); iwd_list defaults to compact names-only output (names_only=true) with optional summary_only and limit parameters; iwd_read supports limit/offset pagination safely with friendly out-of-bounds errors; iwd_info provides a quick type-and-size breakdown via summary_only; iwd_patch diff is centred on the actual replacement line via hintLine.Runtime: @modelcontextprotocol/sdk, adm-zip, zod. Dev: vitest.
See SOURCES.md for full details.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub back1ply/iw4x-toolkit --plugin iw4x-toolkitUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.