Skip to content

SaunaCache

Voxel sauna cabin in a snowy pine forest, shelves of glowing cubes inside

SaunaCache is a small key-value store that other plugins use to share state between servers of one network, without running Redis yourself.

Feature Read more
Player state that follows a player between servers Namespaces
Short distributed locks, for example to stop double rewards Developer guide
Leaderboards as sorted sets with a TTL per namespace Developer guide
Snapshot export of a namespace as JSON Snapshots

Other plugins find SaunaCache through its Bukkit service; you only configure it once per server.

Each server keeps a local cache (local-cache.max-entries) in front of the shared store in eu-north. Reads hit the local cache first; writes go to the shared store and invalidate the other servers’ local copies within about 100 ms. Idle namespaces are unloaded from memory after ten minutes (0.6.0).