Jota Dev Chat
Here you can see the documentation to learn how to install our store's notification system.

Put in your server.cfg
# JotaDev Chat System
ensure jc_chat
Configure the script to your liking
Config = {}
-- Chat language ('en' or 'es')
Config.Locale = 'en'
-- Admin command configuration
Config.AdminCommand = 'a'
-- ESX group configuration
Config.EsxGroups = { 'mod', 'admin', 'superadmin' }
-- QBCore permission configuration
Config.QbPermissions = { 'mod', 'admin', 'god' }
-- Message length limit configuration
Config.MessageLimit = {
enabled = true,
maxLength = 100
}
-- Anti-spam configuration
Config.AntiSpam = {
webhook = 'WEBHOOK_HERE',
enabled = true,
logToConsole = true,
exemptAdmins = false
}
-- Profanity filter configuration
Config.Profanity = {
webhook = 'WEBHOOK_HERE',
enabled = true,
blockedWords = {
'puta','mierda','pendejo','cabrón','gilipollas','imbecil','idiota',
'negro','marica','perra','concha','hdp','maricon','puto','zorra',
'cagon','culero','pelotudo','pendeja','tarado','estupido','mongolo',
'hijo de puta','hijoputa','hijo de perra','hijo de la gran puta',
'concha de tu madre','conchetumadre','pajero','boludo','forro','chupapija',
'malparido','carapolla','polla','coño','puta madre','putamadre',
'hijueputa','hijo e puta','la concha de tu madre','conchetumare',
'culiao','culiado','qliao','qlo','weon','huevon','mamon','pinga','pene','pito','nabo',
'choto','carechimba','caremonda','malnacido','desgraciado','cabronazo',
'putita','putazo','puton','zorrita','gil','baboso','estupida','patan',
'ptm','lpm','ctm','vrg',
'fuck','fucking','motherfucker','mf','wtf','shit','bitch','cunt','dick',
'pussy','asshole','bastard','jerk','retard','retarded','whore','slut',
'son of a bitch','sonofabitch','s.o.b.','sob','idiot','moron','dumbass',
'jackass','dickhead','imbecile','stupid', 'faggot','fag','homo','nigger','nigga',
'cocksucker','prick','cock','penis','twat','wanker','jerkoff','jerk-off',
'shithead','dickface','fuckface','scumbag'
},
exemptAdmins = false
}
-- Dynamic commands
Config.DynamicCommands = {
{
name = 'ooc',
help = 'OOC global',
color = { 200, 200, 200 },
templateId = 'default',
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'me',
help = 'Acción cercana',
color = { 194, 162, 218 },
templateId = 'me',
proximityRadius = 15.0,
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'do',
help = 'Descripción cercana',
color = { 255, 255, 175 },
templateId = 'do',
proximityRadius = 15.0,
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'ayuda',
help = 'Ayuda global',
color = { 255, 255, 0 },
templateId = 'ayuda',
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'id',
help = 'Mensaje con ID',
color = { 0, 255, 255 },
templateId = 'id',
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'twt',
help = 'Enviar tweet',
color = { 29, 161, 242 },
templateId = 'twt',
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'anontwt',
help = 'Enviar tweet anónimo',
color = { 128, 128, 128 },
templateId = 'anontwt',
adminOnly = false,
allowHTML = false,
blockProfanity = true
},
{
name = 'rpol',
help = 'Radio Policía',
color = { 0, 153, 255 },
templateId = 'rpol',
adminOnly = false,
allowHTML = false,
blockProfanity = true,
jobs = { 'police' }
},
{
name = 'rems',
help = 'Radio EMS',
color = { 255, 85, 85 },
templateId = 'rems',
adminOnly = false,
allowHTML = false,
blockProfanity = true,
jobs = { 'ambulance' }
}
}
For the installation, remove your chat that you already have and if you have any command script, also delete it since here you have the option to add as many commands as you want or need.
Go to your server's artifacts and delete the chat script in the following path ../server/citizen/system_resources/chat
Then ensure the chat in any of your folders on your server
Last updated