Examples
Task-focused guides for the main features of cw-commons. Each page is a self-contained walkthrough with copy-pasteable code.
- Config Loading — load and validate a YAML config with
ConfigManager. - Commands — register commands with
BaseCommand. - SQLite Data Store — the bundled write-behind key-value store.
- MongoDB Data Store — the same API backed by MongoDB.
- Player Data Manager — per-player data that flushes on quit.
- Auto-Flush Task — periodic background flushing.
For the full API, see the Javadoc.