DiscordAcePerms
This is another one of my discord scripts! :) If used properly along with my other scripts, you can fully make your server use only discord roles for permissions and chat roles ;)
Example of how to set it up:
roleList = {
{1, "group.tc"}, --[[ Trusted-Civ --- ]]
{1, "group.faa"}, --[[ FAA --- ]]
{1, "group.donator"}, --[[ Donator --- ]]
{1, "group.trialModerator"}, --[[ T-Mod --- ]]
{1, "group.moderator"}, --[[ Moderator --- ]]
{1, "group.admin"}, --[[ Admin --- ]]
{1, "group.admin"}, --[[ Management --- ]]
{1, "group.owner"}, --[[ Owner --- ]]
}
The 1s should be replaced with IDs of the respective roles in your discord server. The quotes with groups should represent the groups in your permissions.cfg or server.cfg.
- 1.Download DiscordAcePerms
- 2.Extract the .zip and place the folder in your /resources/ of your Fivem server
- 3.Put
add_ace resource.DiscordAcePerms command.add_principal allow
andadd_ace resource.DiscordAcePerms command.remove_principal allow
in server.cfg - 4.Make sure you add `start DiscordAcePerms` in your server.cfg
- 5.Enjoy