Character Selection upon Join with ESX_Identity


Hello, We are developing a server and are unsure how to go about creating a character selection screen. For example a screen in which 3 characters can be created and chosen from. I can make a UI for this but I cannot for my life making a script which separates the 3 characters. If anyone has a package with this included or a standalone script and is willing to share that would be greatly appreciated. Other than that any help or suggestions, let me know!



u can do it with original esx_identity, type /idhelp in chat and u’ll see it
u juste have to adapt the database so it can accept the 3 identities


Do you know how to do that? When you switch character in esx with the AIO menu it just pastes your new char info on the end of the db entry. How would one go about changing identity to accept 3 without changing every single script which uses it?


sadly from what I have gathered you’d need to have it run from steam id and an individual character ID for example, if you look in the vehicles database it is all linked to a steam ID not a character so for example you’d need to have it all altered for characters, again, can be a huge pain in the butt thats why alot of people have not released character selection screens on start up due to the fact the amount of work it takes to create and make it work proper, but again Im with you on this one, hopefully eventually someone will release something for it.


If we make one we will release it to the public. I’ll force the dev to give me it :joy: , If its standalone i will atleast release the source so people can adapt the rest of their plugins around it. I have an idea of how to do it but I’ll have to wait for owner to wake up!


If you can get the people of essentialmode to change 1 thing, you can do the uniqueID thing fairly simple. Ask if they are willing to move the steamID to another field (name). Then make Identity make a primary/unique key ID in de DB or something in the Identifier field as unique ID. Most mods would use that ID from then on. Et voila uniqueID

Now you can use Identity to restrict the number of characters based on Identifier (now Unique ID) and steamID (in new field). Also Identity can keep every characters profile alive under the primary key, so all loadouts are saved, cars etc too.

This requires the least amount of recoding. Other mods will use the Unique ID in the Identifier field, automatically out of my head. I think in this way only esx_Identity and essentialmode need to be changed. Other solutions would require all mods to be rewritten and some you still have recode still to eliminate steam checks etc. But I did a little search in my sublime editor and only essentialmode and esx_identity popped up as users of steamid with steam checks.

I would use esx_whitelistadvanced of something like to restrict the server, which is not dependent on the users table I think, but has its own table you can fill with steamID and Licenses.


Dont want to poke around and break anything but this is a great idea. Really hope someone releases something similar. I know USARP has a character selection screen at startup which is really pretty.


Yeah I have a good idea, on how I should do it, but lack the time/motivation at the moment, as i’m still working my *ss of on my cradle2cradle economy system with stock exchange…

Maybe in a week or 2 when i’m done with that and got my pee&sh*tscript working, I will take a look.