🛠️Config
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.
Last updated