Skip to main content

Identifier

What is an identifier?

An identifier is the unique value FiveM uses to recognize a player. The VPC connector uses this value to assign a player to an officer or another function.

An identifier always consists of a type and the actual value. Examples:

license:0000000000000000000000000000000000000000
steam:000000000000000
discord:000000000000000000

Which identifiers are supported?

For the Livemap, you can use these identifier types:

steam:
license:
xbl:
live:
discord:

The important part is that you use the same type everywhere. If your Livemap is configured for license:, the officer management entry must also use an identifier starting with license:.

Configure Config.IDMap

The identifier type used for the Livemap is configured in config.lua with Config.IDMap.

By default, you should use license::

Config.IDMap = 'license:'

If you want to use a different identifier type, you must adjust this value in config.lua accordingly. For example, Config.IDMap = 'license:' can become:

Config.IDMap = 'steam:'

After that, the identifiers in officer management must match the configured value.

Find the identifier

You can copy the matching identifier directly ingame. Use the /vpcid playerID command for this. More details are available under ingame commands.