Jump to content

How to give rights to a gamemode in acl?


Yanda

Recommended Posts

I'm creating a game mode and it needs some permissions.
How do I give permissions to my game mode in ACL?

I know for resources I can do the following:

<object name="resource.example"></object>

But what would be the code to give permissions to a game mode?

Link to comment

    hello welcome to the forum, i answered your question,as an example i posted code for DayZ mod, you can change it.

    <group name="Console">
        <acl name="Console"></acl>
        <object name="user.Console"></object>
        <object name="user.Shady"></object> --
        <object name="resource.DayZ"></object> --For example, I edited a permission for DayZ mod, you can change it if you wish.
    </group>

 

usually you can allow Console or Admin side

https://wiki.multitheftauto.com/wiki/AclGroup

Edited by Shady1
Link to comment
3 hours ago, Yanda said:

I'm creating a game mode and it needs some permissions.
How do I give permissions to my game mode in ACL?

I know for resources I can do the following:

<object name="resource.example"></object>

But what would be the code to give permissions to a game mode?

Create new acl group and then add in this group your acl object

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...