Configuration
config.lua
Config = {}
Config.Framework = "ESX" -- QB/ESX
-- Groups allowment
Config.groups = {
["user"] = false,
["member"] = false,
["mod"] = true,
["admin"] = true,
["superadmin"] = true,
}
-- CommandNames
Config.memberCommand = "report" -- For members(users)
Config.adminCommand = "reportlist" -- For Admins
-- Report Cooldown
Config.cooldown = 1 -- In minutes (1 = 60 sec)
-- Custom notify
Config.defaultNotify = true -- Set false if you want to use custom notify
Config.notification = function(notifyMessage, notifyType) -- Use export
-- your code here...
end
-- Language
Config.language = {
["reportOption"] = {
sendReport = "Send Report",
activeReports = "Active Reports",
},
["inputMenu"] = {
placeHolder = "Report Title",
messagePlaceholder = "Describe the problem...",
},
["dropDown"] = {
title = "Select Report Type",
categoryPlayer = "Player Report",
categoryBug = "Bug Report",
categoryQuestion = "Question",
},
["reportContentPage"] = {
title = "Report Content",
playerName = "Player Name",
playerJob = "Player Job",
playerID = "Player ID",
playerStatus = "Player Status",
createdIn = "Report Created In",
reportTitle = "Report Title",
categoryTitle = "Report Category",
messageTitle = "Report Message",
},
["reportHeader"] = {
id = "ID",
category = "Category",
title = "Title",
actions = "Actions",
},
["reportButtons"] = {
discard = "Discard",
submit = "Submit",
},
["cooldown"] = {
text = "Cooldown until:",
},
["typing"] = {
text = "is typing",
},
["adminActions"] = {
gotoText = "Goto",
bringText = "Bring",
solvedText = "Report Solved",
},
["noReports"] = {
text = "No Reports",
},
["notifications"] = {
denied = "You can't use this command!",
newReport = "Sent new report!",
accepted = "Your report has been accepted!",
solved = "Your report has been solved!",
cannotAccept = "You can't accept this report!",
received = "New report received!",
},
}
Last updated
Was this helpful?