Component-Based Design
Modular components that can be registered, fetched, extended, and composed
Event-Driven Communication
Asynchronous event system with middleware for inter-resource communication
Dual-Database Architecture
MongoDB for flexible game data, MySQL for relational data and compatibility
Modern UI Stack
React + Redux/Zustand UIs with NUI bridge
Architecture Diagram
Core Layer: mythic-base
Location:resources/[mythic]/mythic-base/
The heart of the framework. Every other resource depends on mythic-base.
Resource Layer
Location:resources/[mythic]/
All feature resources depend on mythic-base and follow a consistent structure.
- Core Systems
- Gameplay
- UI
- Utilities
mythic-pwnzor- Anti-cheatmythic-queue- Server queuemythic-characters- Character systemmythic-loadscreen- Loading screen
Communication Patterns
Component Communication
Resources communicate via the component proxy system:Callback Communication
Server-client callbacks for request/response patterns:NUI Communication
Client Lua and React UI communicate via NUI:Data Flow
How all layers connect — example of opening inventory:Load Order
Resources must load in the correct order.mythic-base must always be first.
Initialization Flow
Resources use this flow to safely initialize:Next Steps
Component System
Deep dive into component-based architecture
Proxy Pattern
Learn the proxy system that powers Mythic
Event System
Understand event-driven communication
Database Architecture
MongoDB + MySQL dual-database system