[Release] Discord Vehicle Whitelist - Vehicle Whitelist Based on Roles [2.1]

Hey, I have DiscordWhitelist installed and I want this one. But when I’ve configured all the stuff it just saying: DiscordWhitelist: Checking Permissions

Check and make sure it’s configured correctly

discord_perms:
asd

DiscordVhicleWhitelist:

And when I added the PoliceVehicles role the message: Permission system guild set to. Doesn’t appear in the console. (And no errors)

1 Like

how can i put more roles ?

It doesn’t get the discord identifier. Not working for me.

How would I add perms so that an Owner can use a certain vehicle but a Admin cannot. As if they’re in the same array then technically they should both be able to spawn it in.

roles = {
“Owner”,
“Admin”,
}

it worked but like when i give the role i set its still blacklisted?

@FAXES

Is it possible to have different roles assigned to different vehicles? like

Role1 = vehicle 1

role2 = vehicle 2

Instead of Role1 have access to vehicle 1 and 2

You’re free to edit it and make that function :stuck_out_tongue:

i have installed this script correctly and put the role in the discord_perms config file and i have put the role name in the whitelist server.lua but it doesnt work it says insufficient permissionss

and i have tried putting the role id in the server.lua

Same
I cant get anything to work

On the main roles script do we put the names or the ID?

hey, is the video coming?

I must be doing something wrong because, i set up discord_perms correctly, using a role called Staff, with the role ID. I then go into your addon, add the role nickname Staff, and set the staff car as the Whitelisted vehicle, but when i try to spawn the car it says Restricted Model. It seems to be doing the reverse of what i was expecting. Its blacklisting the car if i have the specified role, not whitelisting (Yes i have the staff role)

i dont even see that in my server.lua

i dont get how to setup the script, its kind of confusing. @FAXES can you make a video on it

Release 2.0


  • Removed __resource.lua file and updated to fxmanifest.lua for updated server versions.
  • Fixed issue that prevented multiple roles working.
  • Configured roles work via role ID now instead of role names.
  • You can now use vehicle names and vehicle classes to restrict vehicles. This saves you putting every type of military vehicle in the list.

See OP for new downloads.
2 Likes

:goat: is back baby

1 Like

Hey, can you make one that supports more then 1 role?