Permissions

If you want your administrators not to be banned by WaveShield, because they use certain bannable functions. Or you want to allow them to open the Administrator menu included in WaveShield, this is where you should go.

In the server.cfg add theses lines

server.cfg
// works with license, steam, discord, xbl, fivem, live, ip
add_ace identifier.steam:steamidhere "waveshield.perms.full" allow
add_ace identifier.steam:steamidhere "waveshield.perms.adminmenu" allow
add_ace identifier.steam:steamidhere "waveshield.perms.bypass" allow

In the config_sv.lua search for Permissions Table

config_sv.lua
Permissions = {
    -- works with license, steam, discord, xbl, fivem, live, ip
    Full = { 
        ["steam:xxxx"] = true,
        ["discord:xxxx"] = true,
    },
    Bypass = {
        ["steam:xxxx"] = true,
        ["discord:xxxx"] = true,
    },
    AdminMenu = {
        ["steam:xxxx"] = true,
        ["discord:xxxx"] = true,
    },
}

You just have to replace the letters X by the ID of the person you want to give permissions to.

  • Full permission means that you want to give the player all permissions.

  • Bypass permission means that you want to keep the player from being banned by WaveShield.

  • AdminMenu permission means that you want to give the player access to the admin menu.

Last updated