General and summary tips from joaowars776 <3 some may be useful for you
if you have 6cores and 16gb, you have the minimum to run the genshin impact server to play alone.
Put 10.6GB (probably 10GB should be ok, but that was my configuration) of RAM and 6 cores for your VM, search how to add Swap on google and put ABOVE 15GB (it is necessary, 1 hour of gameplay made my Swap become 11GB)
I recommend that you run the VM on a different Disk than the one you are going to open the game, Swap memory + VM will pull Disk, it's just to avoid problems but it probably works fine but you'll be hard pressed
If you have login problems, error 4XXX many times it can be just problem when starting genshin impact, close it and open it again, for everything to be Ok the login part should appear quickly once you exit Genshin Impact warnings, exactly in that part that appears the gate for you to enter the game
As the friend warned, disable the firewall if you are going to play offline, if you are going to mount it for the public, I think it fits well for you to release the ports of the game, just do not open 3306 and you will have to turn off the muip for nobody to take advantages (server of commands)
it takes a few minutes for the server to open, between 4 to 10 minutes, it depends on the amount of RAM and disk speed you have, if you have little ram it will load slower because of the Swap, so maybe you have to wait up to 7 to 9 minutes, I recommend you to open the game only after 6 minutes, because if you open it too soon, error 4XXX may occur, you will have to restart genshin to be able to enter
Like someone said earlier, muipserver is what allows you to use GM Commands, the fresh-start you should use is:
dbgate, gameserver, multiserver, nodeserver, gateserver, dispatch & muipserver for commands
to do this just add # before cd, chmod and nohup of those not mentioned above (do this carefully)[example in previous post]
For you to edit VM files, give [sudo nautilus] in terminal, you won't need to be using sudoedit and having the work to edit in a horrible way
you just need to add host=127.0.0.1 in dbgate, the others you use your IP 192.168.XXX.XXX, that's how mine is configured and it's working, maybe it works if you put host=127.0.0.1 in all, I'm just talking about my situation
if you have Hyper-V on your system, I recommend looking for some modified version of VMWare Pro so you can disable mitigation (but I can't tell you if performance really improves in that case, so maybe it's not very relevant)
to use GMGUI_ENG_Lists posted in previous messages, after you configure config.json with your IP, open it and under where YSGM-GUI@ 1000 is also in blue written 'gm 1000' you put your commands
example: gm <id> >command>
Usage example: gm 10006 avatar add 10000047 (Kaedehara Kazuha) the list of 'item and character IDs' you find in previous messages too, GM command is included in GMGUI_ENG_Lists
for people who are arriving for the first time and seeing this post, there is a link to download a VM with everything ready, just disable firewall and follow the tutorial that the owner has put, there is also a video tutorial for you to do it from scratch, BOTH ON THE PAGE 21