# Config

```lua
TZMCAnnouncementConfig = {}

-- AUDIO --
TZMCAnnouncementConfig.UseSound = true
TZMCAnnouncementConfig.AudioName = "ROUND_ENDING_STINGER_CUSTOM"
TZMCAnnouncementConfig.AudioRefrence = "CELEBRATION_SOUNDSET"

-- MESSAGE --
TZMCAnnouncementConfig.TitleName = "Server Announcement"
TZMCAnnouncementConfig.ShowTime = 10
TZMCAnnouncementConfig.ErrorTitle = 'Error'
TZMCAnnouncementConfig.ErrorTextPermissions = "You don't have enough permissions to execute this command."
TZMCAnnouncementConfig.ErrorTextCharacterLimit = "Maximum characters reached for this style"

-- COMMAND --
TZMCAnnouncementConfig.Command = "announcement"
TZMCAnnouncementConfig.CommandHelpText = "Make a server announcement"

-- DISCORD --
TZMCAnnouncementConfig.DiscordWebhook = "https://discord.com/api/webhooks/983030476438655036/hR3kXzd8iZhkeR3bRJb16AGXo7rfUrY9mZ6mlVdkhe4lqo54Fq12ZVKAT3nZKY-YazoQ"

TZMCAnnouncementConfig.EmbedColor = 0xff8a00
TZMCAnnouncementConfig.DiscordUsername = "Server Announcement"
TZMCAnnouncementConfig.EmbedTitle = "Server Announcement"
TZMCAnnouncementConfig.DiscordAvatar = "https://cdn.betterttv.net/emote/6085085039b5010444d05cf3/3x"

-- PERMISSIONS --
TZMCAnnouncementConfig.UsingQBCore = true
TZMCAnnouncementConfig.QBCorePermission = 'admin'
TZMCAnnouncementConfig.AloudLicences = {
    'license:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', -- Enter the licences of users that should have access to this command. This will be ignored if you're using QBCore.
    'xbl:XXXXXXXXXXXXXXXX',
    'live:XXXXXXXXXXXXXXX',
    'discord:XXXXXXXXXXXXXXXXX',
    'fivem:XXXXXX',
    'license2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
}
TZMCAnnouncementConfig.DebugMode = false -- If this is set to true, the licence of the user that is trying to execute the command will show within the server console.
```


---

# 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://docs.tzmc.dev/docs/standalone/readme/config.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.
