A very simple plugin to execute any command without the drift of say executing every 1200 ticks - the TPS will never be exactly 20.0.
I recommend the
crontab.guru cron editor with a nice explanation.
You can see how the config works in the default, basically for every cron expression you can set a list of commands to be run.
The cron tasks can be reloaded from the config.yml with
/ccmd reload, which requires the permission
croncommand.reload. Please do not edit lastrun.txt directly.
[I like trains]
Notes
I developed this plugin in my free time. Please use the Issues page on GitHub (linked above) if you believe you found a bug, or would like a new feature added. I cannot guarantee any form of support, or any updates.
What I can guarantee however, is that leaving a 1* review won't get you far. Please be kind, and I will do my best to help you.
License, terms
The plugin is licensed under the GNU GPL v3.0 license. (
check here)
For non-coders:
- don't claim the plugin as yours
- don't sell the plugin
- decompile the plugin, I don't care, it's opensource
You can view the source code at the link above, contributions and pull requests are welcome.