DiscordChatRoles
Last updated
Last updated
CURRENT VERSION: 7.0
Picture example taken from my RP server:
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)
Download DiscordChatRoles
Chat colors can now be restricted to certain groups. The color red can also be restricted to only staff ranks!
There is now a StaffChat for your staff members to use:
Permission to use /sc and /staffchat:
Toggle off getting StaffChat messages (good for staff members if they are streaming their own RP)
Commands:
/sc toggle
/staffchat toggle
You can now change your chat-tags with the in-game command using /chattag and /chattag [id]
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 - Change chatcolor to the ID specified /cc - 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!
You now have the option of enabling block messages within the chat rather than the default chat messages you are used to. An example of this can be shown below.
To enable the block messages, just enable it within the configuration section in server.lua