Files
2023-04-26 16:32:43 +01:00
..
2021-12-03 01:19:31 +00:00
2021-12-03 01:19:31 +00:00
2021-12-03 01:19:31 +00:00
2021-12-03 01:19:31 +00:00
2023-04-26 16:32:43 +01:00

DiscordChatRoles

Continued Documentation

https://docs.badger.store/fivem-discord-scripts/discordchatroles

Discontinued Documentation

Version 1.0

Installation Information:

https://forum.fivem.net/t/discordchatroles-release/566338

This is a very simple script that uses IllusiveTeas discord_perms for chat roles :)

Picture example taken from my RP server:

Example

You must set up IllusiveTeas discord_perms script for this to work properly:

https://forum.fivem.net/t/discord-roles-for-permissions-im-creative-i-know/233805

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

--[[
	List in order of least priority to highest with 
	highest priority overtaking role before it if 
	they have that discord role.
]]--
roleList = {
{0, "^4Civilian | "},
{1, "^3Trusted Civ | "},
{1, "^2Donator | "},
{1, "^1T-Mod | "},
{1, "^1Mod | "},
{1, "^1Admin | "},
{1, "^6Management | "},
{1, "^5Owner | "},
}

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)