▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Cron Scheduler

Cron Scheduler

A minecraft plugin that runs console commands on cron schedules

Оцените первым
49
0

Scheduler

A minecraft plugin that runs console commands on cron schedules.

Configuration

schedules:

  my-schedule:
    cron: "*/10 * * * *"   # every 10 minutes
    parallel: false         # run commands one after another
    commands:
      - "save-all flush"
      - "broadcast Server saved!"

  another-schedule:
    enabled: false          # set to true to activate
    cron: "0 2 * * *"      # every day at 02:00
    parallel: true          # run all commands at the same time
    commands:
      - "broadcast Nightly task running"
      - "say Hello from cron"

Schedule fields

FieldRequiredDescription
cron✅Standard 5-field cron expression
commands✅List of console commands to run (no leading /)
parallel❌true = all commands fire at once, false (default) = sequential
enabled❌Set to false to disable a schedule without deleting it (default: true)

Cron syntax

Five space-separated fields: minute hour day-of-month month day-of-week

FieldRangeSpecial characters
Minute0–59* , - /
Hour0–23* , - /
Day of month1–31* , - /
Month1–12* , - /
Day of week0–6 (0 = Sunday)* , - /

Examples

ExpressionMeaning
* * * * *Every minute
*/5 * * * *Every 5 minutes
0 * * * *Every hour (at :00)
0 2 * * *Every day at 02:00
0 0 * * 0Every Sunday at midnight
0 9-17 * * 1-5Every hour 09:00–17:00, Monday–Friday
0 12 1,15 * *Noon on the 1st and 15th of each month

Parallel vs sequential

  • parallel: true — all commands are dispatched in the same server tick.
  • parallel: false — commands are dispatched one per tick in order, so each command's synchronous side-effects complete before the next one starts.

Commands

All commands require the cronscheduler.admin permission (default: op).

CommandAliasDescription
/cronscheduler reload/cs reloadReload config.yml without restarting
/cronscheduler list/cs listShow all active schedules
/cronscheduler run <name>/cs run <name>Immediately trigger a schedule by name

Permissions

PermissionDefaultDescription
cronscheduler.adminopAccess to all plugin commands
Партнёрский материал

Сервер для плагина Cron Scheduler - как у профи

Плагин Cron Scheduler создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Cron Scheduler для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:5 месяцев назад
Обновлён:5 месяцев назад
Главная