CmdScheduler - Automated command and task executor

This is a discussion topic for the Ore project, CmdScheduler. View the full project on Ore for downloads and more information.


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:

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!

2 Likes

Hiya all! This release is primarily some code cleanup and changes to ensure CmdScheduler is compatible with CmdControl v1.1.0, so no breaking changes or new functionality for this release. However, the in-game documentation for commands got a well-needed update and there are some minor visual and performance changes to go with. Enjoy!


Changelog:

  • Updated to CmdControl v1.1.0
  • Improved the in-game documentation for commands
  • Added CommandTask to hold tasks loaded from the config
  • Fixed a config loading issue with cron schedules
  • Major code cleanup and refactoring

Once again, thanks to @Guite-Emortal and WurstKorn for testing out pre-release builds!

1 Like