Hello, I want to make my machine (server) a multi tx admin, and the ports (tx) and not (fxserver) pose a problem for me, how can I do this?
If you want to run two txAdmin at the same time, you will need to use convars to set a new profile and port. If on windows, create a server2.bat file inside the FXServer folder and add: @echo off FXServer.exe +set serverProfile "server2" +set txAdminPort "40125" pause
Also, feel free to choose any name or port.
Thanks for replying, but I think I’m in the wrong. that’s it ?
@echo off
"C:/Users/C12704XGUNCORE/Desktop/Python-RACING/server/FXServer.exe +set serverProfile “server2” +set txAdminPort “40125” pause
That batch script you posted looks correct.
Make sure you open the new ports for the server and the new txAdmin instance, in your firewall.
And make sure those ports aren’t already being used (they shouldn’t be).
thank you very much for this answer, but it is the .bat file itself that does not want to be executed
In the folder where the bat file is, go to View and tick “File name extentions”. Make sure your .bat file is not named .bat.txt
If it is, you have to take out the .txt extension and make sure it is a .bat extension.
how would you do this on a lunix vps
# Windows
./FXServer.exe +set serverProfile dev_server +set txAdminPort 40121
# Linux
./run.sh +set serverProfile dev_server +set txAdminPort 40121
For more info read the docs
https://docs.fivem.net/docs/resources/txAdmin/
thanks