Jump to content

fivem - resources Setting up Ace Permissions


JokeDevil
 Share

Recommended Posts

  • Lead Developer

Setting up your permissions in the server.cfg

  1. Navigate to your server.cfg
    • If you use TxAdmin this will be: SERVER_IP:40120/cfgEditor
  2. Adding a ace permission to a group.
    • To create a group and add a permission to it you can add the following to your server.cf:
      # gives the group admin access to the ace permission jd.staff
      add_ace group.admin jd.staff allow
    • This will add the jd.staff ace permission to the group admin.
      We are adding ace permissions to groups so we can manage the permissions for players easier by groups.

  3. Adding a user to the group.
    • To ass a user to the group you can use the following to your server.cf:
      # makes identifier.steam:110000112345678 inherit from group.admin
      add_principal identifier.steam:110000112345678 group.admin

Additional Information:

You can add a user to all groups it needs or you can make groups inherit permissions from other groups.
If you want groups to inherit you can do that like the following:
 

# makes group.admin inherit from group.moderator
add_principal group.admin group.moderator

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • General Statistics

    37
    Total Topics
    64
    Total Posts
    473
    Total Members
    26
    Most Online
    DJgaming
    Newest Member
    DJgaming
    Joined


  • brilliantdiscord_widget
×
×
  • Create New...