OffRoader23 Posted February 20, 2008 Share Posted February 20, 2008 I recently got a server and am trying it out now, but it doesn't give you a way to restart your server through their web admin, so I need to remote console restart it, but there appears to be no way to do so? Or do I just have to contact the hosting and have them restart it for me? Can something be done with Execute Command in the Admin Menu? Link to comment
Twig Posted February 23, 2008 Share Posted February 23, 2008 You need to contact the owner of the hosting. Link to comment
OffRoader23 Posted February 23, 2008 Author Share Posted February 23, 2008 That's what I was afraid of Link to comment
Oli Posted February 28, 2008 Share Posted February 28, 2008 We might add a command for this in a later release. Link to comment
Axis Posted March 4, 2008 Share Posted March 4, 2008 I would also appreciate that! I made a quick Auto-Restart for my Server using Batch files. I can type "Shutdown" in the dedicated console but never could directly from in game. A way to remote close/restart it would be a good addition! Link to comment
Brophy Posted March 4, 2008 Share Posted March 4, 2008 shutdown() will be added for dp3, however it will be upto the whoever runs the server to make it autorestart (there are scripts and applications which can do it for you) Link to comment
Oli Posted March 4, 2008 Share Posted March 4, 2008 i suppose we could write a restartServer() function that stops the server as if it was shutting down but instead of terminating the process it just starts the server again.. wouldnt be that hard.. although i cant do it atm as im in the process of moving house so dont really have access to the mta code base right now once ive sorted out my internet at the new flat ill see what i can do. Link to comment
Axis Posted March 5, 2008 Share Posted March 5, 2008 Making an AutoRestart Script is very easy! Here it is: Just open NotePad and put this in it @echo off title MTA Server (AutoRestart) .\"MTA Server" .\Auto_Restart.bat Then save the file named "Auto_Restart.bat" And execute that file instead of the Server. It will run the server as usually but if it is ever Shutdown or Crashed, it will Auto-Restart. Link to comment
Recommended Posts