Skip to main content
Version: v2.10.2 (current)

Interface: StateStorageOptions

Represents the stateStorageOptions object used to configure how the manager persists player state, including Redis and JSON-based backends.

Property Type Description Optional
typeStateStorageTypeThe storage method to use (redis or json).
redisConfigRedisConfigConfiguration for Redis-based storage.
jsonConfigJsonConfigConfiguration for JSON file-based storage.
deleteDestroyedPlayersbooleanWhether to delete inactive players when they leave.