Overview of DataStore persistent storage
The
DataStore namespace allows plugins to store user data on disk. The entire store is read from disk into memory before any plugins run, making read operations (get, has) synchronous and safe to call during a plugin's init phase. Writes are updated in memory immediately and committed to disk using a short debounce to optimize performance during bursts of updates.