CrestTeams Specifications
A high-performance team organization plugin built to minimize memory overhead while ensuring complete security against item duplication hacks. Developed and maintained by AdithyaDev.
Problem
Legacy team plugins consume significant RAM by constantly loading team structures, inventories, and relations into heap memory. Further, shared storage inventory features (e.g. team ender chests) frequently present synchronization flaws where players can open chests simultaneously and duplicate items via packet delays.
Architecture
CrestTeams implements a non-blocking cache model. Team data is loaded only when team members are actively online and unloaded dynamically when offline. Ender chest access utilizes a strict lock pattern: opening a chest flags it as busy in-memory, immediately canceling access requests from other team members until the inventory close event completes.
Technical Highlights
- Lock-Gated Ender Chests: Complete protection against race-condition item duplication exploits.
- Auto-Migration Suite: Automatically converts database formatting from the BetterTeams plugin at startup without downtime.
- Reduced Memory Footprint: Estimated heap memory footprint of ~6 MB compared to legacy sizes (~120 MB).
Results
- Zero Dupe Exploit Records: Shared inventories have performed without a single duplicate item event in production.
- Zero Main Thread Overhead: Database synchronization runs asynchronously.