Config = {}
Config.RequireClockInCommands = {}
Config.AcePermissions = {
ClockIn = "group.admin",
ClockOut = "",
UseCommands = "group.clockedin"
}
Config.EnableExports = true
Config.Notifications = {
UseOxLib = true,
UseChat = false,
ClockedIn = "Clocked in",
ClockedOut = "Clocked out",
CommandBlocked = "You must be clocked in!",
NoPermission = "You do not have permission to use this command"
}
Config.ChatMessages = {
Prefix = "Staff Clock-In",
Colors = {
success = {0, 255, 0},
error = {255, 0, 0},
warning = {255, 165, 0},
info = {0, 150, 255}
}
}
Config.Keybind = {
Enabled = false,
Key = "F7"
}
Config.AFK = {
Enabled = true,
CheckInterval = 300000,
WarningTime = 60000,
MaxDistance = 2.0,
AutoClockOut = true
}
Config.Discord = {
WebhookEnabled = true,
WebhookURL = "",
ClockInColor = 3066993,
ClockOutColor = 15158332,
AFKColor = 15105570,
HoursResetColor = 3447003
}
Config.WeeklyReset = {
Day = 1,
Hour = 0,
Minute = 0
}
Config.Database = {
Library = "oxmysql",
Host = "localhost",
Port = 3306,
Database = "fivem",
Username = "root",
Password = "",
ClockedInTable = "staff_clockin_status",
HoursTable = "staff_clockin_hours"
}