[RELEASE] Cron Manager
-
Introduction
A plug-in allows you to run commands time based on either the game via rcon or as shell commands on your system. All timings are controlled just like cronjobs. It comes with 2 built-in commands and has a placeholder for the PID of each server for your custom scripts.
Features:
- Uses Cron’s syntax
- Allows to easily send rcon commands
- Allows to easily use build in commands
@kill
- kills the server process@processinfo
- shows some basic information about the server process, C# limits us here a bit.
- Allows to easily define custom commands
!!taskkill /F /PID {PID}
for example does the same as@kill
Download:
You are NOT allowed to mirror or hot link this file.
-
@xerxes said in [RELEASE] Cron Manager:
omes with 2 built-in commands and has a placeholder for the PID of each server for your custom scripts.
I could give an example of how to use it in a T6 server that at a certain time 12:00 pm the server is closed if it is empty. If there are players, do it when it’s empty.
-
@kalitos said in [RELEASE] Cron Manager:
If there are players, do it when it’s empty.
It doesn’t support postponing commands.
-
{ "cron": "0 0 * * * *", "command": "quit", "ignorePlayers": true, "game": "T6" },
According to this code, it will run at midnight every day, but since I make it run on a certain server, I must specify the ip:port or what I must do. ?
-
At the moment it is only taking whole games so everything is executed for all servers of a game. If you want me to I can change it to either game or game server endpoint.
-
@xerxes I would appreciate if it were possible to run it for a certain server, since I manage several t6 servers and with the plugin I would only like to restart the zombie servers.