⚙️Configuration
Check the standard Config!
Last updated
Check the standard Config!
If you find any errors in the configuration and you can't fix them yourself, open a ticket!
Last updated
Config = {}
Config.NotifySettings = {
Main = {
language = "de",
preferences = "user"
},
Framework = {
framework = "esx",
oldesxevent = false,
frameworkevent = "es_extended"
},
Command = {
AllowCommand = true,
CommandName = "notifysettings"
},
Key = {
RegisterKey = true,
PressKey = "o"
}
}
Config.SettingsList = {
{
optionanme = "HUD",
description = "HUD Design inputt",
databasevalue = "huddesign",
onof = false,
options = {
{
optionname = "#1",
value = 1
},
{
optionname = "#2",
value = 2
},
{
optionname = "#3",
value = 3
}
}
},
{
optionanme = "HelpDesign",
description = "Change the Help design",
databasevalue = "bottomdesign",
onof = false,
options = {
{
optionname = "#1",
value = 1
},
{
optionname = "#2",
value = 2
},
{
optionname = "#3",
value = 3
}
}
},
{
optionanme = "Announce Design",
description = "Change the Announce design",
databasevalue = "announcedesign",
onof = false,
options = {
{
optionname = "#1",
value = 1
},
{
optionname = "#2",
value = 2
},
{
optionname = "#3",
value = 3
}
}
},
{
optionanme = "Left Top Infos",
description = "Change the info design",
databasevalue = "chatdesign",
onof = false,
options = {
{
optionname = "#1",
value = 1
},
{
optionname = "#2",
value = 2
},
{
optionname = "#3",
value = 3
}
}
},
{
optionanme = "Right Top Infos",
description = "Change the info design",
databasevalue = "righttop",
onof = false,
options = {
{
optionname = "#1",
value = 1
},
{
optionname = "#2",
value = 2
},
{
optionname = "#3",
value = 3
}
}
}
}
Config.DefaultDesign = {
HudDesign = 1,
AnnounceDesign = 1,
ChatDesign = 1,
RightTop = 1,
BottomDesign = 1
}
ServerConfig = {}
ServerConfig.Webhooks = {
["announce"] = "https://discord.com/api/webhooks/1450682880060690524/6CGDAzx80iCC1nMLPDVYbbnq-w6v1zMuuV9zJ_jawmYLMmpPUJ25p8-1fA9wLUt4vtCi",
["teamnotify"] = "https://discord.com/api/webhooks/1450682880060690524/6CGDAzx80iCC1nMLPDVYbbnq-w6v1zMuuV9zJ_jawmYLMmpPUJ25p8-1fA9wLUt4vtCi"
}
ServerConfig.Discord = {
On = true,
title = "NotifyV2 - Logs",
color = 16711680,
avatar_url = "https://media.discordapp.net/attachments/1308892518498177085/1309238237335912508/Static_Logo.png?ex=678568a0&is=67841720&hm=d1e4b395cafad5c9d9cfb67de607da535e4ad50333f4b3417b84476dc636c938&=&format=webp&quality=lossless&width=552&height=552",
footertext = "S-Scripts",
icon_url = "https://media.discordapp.net/attachments/1308892518498177085/1309238237335912508/Static_Logo.png?ex=678568a0&is=67841720&hm=d1e4b395cafad5c9d9cfb67de607da535e4ad50333f4b3417b84476dc636c938&=&format=webp&quality=lossless&width=552&height=552",
thumbnailurl = "https://media.discordapp.net/attachments/1311601083138707476/1311708926265397358/Static_Logo.png?ex=67852b22&is=6783d9a2&hm=bd7dd51bf385df07c04d87929ae73ae2e6fcb34bafb419ebf8b5c3d11f94a2be&=&format=webp&quality=lossless&width=552&height=552",
webhook = "https://discord.com/api/webhooks/1437248322116259860/tiHDkfLqCVqnjD92q07a7wAzOcQs64Pd9FM41XKN6KsMBFs2knWgCd2dJtWXQH16fxoQ"
}
ServerConfig.WebhooksEnable = {
Announces = true,
teamchat = true
}
ServerConfig.Announces = {
{
name = "serverannounce",
length = 10, -- In Seconds
source = -1,
type = "server",
Ace = {},
Jobs = {}
},
{
name = "eventannounce",
length = 10, -- In Seconds
source = -1,
type = "event",
Ace = {
["admin"] = true
},
Jobs = {}
},
{
name = "policeannounce",
length = 10, -- In Seconds
source = -1,
type = "police",
Ace = {},
Jobs = {
["police"] = true
}
},
{
name = "medicannounce",
length = 10, -- In Seconds
source = "job",
type = "medic",
Ace = {},
Jobs = {
["ambulance"] = true
}
},
{
name = "factionannounce",
length = 10, -- In Seconds
source = "job",
type = "faction",
Ace = {},
Jobs = {
["ambulance"] = true
}
}
}
ServerConfig.CustomCommands = {
{
name = "lsmdannounce",
length = 10, -- In Seconds
type = "lsmd",
Ace = {},
Jobs = {
["lcn"] = true
},
source = -1,
event = "SService:SHUDV2:FactionsAnnounce"
}
}
ServerConfig.AdminChatCommand = {
command = "tc",
-- Command name
Groups = {
["admin"] = true
}
}
ServerConfig.TxAdmin = {
Enable = true,
AnnouncementType = "server",
RestartType = "server",
UseTranslatedMessage = true
}