メインコンテンツまでスキップ

Type

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

PropertyTypeOptionalDescription
auto_createboolean✅Whether to auto create the user in the database or not.
debugboolean✅Whether to enable debug logging or not.
notifyboolean✅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.