You should use Server Starter for maintain the server on-line endlessly !
in case your sport mode console crash or home windows auto restart this app can run sport mode console …
Demo :
DemoServerStarter

run.bat

cd /d C:FXServerserver-data
C:FXServerserverFXServer.exe +exec server.cfg
C:FXServerrun.bat

/restartserver

RegisterCommand('restartserver', perform(supply, args)
	if IsPlayerAceAllowed(supply, 'admin.restartserver') then
		for _, playerId in ipairs(GetPlayers()) do
			DropPlayer(playerId, 'restarting server please rejoin ...')
		finish
		Wait(2500)
		ExecuteCommand('stop restarting server please rejoin ...')
	finish
finish)
add_ace group.GROUPNAME admin.restartserver enable
add_ace useful resource.RESOURCENAME command.stop enable

Obtain : Server Starter.exe (194.5 KB)



Looking for paid scripts? Click here