8000 [SUGGESTION] Add command for permanent permissions · Issue #888 · qbcore-framework/qb-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[SUGGESTION] Add command for permanent permissions #888
Open
@SharkyFP

Description

@SharkyFP

The problem

Since we have had ace permissions added as the new permission system there hasn't been a way of saving players permissions if he isn't added manually in the server.cfg. So it would be nice if there was a way of saving/printing add_principal inside server.cfg when using command /addpermission if it could be possible to add lines thru a script inside server.cfg

Ideal solution

So when using /addpermission [ID] [identifier] [permission.name]
It saves the params inside server.cfg if it even possible to access server.cfg thru a script.

Alternative solutions

If it isn't possible to access the server.cfg thru a script to write inside it then have a different sile such as permissions.cfg or whatever extention it may be and use the file to check whenever the QBCore.Functions.HasPermission is checked.

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0