Skip to content
On this page

Type

This type is used to show the properties of the connection options.

Property Type Optional Description
auto_create boolean ✅ Whether to auto create the user in the database or not.
debug boolean ✅ Whether to enable debug logging or not.
notify boolean ✅ Whether to enable info logging or not.
type “mongodb” or “sqlite” ❌ The database type. If omitted at runtime, connect() defaults to mongodb.
xp_rate “fast”, “normal”, “slow” or number ✅ The rate of XP gain. Numeric values must be finite and greater than 0.