Sueta
CO

CommandScheduler

1.2

CommandScheduler allows you to schedule commands every x amount of seconds

·Plugin

CommandScheduler
Allows you to schedule commands with either an interval you control in the schedulers.yml or a specified day and time. You can also change the commands executed and add as many as you wish. You can add multiple schedulers too.

schedulers.yml:

schedulers:
  default: # Default scheduler (You can add multiple with different intervals)
    delay: 600 # Delay for first schedule (in seconds)
    interval: 600 # In seconds
    randomizeCommands: false # When true, it will perform 1 random command instead of the whole list
    commands: # List of commands you want executed
    - say change this in the schedulers.yml

time_schedulers.yml:

schedulers:
  default: # Default scheduler (You can add as many as you want)
    day: "MONDAY" # Day of the week (case insensitive)
    time: "00:00:00" # Time of day (24 hour clock only)
    randomizeCommands: false # When true, it will perform 1 random command instead of the whole list
    commands: # List of commands you want executed
    - say change this in the time_schedulers.yml

config.yml:

useTimeSchedulers: false

Commands:
/commandscheduler reload
This reloads the config and restarts all schedulers.

Permissions:
commandscheduler.use
This allows you to use the command /commandscheduler.

Note: Don't put a slash in front of the commands in the schedulers.yml.

Find any bugs? Message my Spigot and I will fix them.
Have a suggestion? Leave them in the discussion.

Similar projects

Plugin →