View Full Version : Restarting COD Server?
Rattle
11-10-2003, 03:34 AM
I would you go about restarting a server from rcon commands or FTP access? The only thing i can find out is that you can restart the maps but i would like my clients to be able to restart thier server..
ClickBouyow
11-10-2003, 01:43 PM
They have to have some type of shell access to the server. You really don't want them to execute from ftp, that can open up a whole new can of worms. There are a few simple scripts that will restart a server after if stops (mohadmin has one in their forums). You can modify it to start yours. Then you can just /rcon quit from console and the server will automatically restart.
Rattle
11-10-2003, 05:56 PM
Yea I went over there to look and couldnt find anything.. Do you have a link in mind to direct me , by chance?
imported_MaD-Ogre
11-10-2003, 06:46 PM
If you're running on a Windows server, you can make a batch file like this:
@echo off
:top
CoDMP.exe +set dedicated 2 +map_rotate
goto top
Save it in your CoD folder (not the Main folder) as startup.bat. You can change the line that starts the server to what you normally use. When you run the batch file, anytime the server shuts down (like with a /rcon quit command), it will be restarted.
Rattle
11-10-2003, 11:02 PM
The only problem with that is, if a client does an /rcon quit they have to log in their FTP and and double click that. is there a way to when they do use that /rcon quit, the server will automatically restart itself?
Rattle
11-10-2003, 11:29 PM
LMAO, never mind i didnt keep that dos batch file running in the background thats why it didnt restart.. Great job, thanks for the info....Keep up the great responses :smile:
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.