Thank you very much Shahar! Much appreciated.
TimedExecute [Unmaintained]
Discussion in 'Plugin Support' started by PaiN, Apr 7, 2015.
-
Hello, how can i create auto command for disable/enable RemoverTool while real time (not Rust time), can you help me pls?
-
If someone wanna send chat messages without "SERVER:" tag, replace old lines with this (this is example for repeat messages):
Code:foreach(var cmd in Config["TimerRepeat"] as Dictionary<string, object>) { repeater = timer.Repeat(Convert.ToSingle(cmd.Value), 0, () =>{ if(cmd.Key.Substring(0,3) == "say") PrintToChat($"{cmd.Key.Substring(3)}"); else ConsoleSystem.Run.Server.Normal(cmd.Key); Puts($"ran the command || " + cmd.Key.ToString()); }); }
-
I'm having some problems with my server - It restarts each day at 11:00pm CST, but it only gives users a 60 sec, 50 sec, 40 sec, etc. notice, which I have not set-up anywhere in my TimedExecute config:
Code:{ "EnabledRealTime-Timer": false, "EnableTimerOnce": false, "EnableTimerRepeat": true, "RealTime-Timer": { "16:00:00": "say 'Restart in <color=#6fcacd>2 HOURS</color>.'", "17:00:00": "say 'Restart in <color=#6fcacd>1 HOUR</color>.'", "18:00:00": "say 'The server is restarting <color=#6fcacd>NOW</color>.'" }, "TimerOnce": { "reset.oncetimer": 181, "say 'Follow us on Twitter and submit your feedback: <color=#6fcacd>@twoplyr</color>.'": 120, }, "TimerRepeat": { "server.save": 86399, "global.restart": 86400 } }
-
The global.restart command is in rust and gives a countdown prior to restarting the server.
-
Code:"RealTime-Timer": { "16:00:00": "say 'Restart in <color=#6fcacd>2 HOURS</color>.'", "17:00:00": "say 'Restart in <color=#6fcacd>1 HOUR</color>.'", "18:00:00": "say 'The server is restarting <color=#6fcacd>NOW</color>.'"
-
Yes it does, your real-time timer shows false in your first post.
-
Either way, I appreciate it. -
Sorry I'm on mobile and am barely awake, everyone overlooks things sometimes. Glad I could help.
-
Hi could you add so we can have custom tag to our Global.say or something like that
-
Redacted.
-
I have a problem with automatic restarts on my server, Every time the restart command countdown finishes the server will continue to hang without restarting or properly shutting down, I have to manually restart the server in the tc admin control panel, Would setting up tc admin control panel scheduled restarts with a real timer fix my problem? And what time does the real timer go off, Is it server time or my local time?
Last edited by a moderator: Feb 4, 2016 -
-
Code:@ECHO OFF color 0a cls :menu cls ECHO ............................................... ECHO PRESS 1, 2 OR 3 to select your task, or 4 to EXIT. ECHO ............................................... ECHO. ECHO 1 - Start (auto) ECHO 2 - Update ECHO 3 - Exit ECHO. CHOICE /C 123 /N /T 3 /D 1 /M "Whats your poison??" IF ERRORLEVEL 1 SET ITEM=START IF ERRORLEVEL 2 SET ITEM=UPDATE ECHO You chose to %ITEM% echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... Please Wait echo --------------------------------------- echo = 0 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading. Please Wait echo --------------------------------------- echo [] = 5 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading.. Please Wait echo --------------------------------------- echo [][] = 15 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... Please Wait echo --------------------------------------- echo [][][] = 23 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading. Please Wait echo --------------------------------------- echo [][][][] = 30 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading.. Please Wait echo --------------------------------------- echo [][][][][] = 38 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... Please Wait echo --------------------------------------- echo [][][][][] = 42 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading. Please Wait echo --------------------------------------- echo [][][][][][] = 45 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading.. Please Wait echo --------------------------------------- echo [][][][][][][] = 48 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... Please Wait echo --------------------------------------- echo [][][][][][][][] = 50 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading. Please Wait echo --------------------------------------- echo [][][][][][][][][] = 56 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading.. Please Wait echo --------------------------------------- echo [][][][][][][][][][] = 63 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... Please Wait echo --------------------------------------- echo [][][][][][][][][][][] = 69 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading. Please Wait echo --------------------------------------- echo [][][][][][][][][][][][] = 75 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading.. Please Wait echo --------------------------------------- echo [][][][][][][][][][][][][] = 79 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... Please Wait echo --------------------------------------- echo [][][][][][][][][][][][][][] = 86 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading. Please Wait echo --------------------------------------- echo [][][][][][][][][][][][][][][] = 90 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading.. Please Wait echo --------------------------------------- echo [][][][][][][][][][][][][][][] = 96 ] echo --------------------------------------- ping localhost -n 1 >nul cls echo. echo. echo. echo. echo. echo. echo. echo. echo Loading... .Complete. echo --------------------------------------- echo [][][][][][][][][][][][][][][][]= 100 ] echo --------------------------------------- Goto %ITEM% :START ECHO Starting! cls RustDedicated.exe -batchmode -nographics +server.ip 0.0.0.0 +server.port 28015 +rcon.ip 0.0.0.0 +rcon.port 48010 +rcon.password "***" +server.maxplayers 200 +server.hostname "****" +server.identity "my_server_identity" +server.level "Procedural Map" +server.seed **** +server.worldsize ***** +server.saveinterval 300 +server.globalchat true +server.description "****" +server.headerimage "http://" +server.url "http://" time /t >> shut.log goto menu :reboot cls tasklist /fi RustDedicated.exe |find ":" > nul if errorlevel 1 goto START goto menu :UPDATE %~d0\steamCMD\steamcmd.exe +login anonymous +force_install_dir %~d0\Rust\ +app_update 258550 -beta experimental validate +quit time /t >> shut.log pause goto menu
-
-
-
Since last game/oxide update the restart doesn't seem to be working. I get the auto saving for timed works, the "Server restart in X minutes" messages in RealTimer work, but when the time comes it should run the global.restart, nothing happens.
Edit: Reloaded with a new test time and it worked, not sure why it didnt do my midnight reboot. -
Having a problem to get this to work now after the new update. maybe im doing something wrong ?
please have a lookAttached Files:
Last edited by a moderator: Feb 5, 2016 -
-
Could you please make this where it just restarts at 4am eastern standard time but with the restart notices for the last say 3 hours?
[DOUBLEPOST=1455061847][/DOUBLEPOST] -