Skip to content

Commit e0c6077

Browse files
committed
Add clarification on ACE principals
1 parent e7fb7c3 commit e0c6077

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/player-data.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ behavior of these IDs.
1111

1212
Please read the following links for more context:
1313
- [Identifier Types](https://docs.fivem.net/docs/scripting-reference/runtimes/lua/functions/GetPlayerIdentifiers/#identifier-types)
14+
- [Basic Aces & Principals overview/guide](https://forum.cfx.re/t/90917)
1415

1516
## User IDs
1617

@@ -36,6 +37,8 @@ multiple User IDs are found, the oldest User ID is assigned. Existing identifier
3637
links are not modified, preventing accidental reassignment. If no linked User ID
3738
is found, a new one is created and linked to the identifiers.
3839

40+
Players are also given an ACE principal based on the User ID: `user.<UserId>`.
41+
3942
## Data IDs
4043

4144
The Data ID is an integer value provided by this resource, similar to a
@@ -50,3 +53,5 @@ By default, when a player joins, this resource automatically assigns the first
5053
Data ID linked to the player's User ID, or creates one if none exist. Other
5154
resources can disable this functionality to implement their own Data ID
5255
assignments, such as a character selection screen.
56+
57+
Players are also given an ACE principal based on the Data ID: `data.<DataId>`.

0 commit comments

Comments
 (0)