- Tested Minecraft Versions:
TaskUtils lib for use with Drupi. Download Drupi at https://drupi.js.org
TaskUtils is a Drupi library that allows Drupi script creators to easily create and execute task "sequences". The main component of TaskUtils is the SequenceBuilder constructor. A SequenceBuilder sequence makes it possible to easily add delays, toggle async execution and more to your code without cluttering it with a spam of setTimeout callbacks.
Firstly, make sure that Drupi is installed on your server. If it isn't, you can download it from https://drupi.js.org. Once Drupi is installed, restart your server and navigate to the plugins/Drupi directory, create a new folder named libs and enter it, then place TaskUtils.js inside. You can now use TaskUtils in your Drupi scripts!
Documentation is available here: https://github.com/SlickNicky10/TaskUtils/blob/master/README.md