GuxFiz
DiscordTEBEX
  • Welcome To GX Documentation
  • Resources🐧
    • gx_peds
      • Installation
      • Configuration
    • gx_announcejobv2
      • Installation
      • Configuration
      • Exports
    • gx_announcejob
      • Installation
      • Configuration
      • How Use?
    • gx_medo
      • Installation
      • Configuration
      • Exports
    • gx_createnpc
      • Installation
      • Configuration
    • gx_notify
      • Installation
      • Configuration
      • Exports
      • Integrations
Powered by GitBook
On this page
  • Framework
  • Cooldown
  • Jobs Configuration
  • Translate
  • WebHook
  1. Resources🐧
  2. gx_announcejobv2

Configuration

Configuration of gx_announcejobv2 Resource

Framework

Select the framework you are using on your server.

Command = "anuncio", -- /anuncio Welcome testing

Cooldown

Cooldown at the end of an announce

cooldown = 30, -- Cooldown seconds

Jobs Configuration

jobs = {
        ['police'] = { -- job
            profile = "https://i.ibb.co/CsTcwTGD/Uwu-cafe-logo111.webp", -- nil | 'url'
            title = "UwU Coffe", -- 'text'
            timer = {
                duration = 10, -- Duration of announce in seconds
            },
            sound = {
                sound = "./music/uwu.mp3", -- nil | ./music/1.wav | Add sound here => gx_announcejobv2\web\music\1.wav
                soundVolume = 0.2, -- recommend 0.2  | Volume min 0.1 max 0.5
            },
            style = {
                theme = 2, -- 1 | 2 | 3 | 4 | 5 | 6 | 7  
                sizeNui = 0.7, -- Aument size Nui : min 0.5 max 1.5 
                position = "topCenter", -- topLeft | topRight | middleLeft | middleRight | bottomLeft | bottomRight | center | topCenter | bottomCenter
                background = "rgba(208, 88, 162, 0.59)", -- 'url' | 'color' | 'rgb' | 'rgba' | '#HEX'  
                colors = {
                    color1 ="rgba(255, 0, 157, 0.97)", -- 'color' | 'rgb' | 'rgba' | '#HEX'
                    title = "rgb(255, 0, 200)", -- 'color' | 'rgb' | 'rgba' | '#HEX'
                    description= "white",  -- 'color' | 'rgb' | 'rgba' | '#HEX'
                },
                anim = {
                    _start = "bounceInDown", -- effect start nui : https://www.theappguruz.com/tag-tools/web/CSSAnimations/
                    _end   = "bounceOutUp", -- effect end nui: https://www.theappguruz.com/tag-tools/web/CSSAnimations/
                },
            }
        },
        -- add more infinity!!

Translate

Translate = {
    ["cooldown"] = "You must wait %s second/s",
    ["notJob"] = "Your Work is not allowed to use this",
}

WebHook

WebHook Url or nil

Webhook = "https://discord.com/api/webhooks/..."
or
Webhook = nil
PreviousInstallationNextExports

Last updated 2 months ago