This tutorial is for FiveM developers who are creating interactions or systems with multiple players (Peds). Normally you always have to ask your friend etc. to come to the server to test it. Here I explain how to run FiveM multiple times on one PC with different Rockstar accounts (different identifiers).
- Sometimes, when you start the second account, the game freezes and crashes/shuts down.
Solution: Restart the FiveM clients
• Multiple official Rockstar Accounts
Minimal PC Specs:
• least 6 CPU Cores
• least 32GB RAM
• least 8 VRAM
This is just my recommendation!
- Go to your
%AppData%
underLocal/DigitalEntitlements
. - Create the
AccountsData
folder. - Delete the current "38d8f400-aa8a-4784-a9f0-26a08628577e " file (this is where the Rockstar account is stored)
- Now start FiveM, it will ask you to log in with your Rockstar account.
- After successful login, the "38d8f400-aa8a-4784-a9f0-26a08628577e " file will be created automatically.
- Now move this file to the new folder "AccountsData" and give it a suffix (in my case I will use _main account and _test account)
- Now do step 3. - 6. again, but with your other Rockstar account
- You should now have several 38d8f400-aa8a-4784-a9f0-26a08628577e files in the "AccountsData" folder with the suffix
Create a shortcut to open FiveM with a specific Rockstar account.
- Go to your FiveM root folder (should stay in AppData/Local/FiveM)
- Copy the template.bat into this folder
- Rename it so you can recognize it (I will call it "StartMainAccount.bat " and "StartTestingAccount.bat ")
- Now edit the file with your values
- Insert the absolute path to your AccountData with the correct suffix in copy parameter 1
- Insert the absolute path to your DigitalEntitlements folder without the suffix in the copy parameter 2
- Always increase the -cl parameter number (your first account should be -cl1, your second -cl2...)
- Now do step 10. - 15. again with each account you want.