🐌
TZMC Documentation
  • 🧍Standalone
    • 📣Server Announcements
      • 🛠️Config
      • 🔠Rockstar Text Formatting
      • 💾Changelog
    • 🛂Player Report System (Discord)
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
    • ⏱️Time Trial
      • 🛠️Config
    • 🚛Black Market Van
      • 🛠️Config
      • 💾Changelog
    • 🃏Freemode Collectibles
      • 🛠️Config
    • Crypto Heist
      • 🛠️Config
      • 🖥️Server Layout (ID's)
    • 🗺️Cinematic City Tour Guide
      • 🛠️Config
      • 💾Changelog
  • 🎮QB-Core
    • 🐕Animal Patting
      • 🛠️Config
    • 📦Amazon Delivery
      • 💽Installation
      • 🛠️Config
      • 💾Changelog
    • 📯Horny's Burger Job
      • 🛠️Config
    • 🍕Pizzeria Job
      • 🛠️Config
    • 🍔Burger Shot Job
      • 🛠️Config
    • 🚚Advanced Tow Trucking Job
      • 🛠️Config
    • 🧑‍🌾Gardner Job
      • 🛠️Config
    • 🚦Stolen Signs
      • 🛠️Config
    • 🌿Weed Delivery Run
      • 🛠️Config
    • 👔Ponsonbys Heist
      • 🛠️Config
      • 💾Changelog
    • 🔐Password Lockers
      • 🛠️Config
      • 💾Changelog
    • 🚗Chopping
      • 🛠️Config
      • 💾Changelog
    • 🚙Car/Boat/Plane Rental
      • 🛠️Config
      • 💾Changelog
    • 🆔ID Fraud
      • 🛠️Config
    • 🖥️IT Job
      • 🛠️Config
    • 🍸Cyberbar Job
      • 🛠️Config
    • ⚡City Blackout/Power Cut
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut
      • 🛠️Config
      • 🗺️Region Examples
    • 🛒Vending Machine & Watercooler
      • 🛠️Config
      • 💾Changelog
    • 🔌Electrical Job
      • 🛠️Config
    • 🐈UwU Cat Cafe Job
      • 🛠️Config
    • ☕Bean Machine Job
      • 🛠️Config
    • 🦞Pearl's Seafood Restaurant Job
      • 🛠️Config
    • 🍔Up-N-Atom Burger Job
      • 🛠️Config
    • 🚁Blimp Advert Job
      • 🛠️Config
    • 🚮Begging & Garbage Searching
      • 🛠️Config
      • 💾Changelog
    • 🎁Loot Box Drops
      • 🛠️Config
    • ⛽Fuel Theft
      • 🛠️Config
      • 💾Changelog
    • 🍕Pizza Boy Delivery
      • 🛠️Config
    • 📦Parcel Theft
      • 🛠️Config
      • 💾Changelog
    • 🚛Forklift Delivery Job
      • 🛠️Config
      • 💾Changelog
    • 🏗️Container Stashes
      • 🛠️Config
    • 📮Postal Password Locker
      • 🛠️Config
    • 🪙Coin Pinching
      • 🛠️Config
  • 🎲ESX
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
Powered by GitBook
On this page
  1. Standalone
  2. Server Announcements

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.
PreviousServer AnnouncementsNextRockstar Text Formatting

Last updated 10 months ago

🧍
📣
🛠️