[FREE] Discord permission system

Discord Permission System
An easy to use discord based permission system that also supports ace permissions. You can easily add permissions in the configuration file and access them using an easy to use export within your resources.

Usage Example

exports['scully_perms']:hasPermission(source, 'permission')
// or
exports['scully_perms']:hasPermission(source, {'permission1', 'permission2', 'permission3'})

Download: GitHub

6 Likes

Good job Scully!

1 Like

Updated

  • Made improvements to the permission system.

This is a server sided command, you can’t use it within a client file.

Updated:

  • Added support to use multiple roles for each permission in the config.

[ script:scully_perms] SCRIPT ERROR: @scully_perms/server/main.lua:59: attempt to index a nil value (local β€˜user’)

What is this error?

what if you have more then 1 set role but there are 2 diffrent groups set for it.

[owner] = β€˜4786537’,

[admin] = β€˜5782757’,

what if im haveing both roles but i want to be in owner group ??