> For the complete documentation index, see [llms.txt](https://smuddgge.gitbook.io/leaf-3.0.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smuddgge.gitbook.io/leaf-3.0.0/database.md).

# Database

Database configuration.

Currently, the only database type available is `SQLITE`. The database will be stored in the plugins directory.

{% code overflow="wrap" %}

```yaml
#  __         ______     ______     ______
# /\ \       /\  ___\   /\  __ \   /\  ___\
# \ \ \____  \ \  __\   \ \  __ \  \ \  __\
#  \ \_____\  \ \_____\  \ \_\ \_\  \ \_\
#   \/_____/   \/_____/   \/_/\/_/   \/_/
#
# Author : Smudge

# Changing these values requires a proxy restart.
enabled: true
debugmode: false

# The maximum amount of history that will
# be saved in the database per player.
player_history_limit: 20

# The maximum amount of messages that will
# be saved in the database per player.
message_limit: 100
```

{% endcode %}
