# CONFIGURATION FILE

```lua
Config = {}

----------------------
-- Log discord setup--
----------------------

--Webhook of your channel (tutorial: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
Config.WebHook = "WEBHOOK_LINK_HERE"

--What information do you want the log to include? (Refer to README.md for more information)
Config.LogMessageType = "full" --Only choose 1: "standard", "short" or "full"

--Avater for your log (optional)
Config.AvatarURL = "WEBHOOK_LINK_HERE"

--Name for your log (optional)
Config.ServerName = "JANIEL Rich Log"

--Title for your log (optional)
Config.LogTitle = "RICH BITCH"

--Color for your log (optional). Default: green
Config.LogColour = 65352

--Do you want the log to be automatically sent after a certain time?
--By the default, you need to use an admin command to trigger event
Config.SendLogByTime = {
    enable = true, --Enable/disable this feature
    time = 60, --How long do you want the log to be sent (default: 60 minutes)
}

--Do you want only top richest to be sent?
--Or you want to send money log of all players in database?
--I added this because for larger server, you might be over 200 players and it might cause lag when log details of all of them
--So I recommend to leave this as true
Config.OnlyTopRichest = {
    enable = true, --Enable/disable this feature
    top = 20, --How many top players you want to log? (By default: Top 10 richest players)
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://janiel.gitbook.io/janiel-resources/janiel-docs/money-log/configuration-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
