CommandScheduler
ModMIT

CommandScheduler

Schedule any command!

90
Downloads
1
Followers
2 months ago
Updated
📦
2
Versions

📖About CommandScheduler

CommandScheduler

This mod is created with efficiency and customization in mind. The mod itself is very lightweight and does not use a lot of memory to run. There is also a lot of customization that can be done through the configs, such as:

  • Add a timer for how often it should run
  • Add a chance for it to run
  • Add a recheck timer for the next time it should run in case the odds don't line up in favor of the command being run due to the chance
  • Toggle whether or not a command should run multiple times or only once. Good for initializations.
  • Add a list of commands that all have a certain weight, which allows you to run a specific list of commands.
  • Adds command /commandSchedule for running commands in the future!

Configs

{
  "Example 1": {
    "commands": [
      {
        "weight": 20,
        "command": [
          "/tell Polqrrrr hello, how are you?",
          "/tell Polqrrrr testerrr"
        ]
      },
      {
        "weight": 1000,
        "command": [
          "/tell Polqrrrr uhhh"
        ]
      }
    ],
    "frequency": 20,
    "recheckInterval": 100,
    "chance": 100,
    "repeatable": true
  }
}