New identifier/name native

Hello,

Since steam authentification is not 100% reliable due to update etc… It would be very nice to have a SET_PLAYER_IDENTIFIER native to make things easier in converting 100% steam auth based code into something more open. For example checking in your database if user’s rockstar id / discord id match and then if steam is down / not open you can bind the identifier to the user and ensure all script compatibility.

Also a server sided SET_PLAYER_NAME will be very useful for servers that do not use user’s name.

Or on connection to server, you check for literally every identifier prior to confirming the player is the player, and then from there you make a Unique ID that can be used to link any and all data points within your DB structure/tables.

That offers the identifiers as all points of auth PLUS a unique key generated by the server to confirm from Player Name, IP or even Password, if you use adaptive deferrals.

True.
But the goal of this feature request is simply to make the transition easier for everyone.
With this you will need to only update your loadout/connecting system

Since event ordering isn’t deterministic this’d be hard to use during other playerConnecting callbacks… so even with such a feature there’s no real way to make literally all scripts get the added identifier.

What about player’s name?
Or doing it only in one resource.
It will also be pretty useful to build external API that fetch user’s identifiers from players.json

Or something to add data to an user, like join time etc…