Categories
FiveM

How to configure vMenu Permissions

vMenu Permissions

In this tutorial you will learn how to configure and run your vMenu on a FiveM Server, there will be multiple examples of what you must do so it can work correctly. If this tutorial is followed correctly, you will have no issues with running this resource.

Please remember to not set any permissions to deny inside the permissions.cfg

Installing vMenu

  • When downloaded, you can choose to upload it to your Iceline FiveM Server, or you can choose to extract it on the desktop of your computer so we can start the configuration process.
  • When you have extracted the file, go to the location of your vMenu folder, head into the folder and find a folder called /config/, you will then see a permissions.cfg inside the folder, this is your permissions file and you are going to be using this to setup the Menus Permissions.

Setting up Permissions

Section A: Creating Groups and adding permissions to  them

A1: Creating a group and adding players to it.

To create a Group and add a player to it, add the text below somewhere into your Permissions.cfg file, in this example we’ll use the steam identifier for an example.

add_principal identifier.steam:<steam_id_here> group.<groupName>

For example, if we wanted to add ourselves to the admin group, we will do it like this:

add_principal identifier.steam:11000101234567 group.admin 

A2: Giving group permissions

If we wanted to give permissions, it’s simple as adding ace permissions, an example is going to be below showing how we can add access for the full Online Players menu. 

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

A3: Summary of the A Section

With this part of the permissions config done, you should now be able to go in-game and access that menu. This can be used to set other permissions as well such as the vehicle menus, weapon access and so much more.

Here is a example of how your Permissions file should look now:

add_principal identifier.steam:11000101234567 group.admin

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

add_ace group.admin “vMenu.OnlinePlayers.Menu” allow

Section B: How to Deny Certain Permissions

B1: If you want to deny a permission you have to put a “#” in front of the text. For example:

#add principal identifier.steam:11000101234567 group.admin

Section C: Starting your resource

C1:  Once you have configured your “permissions.cfg” save the file.

C2: Locate your server.cfg file in the “file manager”, Open the file and type Start vMenu then under that type exec permissions.cfg then save.

C3: Restart your server.

Leave a Reply