You dont need "," at last string
It should be - "19:00:00": "global.restart"
TimedExecute [Unmaintained]
Discussion in 'Plugin Support' started by PaiN, Apr 7, 2015.
-
Attached Files:
-
-
Im trying to make it where 2 game modes are commanded to open at different times and the first game mode wont open of the 2.
Code:"TimerOnce": { "reset.oncetimer": 2601 , "say 'Next <color=orange>TDM Game</color> in 3 Minutes!'": 20, "event.game TeamDeathmatch": 100, "say '<color=orange>TDM Game Will Open in 1 Minute</color>'": 115, "event.spawnfile tdm.spawns.1a": 116, "event.spawnfile tdm.spawns.1b": 118, "event.open": 120, "event.kit tdmkit": 121, "say 'Type <color=orange>/event_join</color> to join the TDM Game!'": 130, "say '<color=orange>The Game Wil Now Start!</color>'": 145, "event.start": 150, "say '<color=orange>When The Match is Over You will be Teleported Back Home.</color>'": 162, "say '<color=red>NO SPAWN TRAPPING! ALWAYS PLAY FAIR!</color>'": 200, "say '<color=red>NO SPAWN TRAPPING! ALWAYS PLAY FAIR!</color>'": 400, "say '<color=red>The Game Wil end in 5 seconds</color>'": 1000, "event.end": 1005, "say '<color=red>The TDM Game is now over!</color>'": 1008, "event.game ChopperSurvival": 1009, "say '<color=orange>Heli Survival Game Will Be Open in 1 Minute</color>'": 1010, "event.spawnfile csspawns": 1070, "event.kit cskit": 1071, "event.open": 1072, "say 'Type <color=orange>/event_join</color> to join the Heli Survival Game!'": 1080, "say '<color=orange>The Game Wil Now Start!</color>'": 1085, "event.start": 1087, "say '<color=orange>Good Luck On The Heli Survival!</color>'": 1090, "say '<color=orange>Game Will End In 5 Seconds</color>'": 1190, "event.end": 2600
thats my code
only the second game mode open (event.open) works... not the first one at the top..Last edited by a moderator: Apr 6, 2016 -
Excellent Plugin!
I would like to run a command at a specific time (not real-time). How do you suggest I configure your plugin to do this? For example: At 12pm every day (in game day, not IRL day), run command.
Thank you in advance for you help. -
Hello, is it possible to run the command "remove.allow false" with realtime-timer with
fixed hour?? -
how can I add the "Scale.decay 0" in timeronce
-
- I would like to know how to make my restarts work?
Attached Files:
Last edited by a moderator: Apr 16, 2016 -
Anyone having trouble getting their server to automatically restart, I understand your pain. It took me a while to figure out the ins-and-outs of getting my server to restart on a set schedule. I host my server on HostHavoc and there is a feature that allows you to setup an auto-restart, but I found this to be very clunky and over complicated. I ended up using a plugin called TimedExecute by PaiN (Found here: TimedExecute for Rust | Oxide). The way I have my config setup makes the server restart every six hours with warnings (2hr, 1hr, 30min, 15min, 10min, 5min, 3min, 2min and 1min).
Code:{ "EnabledRealTime-Timer": true, "EnableTimerOnce": false, "EnableTimerRepeat": false, "RealTime-Timer": { "04:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "05:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "05:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "05:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "05:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "05:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "05:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "05:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "05:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "05:59:50": "server.save", "05:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "06:00:00": "quit", "10:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "11:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "11:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "11:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "11:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "11:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "11:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "11:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "11:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "11:59:50": "server.save", "11:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "12:00:00": "quit", "16:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "17:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "17:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "17:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "17:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "17:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "17:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "17:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "17:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "17:59:50": "server.save", "17:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "18:00:00": "quit", "22:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "23:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "23:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "23:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "23:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "23:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "23:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "23:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "23:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "23:59:50": "server.save", "23:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "24:00:00": "quit", }, "TimerOnce": {}, "TimerRepeat": {} }
-
Wulf Community Admin
-
Hi! Can you add Server time commands? For example: to change the gather day/night! (I know there is a plugin that have something like that, but i want this plugin to have
)
-
If i download it i am not getting a config file??
-
I made an automatic restart, but for some reason it does not restart at the time.
Code:{ "EnabledRealTime-Timer": true, "EnableTimerOnce": true, "EnableTimerRepeat": true, "RealTime-Timer": { "04:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "05:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "05:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "05:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "05:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "05:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "05:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "05:57:00": "object all remove", "05:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "05:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "05:59:50": "server.save", "05:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "06:00:00": "global.restart", "10:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "11:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "11:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "11:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "11:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "11:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "11:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "11:57:00": "object all remove", "11:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "11:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "11:59:50": "server.save", "11:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "12:00:00": "global.restart", "16:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "17:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "17:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "17:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "17:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "17:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "17:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "17:57:00": "object all remove", "17:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "17:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "17:59:50": "server.save", "17:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "18:00:00": "global.restart", "22:00:00": "say ALERT: Server restart in <color=#dc143c>2</color> HOURS!", "23:00:00": "say ALERT: The server will restart in <color=#dc143c>1</color> HOUR!", "23:30:00": "say ALERT: Server restart in <color=#dc143c>30</color> MINUTES!", "23:45:00": "say ALERT: Server restart in <color=#dc143c>15</color> MINUTES!", "23:50:00": "say ALERT: Server restart in <color=#dc143c>10</color> MINUTES!", "23:55:00": "say ALERT: Server restart in <color=#dc143c>5</color> MINUTES!", "23:57:00": "say ALERT: Server restart in <color=#dc143c>3</color> MINUTES!", "23:57:00": "object all remove", "23:58:00": "say ALERT: Server restart in <color=#dc143c>2</color> MINUTES!", "23:59:00": "say ALERT: The server wil restart in <color=#dc143c>1</color> MINUTE! Disconnect now!", "23:59:50": "server.save", "23:59:55": "say ALERT: <color=#dc143c>Server restarting!</color>", "24:00:00": "global.restart" }, "TimerOnce": { "server.saveinterval 120" : 1 }, "TimerRepeat": { "callheli": 4100 } }
-
I downloaded the plugin and added it to my plugins map. But where do i need to put the commands in? It wont create a config file
-
I'm running a Rust server under Ubuntu Linux, and after some tests, the restart isn't working... Anybody has the same issue?
Any ideas to solve..?
Regards...Last edited by a moderator: Apr 26, 2016 -
hi we cant get the chopper to spawn in with time event anyone know the issue ? this is the config .
Code:{ "EnabledRealTime-Timer": false, "EnableTimerOnce": false, "EnableTimerRepeat": true, "RealTime-Timer": { "16:00:00": "t", "16:30:00": "say 'The gate for the event just closed'", "17:00:00": "say 'Restart in 1 HOUR'", "18:00:00": "say 'The server is restarting NOW.'" }, "TimerOnce": { "reset.oncetimer": 3600, "event.open": 60, "Say You have 2 mins until start of event to join": 65, "event.start": 180, "DeathMatch starts in 30 mins": 1800 }, "TimerRepeat": { "aire.massdrop 2": 600, "call.heli": 1200, "call.heli": 1201, "call.heli": 1202, "say please add CrazyxRascal if you cant find our steam group": 120, "say VIP available contact CrazyxRascal on steam": 300, "say please join our steam group for info about the servers [URL='http://steamcommunity.com/groups/Rusty-Island']Steam Community :: Group :: Rustyisland[/URL]": 250, "call.heli": 3000 } }
Last edited by a moderator: May 1, 2016 -
Can I show time to next commands for all?
-
can some one help me plz
only i want restart server every 5h
and do this commands Before the restart "block.removeall" and "server.save"
-
log oxide
18:00 [Info] [Timed Execute] ran the command || say <color=#dc143c>AVISO</color>: El servidor será reiniciado en <color=#dc143c>1</color> HORA! at: 18:00:00
18:00 [Info] [Death Notes] [FUC] Fex6 ☠ [CCOO] pmschwarz [AK-47|Brazo Derecho|15.7m]
----------------> in this moment server down
18:00 [Info] Loading Oxide Core v2.0.1939...
18:00 [Info] Loading extensions...
cfg
"17:00:00": "say <color=#dc143c>AVISO</color>: Reinicio del servidor en <color=#dc143c>2</color> HORAS!",
"18:00:00": "say <color=#dc143c>AVISO</color>: El servidor será reiniciado en <color=#dc143c>1</color> HORA!",
"18:30:00": "say <color=#dc143c>AVISO</color>: Reinicio del servidor en <color=#dc143c>30</color> MINUTOS!",
"18:45:00": "say <color=#dc143c>AVISO</color>: Reinicio del servidor en <color=#dc143c>15</color> MINUTOS!",
"18:50:00": "say <color=#dc143c>AVISO</color>: Reinicio del servidor en <color=#dc143c>10</color> MINUTOS!", -
Hello,
(Sorry if the question has already been posted, I didn't find the answer anywhere =/ )
I'm trying to use Booleans commands (like "server.pve false") with the "RealTime-Timer" function but I don't know how it can works =/
Same problem with commands that require value (ex : "aire.massdrop 5")
For exemple :
Code:"12:00:01": "server.pve false", #don't works "12:00:02": "server.writecfg", #Works fine "13:00:00": "aire.massdrop 5", #don't works
Here is my full TimedExecute.json :
Code:{ "EnabledRealTime-Timer": true, "EnableTimerOnce": true, "EnableTimerRepeat": true, "RealTime-Timer": { "02:00:00": "say 'Re-démarrage du serveur dans <color=orange>1 heure</color>!'", "02:30:00": "say 'Re-démarrage du serveur dans <color=orange>30 minutes</color>!'", "02:45:00": "say 'Re-démarrage du serveur dans <color=orange>15 minutes</color>!'", "02:50:00": "say 'Re-démarrage du serveur dans <color=orange>10 minutes</color>!'", "02:55:00": "say 'Re-démarrage du serveur dans <color=orange>5 minutes</color>!'", "02:58:00": "say 'Re-démarrage du serveur dans <color=orange>2 minutes</color>!'", "02:59:02": "global.restart", "03:00:00": "server.save", "12:00:00": "say 'Le PVP est maintenant actif jusqu'à 14h.'", "12:00:01": "server.pve false", "12:00:02": "server.writecfg", "12:30:00": "say 'PVP actif jusqu'à 14h.'", "12:59:59": "say 'PVP actif jusqu'à 14h.'", "13:00:00": "aire.massdrop 5", "13:00:00": "say 'un convoi aérien exceptionnel est en approche !'", "13:00:01": "say 'Préparez vous à réceptionner les caisses de ravitaillement !'", "13:30:00": "say 'Plus que 30 minutes avant retour au PVE'", "13:59:59": "say 'Retour au mode PVE, prochaine session PVP à 18h'", "14:00:00": "server.pve true", "14:00:01": "server.writecfg", "14:00:01": "say 'Re-démarrage du serveur dans <color=orange>1 heure</color>!'", "14:30:00": "say 'Re-démarrage du serveur dans <color=orange>30 minutes</color>!'", "14:45:00": "say 'Re-démarrage du serveur dans <color=orange>15 minutes</color>!'", "14:50:00": "say 'Re-démarrage du serveur dans <color=orange>10 minutes</color>!'", "14:55:00": "say 'Re-démarrage du serveur dans <color=orange>5 minutes</color>!'", "14:58:00": "say 'Re-démarrage du serveur dans <color=orange>2 minutes</color>!'", "14:59:02": "global.restart", "15:00:00": "server.save", "18:00:00": "say 'Le PVP est maintenant actif jusqu'à 23h.'", "18:00:01": "server.pve false", "18:00:02": "server.writecfg", "18:30:00": "say 'PVP actif jusqu'à 23h.'", "18:59:59": "say 'PVP actif jusqu'à 23h.'", "19:00:00": "aire.massdrop 5", "19:00:00": "say 'un convoi aérien exceptionnel est en approche !'", "19:00:01": "say 'Préparez vous à réceptionner les caisses de ravitaillement !'", "19:30:00": "say 'PVP actif jusqu'à 23h.'", "20:00:00": "say 'PVP actif jusqu'à 23h.'", "20:30:00": "say 'PVP actif jusqu'à 23h.'", "21:00:00": "say 'PVP actif jusqu'à 23h.'", "21:30:00": "say 'PVP actif jusqu'à 23h.'", "22:00:00": "say 'Retour au PVE dans une heure.'", "22:30:00": "say 'Plus que 30 minutes avant retour au PVE'", "23:00:00": "server.pve true", "23:00:01": "server.writecfg", "23:00:01": "say 'Le serveur est de nouveau en mode PVE.'" }, "TimerOnce": { "reset.oncetimer": 1801, "say 'Bienvenue sur le serveur FR, PVP-PVE des Survivants'": 1800, "say 'PVP actif tous les jours de 12h à 14h et 18h à 23h'": 1800, "say 'Air drop massif 2 fois par jours à 13h et 19h'": 1800, "say '2 Reboots par jours (à 3h et 15h)'": 1800, "say 'Attaquer d'autres joueurs ou leurs bases durant les périodes PVE vous renverra des dégats pouvant vous tuer'": 1800 }, "TimerRepeat": { "event.run": 300, "server.save": 300, "callheli": 10800 } }
-
What would the config be if I was to make the airdrop.mass command every 30 minutes? Please help
-
The last answer given by the author was posted on March 21
The last answer given by Wulf, more than one month ago =/
And last update for the plugin : Dec 2015...
Maybe the plugin is abandonned ?