Back to Directory Ecosystem Core Spec
Crest Core Specifications
The primary integration engine of CrestMC, coordinating database syncs, ranks, cosmetics, and Discord bridges. Developed and maintained by AdithyaDev.
Problem
Orchestrating separate sub-systems (cosmetics, currency logs, ranks, web stores, and Discord rewards) without a central manager creates integration errors, database lockups, and unsynchronized player data across network segments.
Architecture
Crest Core operates as the central coordination layer. By exposing a lightweight internal API, it unifies sub-plugin queries. User actions on Discord or the web store communicate through a Node.js REST API back to the Core plugin, which updates player caches in-memory via Redis before persisting changes asynchronously.
Technical Highlights
- HikariCP Connection Pool: Optimized connection pool for fast and stable database queries.
- Discord Sync Bridge: Processes roles, tag selections, and custom store packages instantly via secure REST endpoints.
- Schema Migration Manager: Automatically updates table configurations on startup without manual SQL modifications.
Results
- Instant Syncing: Purchases and Discord achievements reflect in-game within milliseconds.
- Stable Database Connections: Connection timeouts are avoided under peak traffic using HikariCP.