[PAID] [STANDALONE] Discord vPerms (Vehicle allowlist)

A script by EANightwalkersfear

No reviews yet.
[PAID] [STANDALONE] Discord vPerms (Vehicle allowlist) main image

Full Description

Discord vPerms!

Video Showcase:

Description

Drag, drop and configure! Utilized by our Discord API. This script allows you to define vehicle group sections with the required roles to drive the vehicle models given in the config.

Features

v1.0.0

  • Configure sections for discord roles, which define what vehicles are drive able by the user with that role.
  • Language support.
  • Escrow protected.

Configuration example

    VehiclePermissions = {
        [1] = {
            SectionName = "Staff vehicles", -- Define the section name.
            DiscordRoleOrGroupNames = {     -- The groups/roles which the listed vehicles belong to.
                "Manager",
                "Senior_Admin",
                "Admin_Team",
                "Admin_Team_Trial",
                -- Add more roles if you like.
            },   
            PermLockedVehicles = {          -- The vehicles which are allowed to be driven by users which are member of the listed groups/roles.
                "xc90admin",
                -- Add more vehicles in the "vehiclename", format (Case sensitive) | Don't know the vehicle name? Set ShowModelNameOfVehicleInF8 = true,
            },
        },
        [2] = {
            SectionName = "Police vehicles",
            DiscordRoleOrGroupNames = {
                "Essex_Police_Force",
            }, 
            PermLockedVehicles = {
                "POLICE",
                "POLICE2",
                "POLICEB",
                "essexwrx",
            },
        },
        -- Add more sections if you like. Example:
        -- [3] = {
        --     SectionName = "Ambulance & Fire vehicles",
        --     DiscordRoleOrGroupNames = {
        --         "Ambulance_Fire_Group",
        --     }, 
        --     PermLockedVehicles = {
        --         "AMBULANCE",
        --         "FIRETRUK",
        --     },
        -- },
    },

Obtain this or one of our other resources via our Tebex store

Direct → https://store.nights-software.com/package/5205763
Homepage → https://store.nights-software.com | Documentation → https://docs.nights-software.com

Our other resources:

[& more…](https://store.nights-software.com/ :globe_with_meridians:)

Code accessible Partially
Subscription based No
Lines (approximately) 750
Requirements Discord API
Support Yes