1 / 1
Product Image Showcase
Product Image Select

DiscordChatRoles

Uploaded 12/30/2020

Report

If you are conserned that this mod is conflicting with our Upload Policy
please create a ticket containing the mod url and reason in our Discord.

Download
0 Ratings
976 · 7.49 KB
Description

Documentation as well as updates to this resource have been moved to: https://docs.badger.store/fivem-discord-scripts/discordchatroles

CURRENT VERSION: 7.0

Version 1.0

This is a very simple script that uses IllusiveTea's discord_perms for chat roles :slight_smile:

Picture example taken from my RP server:

You must set up IllusiveTea's discord_perms script for this to work properly. ---> https://forum.cfx.re/t/discord-roles-for-permissions-im-creative-i-know/233805

Installation Tutorial

https://www.youtube.com/watch?v=sjbFzkII2T0

https://www.youtube.com/watch?v=xDfyGcqX5sA

Example of how the chat roles are set up and what you should change:

The 1s should be replaced with IDs of the respective roles in your discord server. (0 should stay for Civilian as it is the default role for all users)

[details="Installation"]

  1. Download DiscordChatRoles from Dropbox

  2. Extract the .zip and place the folder in your /resources/ of your Fivem server

  3. Make sure you add "start DiscordChatRoles" in your server.cfg

  4. Enjoy :slight_smile:

[/details]

[details="Download"]

DiscordChatRoles

[/details]

My Other Work

DiscordChatRoles

DiscordAcePerms

SandyVehiclesRestrict

DiscordTagIDs

DiscordVehiclesRestrict

DiscordPedPerms

BadgerAnims

DiscordWeaponPerms

BadgerTools

BadgerBankRobbery

VehicleTrustSystem

Version 2.0

Chat colors can now be restricted to certain groups. The color red can also be restricted to only staff ranks!

Version 3.0

NEW FEATURE

There is now a StaffChat for your staff members to use:

https://i.gyazo.com/b82ef0e256ba67aa89db7d7307f77eef.gif

Permission to use /sc and /staffchat:

Version 4.0

Toggle off getting StaffChat messages (good for staff members if they are streaming their own RP)

Commands:

/sc toggle

/staffchat toggle

Version 5.0

NEW FEATURE

You can now change your chat-tags with the in-game command using /chattag and /chattag [id]

https://i.gyazo.com/d41d1a27f326461d07b01f669ea07a8d.png

Version 6.0

NEW FEATURE

You can now change your chat-color when you talk in-game using /cc or /chatcolor

Commands:

/cc - List out the chat colors you have access to

/chatcolor - List out the chat colors you have access to

/chatcolor <id> - Change chatcolor to the ID specified

/cc <id> - Change chatcolor to the ID specified

How it works?

You basically set this up using a config in which the keys are the permission ACE value that gives them access to see and use those chat colors.

Config (you'll have to find this in server.lua, in a future version I'll move it to the top though):

Following the format of the config, you can add multiple different permission for chat colors and set up a vast variety of different pattern combinations!

I hope you all enjoy! Merry Christmas to all! :)

Creators
JaredScar

Made by JaredScar

Tags