Description
CmdScheduler allows administrators to create automated tasks that execute commands according to a specific schedule. Although this could be done simply by exposing Sponge’s SchedulerAPI, this takes things a step further to provide advanced customization for both users and developers alike.
CmdScheduler tasks have more than just an interval and delay; they also allow you to target a specific calendar time or use a Cron schedule. An AdvancedTask
may be started, stopped, or executed at any time, unlike a Sponge Task
. Finally, these tasks can be processed asynchronously but automatically swap to the main server thread to be executed synchronously - a huge advantage if you’re concerned about performance.
Important Notes
CmdScheduler requires CmdControl to be installed as a dependency.
/Cmd Series
CmdScheduler is one of the plugins in the /Cmd series. If there’s something you’re looking for with commands that CmdScheduler doesn’t offer, there’s a good chance it’ll be found in one of the plugins below:
- CmdControl: Advanced operations for working with commands
- CmdBuilder: Create, combine, and register new commands
- CmdScheduler: Wait, that’s this one…
Documentation
The documentation for CmdScheduler is still a work in progress. For the meantime, you can reference the default configuration and commands for basic actions.
If you need additional help, you can post a message in the #cmdscheduler
channel of my Support Discord. It’s also a great place to keep updated with new developments for CmdScheduler or any one of my plugins, so feel free to come join in the development fun!
Developer API
The backing system of CmdScheduler is designed to be a developer-friendly API that allows you to create advanced tasks in a builder style format. The documentation for this is still a work in progress, however all API methods are properly Javadoc’d with all the information you might need. If you have an interested in using CmdScheduler in your project, please send me a message!
Support Me
There’s a lot of time and effort that goes into making plugins like CmdScheduler, so if you’ve benefited from one of my plugins and appreciate the work I do please take some time and add a donation through PayPal. Thanks for your support!