CodeM
StoreDiscord
  • Welcome To CodeM Documentation
  • General Information
    • ⌨️Register Key Mapping
    • 📥How To Install Resources
    • 🔷Tebex Integration
  • m Series
    • mBossmenu v2
      • Installation
      • Configuration
    • mBilling v2
      • Installation
      • Configuration
    • mFishing Remake
      • Installation
      • Configuration
    • mVehicleshop v2
      • Installation
      • Configuration
    • mTraderjob
      • Installation
      • Configuration
    • mPausemenu v2
      • Installation
      • Configuration
    • mPhone
      • Installation
      • General Config
      • App Configs
        • Maps
        • LS Times
        • Callie
        • S.O.S
        • Wanted
        • Music
        • Yello
        • Bank
        • Vale
      • SQL Setting
    • mMDT AIO
      • Installation
      • Configuration
      • Dispatch
    • mTaxijob Remake
      • Installation
      • Configuration
    • mMultichar Remake
      • Installation
      • Configuration
      • How To ?
    • mTruckerjob
      • Installation
      • Configuration
    • mInventory Remake
      • Installation
      • Configuration
      • Exports & Commands
        • Server Exports
        • Client Exports
        • Commands
      • ⚠️Attention
      • How To ?
    • mStaff Remake
      • Installation
      • Configuration
    • mAdmin Panel
      • Installation
      • Configuration
      • F.A.Q
    • mMinerjob
      • Installation
      • Configuration
    • mTailorjob
      • Installation
      • Configuration
    • mGarbagejob
      • Installation
      • Configuration
    • mBossmenu
      • Installation
      • Configuration
      • How To
    • mLSTransit
      • Installation
      • Configuration
    • mTextUI
      • Installation
      • Event Of Uses
    • mCraft v2
      • Installation
      • Configuration
    • mBank v2
      • Installation
      • Configuration
      • How To
    • mCarcontrol
      • Installation
      • Configuration
    • mScoreboard
      • Installation
      • Configuration
      • How To ?
    • mBilling
      • Installation
      • Configuration
      • Note
      • Exports
    • mMechanic
      • Installation
      • Configuration
      • Attention
    • mTuningchip
      • Installation
      • Configuration
      • Inventory Settings
    • mHunting
      • Installation
      • Configuration
    • mAppearance
      • Installation
      • How To
    • mHUD AIO
      • Installation
      • Configuration
      • How To
    • mSpawn
      • Installation
      • Configuration
      • Integrations
    • mReport
      • Installation
      • Configuration
    • mWeed
      • Installation
      • Configuration
      • How To
    • mBlvckmarkt
      • Installation
      • Configuration
    • mVehicleshop
      • Installation
      • Configuration
      • Adjustment
    • mPostop
      • Installation
      • Configuration
      • Config File
    • mChat
      • Installation
      • Configuration
      • How To
      • Integrations
    • mWeaponshop
      • Installation
      • Adjustments
      • Note
    • mLoadingscreen
      • Installation
      • Adjustments
      • Themes
      • Note
    • mBank
      • Installation
      • Adjustments
      • SQL Installations
    • mGarage
    • mDeathscreen
    • mNotification
    • mPausemenu
  • x Series
    • xBackItems
      • Installation
      • Configuration
      • How To
    • xBossMenu
      • Installation
      • Configuration
    • xRadar
      • Installation
      • Configuration
      • Default Keybinds
    • xRadio
      • Installation
      • Configuration
    • xMarketplace
      • Installation
      • Configuration
    • xPawnshop
      • Installation
      • Configuration
    • xFuel
      • Installation
      • Configuration
      • Exports
    • xCarrent
      • Installation
      • Configuration
    • xJobselector
      • Installation
      • Configuration
    • xDailyrewards
      • Installation
      • Configuration
      • Exports
    • xLabgame
      • Installation
      • Configuration
      • How To Use
    • xSellable Market
      • Installation
      • Configuration
    • xAdminmenu
      • Installation
      • Configuration
  • VENICE
    • Venice HUD v2
Powered by GitBook
On this page
  • Framework Configuration
  • Chat Access Key
  • Join Logs
  • Quit Logs
  • Blacklisted Words
  • Admin Configuration
  • Admin Tags
  • Admin Chat
  • Job Tags
  • Job Chat
  • OOC And ALL Chat For RP or PVP Servers
  • ID Display
  • Player Names
  • Tags
  • Typing Indicator
  1. m Series
  2. mChat

Configuration

Configuration of mChat Resource

Framework Configuration

You can choose between " oldesx, newesx, newqb, oldqb, autodetect and standalone.

Config.Framework = 'autodetect' 

Chat Access Key

" T " is key to open chat as default. You can change it via config.

Config.ChatOpenKey = 245 --https://docs.fivem.net/docs/game-references/controls/

Join Logs

If set to false chat will not display who is joined the server.

Config.ShowJoins = true

Quit Logs

If set to false chat will not display who is quited from the server.

Config.ShowQuits= true

Blacklisted Words

You can add any blacklisted word you want here if streamer mode is enabled in the settings chat will detect these words and apply censorship.

Config.BlacklistedWords = {
    "cunt",
    "pig",
    "fuck",
}

Admin Configuration

If Config.Framework is set to standalone you need to fill here with admins' Rockstar License IDs

 Config.Admins = {
        "license:299055de10756b9de64a546e74309416fc77059f"
    }

If Config.Framework is set to esx or qb you need to type here permissions

    Config.Admins = {
        "god",
        "admin",
        "mod",
    }

Config.Admins = {
    "admin"
}

Admin Tags

Ff is true and player is admin adds "admin" tag before name

Config.EnableAdminTag = true 

Admin Chat

If is true enables chat tab between admins

Config.EnableAdminChat = true

Job Tags

If is true and job_name written in Config.Tags adds job_label tag before player name

Config.EnableJobTags = true 

Job Chat

If is true enables chat tab between players that has the same job written in Config.Tags

Config.EnableJobChats = true 

OOC And ALL Chat For RP or PVP Servers

If set to false players can write messages without /ooc command

Config.EnableOOCCommand = true

If set to true adds "ooc" tag when player send a message in "all" or "ooc" channels

Config.EnableOOCTag = true

ID Display

Determines displaying id in chat when someone write something

Config.ShowID = true

Player Names

If set to true displays rp names

Config.EnableRPNames = true

Tags

If Config.Framework is set to standalone you can add tags and people here with this example

    Config.Tags = {
        ["ballas"] = {
            shadow = '0px 0px 11px rgba(0, 209, 255, 0.25)',
            bg = 'rgba(0, 209, 255, 0.33)',
            borderColor = '2px solid rgba(0, 209, 255, 0.37)',
            textColor = '#00D1FF',
            label = 'BLS',
            members = {
                "license:299055de10756b9de64a546e74309416fc77059f",
            },
        }
    }

If Config.Framework is set to esx or qb you need to type here job name and tag labels also you can leave members empty. (If tag key is not a job you still need to fill members table).

 Config.Tags = {
        ["ballas"] = {
            shadow = '0px 0px 11px rgba(0, 209, 255, 0.25)',
            bg = 'rgba(0, 209, 255, 0.33)',
            borderColor = '2px solid rgba(0, 209, 255, 0.37)',
            textColor = '#00D1FF',
            label = 'BLS',
            members = {},
        },
    }

Config.Tags = {}lua

Typing Indicator

If true enable "..." over player head when typing to chat

Config.EnableTypingIndicator = true 

Dot or any text you want

Config.DotText = 'dot' 

Text scale

Config.DotScale = 0.8

Useful if you want to move text overhead somewhere else

Config.DotOffset = {x = 0.37, y = 0.0, z = 0.0} 

Dot color when there is just one "." displaying

Config.Dot1Color = {r = 255, g = 255, b = 255} 

Dot color when there are two ".." displaying

Config.Dot2Color = {r = 255, g = 255, b = 255} 

Dot color when there are three "..." displaying

Config.Dot3Color = {r = 255, g = 255, b = 255}

Dot color if Config.DotText is set to other than 'dot'

Config.CustomDotTextColor = {r = 255, g = 255, b = 255}

PreviousInstallationNextHow To

Last updated 6 months ago