With TimedCommands you can run commands in a loop based on a waiting period.
The Plugin generates a config file where you can define unlimited commands and set their waiting period in seconds.
The Configfile is called "config.txt" and is located in the directory "TimedCommands" in your plugin directory.
Code (Text):#Example Configuration[/SIZE][/SIZE]
[SIZE=6][SIZE=4]#This will run /save-all every minute
More to know
The Plugin starts execution the commands right after the server started.
There are no ingame commands, the commands are loaded from the config and can be changed with a server reload/restart.
The Plugin uses one Thread for all commands so there is not much memory usage and the plugin will cause no lags.
TimedCommands - Schedule Commands Final
Run scheduled commands
Looked like just what I needed, but really it's terrible! Use it for any commands from plugins and it just breakes them..
For example, i set it to do '/holograms reload' every few minutes as the holograms keep disappearing, but that just made it worse... they disappeared every time the plugin executed the command!
This plugin will break many many other plugins if you use it for anything such as Citizens, or reloading other plugins. It will cause errors and it has to do with the Java being poorly constructed. Starting with their package names. And then continuing with arbitrary unspecified asynchronous execution.
The plugin does exactly what it said on the tin, however there is room for improvement,
i'd like confirmation in console as to when it runs a command, here's an example:
I use a database for my PEX, i told this plugin to run "pex reload" every 120 seconds, i'm not seeing it in console.
Additionally, running multiple commands at the same time would be useful, and perhaps a -d for delay argument between commands (In seconds .0)
Thanks for this resource.