forked from Edvo1901/mb-GetRichPlayer-QBCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
39 lines (30 loc) · 1.45 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Config = {}
----------------------
-- Log discord setup--
----------------------
--Webhook of your channel (tutorial: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
Config.WebHook = ""
--What information do you want the log to include? (Refer to README.md for more information)
Config.LogMessageType = "short" --Only choose 1: "standard", "short" or "full"
--Avater for your log (optional)
Config.AvatarURL = "https://media.discordapp.net/attachments/1037224938005872661/1037225027453599744/Guess_project.png"
--Name for your log (optional)
Config.ServerName = "MAYBE CHECKLOG"
--Title for your log (optional)
Config.LogTitle = "Top Richest Players"
--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 = 10, --How many top players you want to log? (By default: Top 10 richest players)
}