OpenFunRus submitted a new resource:
Restarter - Restart server on chat command.
Read more about this resource...
Restarter [Unmaintained]
Discussion in 'Plugin Support' started by OpenFunRus, May 1, 2016.
-
Please add console command
-
-
This script Shutdown my server, not restart...
-
Wulf Community Admin
-
How can create a file txt with oxide before shutdown? -
Wulf Community Admin
-
-
Wulf Community Admin
Oxide/_start-example.sh at master · OxideMod/Oxide · GitHub -
-
-
here is an example of a 7DTD Start batch file that I use. the game has a shutdown command that saves the world and shutdown but no restart so I wrote this batch file. how to use:
1. create a batch file called what ever. mine is _start7DTDServer.bat
2. make sure the 7DTD Server is not already running, if so shut it down using the shutdown command via Telnet so that you have a clean saved state
3. run the batch file (make sure you are Admin or have the right permissions)
4. DO NOT CLOSE the batch file. it will stay something like "starting 7dtd server..."
5. every time you shutdown the server using Telnet/RCON and the shutdown command, the batch file will restart the server and you will see a "restarting" time stamp in the console/command window.
Code:@echo off cls :start @echo Starting 7DTD Dedicated Server...7DaysToDieServer.exe -batchmode -nographics -configfile=serverconfig.xml -dedicatedecho. for /F "tokens=2" %%i in ('date /t') do set mydate=%%i set mytime=%time% echo Restarting Server: %mydate%:%mytime% echo. goto start
-
I finished with the development of plug-ins under the Oxide, due to the fact that there are no likes or donations.