New Server Setup
Moderators: Jackal, Moderators
New Server Setup
I am looking to setup a server so upon boot up it launches megamek in dedicated server mode with my preferred options. So what files do I need to tweak to make this happen ?
Re: New Server Setup
Set up a ded first, make sure it works.
Then add the ded startup script to your machine's startup scripts.
You haven't given us anything to work with as far as details go.
Then add the ded startup script to your machine's startup scripts.
You haven't given us anything to work with as far as details go.
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.
Re: New Server Setup
My server is a dual cpu xeon with 96 gig ram running server 2012 R2
So I can RDP to my server an launch the game, I am not sure how to launch it as a dedicated server. Some one said I needed to add the -dedicated to the file, I am guessing its the file that has the memory parameter.
I would also like to modify the server name and port so its configured when the server launches.
My server can be seen from outside world so I got the firewall set correctly
So what is the file I use to set server options for game play, is that the server .xml? and will it use the default one that I modify when I launch the server, or do I need to set that every time ?
So I can RDP to my server an launch the game, I am not sure how to launch it as a dedicated server. Some one said I needed to add the -dedicated to the file, I am guessing its the file that has the memory parameter.
I would also like to modify the server name and port so its configured when the server launches.
My server can be seen from outside world so I got the firewall set correctly
So what is the file I use to set server options for game play, is that the server .xml? and will it use the default one that I modify when I launch the server, or do I need to set that every time ?
Re: New Server Setup
OK, so by stating "RDP", you tell me you're on Windows, which is something I can use.
A dedicated host is not a server, it's a specialized client. Modify the mwconfig.txt file to put in the name and port information. Then modify your batch file to call mwdedhost.jar instead of mwclient.jar. Make sure you change DEDICATED=false to true.
Since you are on windows, you can autostart this in a couple places - you can use the registry's run keys or you can put a script in your startup folders.
Make sure the host works before you autostart anything. We will block you at the firewall if your host spams us - we've had to do it before.
A dedicated host is not a server, it's a specialized client. Modify the mwconfig.txt file to put in the name and port information. Then modify your batch file to call mwdedhost.jar instead of mwclient.jar. Make sure you change DEDICATED=false to true.
Since you are on windows, you can autostart this in a couple places - you can use the registry's run keys or you can put a script in your startup folders.
Make sure the host works before you autostart anything. We will block you at the firewall if your host spams us - we've had to do it before.
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.
Re: New Server Setup
Ok I will go through and make the tweaks.