MOHA Dedicated Server Command Line Question


Junior Member
Feb 1, 2008
Hi guys,

I'm trying to run the MOHA dedicated server and would like to know:

How can I get the dedicated server to use the MOHADedicatedServer.ini file that is in my main SERVER folder, instead of having it use the MOHADedicatedServer.ini file found in my MY DOCUMENTS folder which it tries to use by default? I'd assume there is a command line option that I can specify to have it use my game server folder only and nothing else, but I don't know what the command is. I need to have it use everything in my server folder and nothing else, so it's pretty important.

Thank you.
Mar 31, 2008
Found this command line posted at the EA MOHA boards:

MOHAServer.exe - configfile="C:\MOHA\cfg\server.ini" -ip= - port=24000 - remoteport=25000
MOHAServer.exe -savepath=" C:\MOHA\cfg" -username=yourname - password=yoursecretpass

You can have the ini file where you like, just make sure it loads from correct folder.

Create a server cfg and simply call it in the command line using this technique.
Top Bottom