promotional bannermobile promotional banner

BattleScheduler

A cron based scheduler for bukkit commands or Runnable plugins

BattleScheduler

A cron based scheduler to run any bukkit commands or plugins that extend "Runnable". This allows admins from the console or in game to create timers for various events. Also allows suspend/resume options for the timers.

Commands

  • /timer create <time> <plugin name> <event or string of commands>
  • /timer list: see all timers and registered events
  • /timer delete <number>: Delete a timer
  • /timer execute <event>: Execute the given event or command

Examples:

  • timer create * * * * * default myCommand argument1 argument2
  • timer create */15 * * * * default save-all
    • this will save-all every 15 minutes

What did that mean!? What is Cron!?

Cron is a syntax for scheduling, it is very flexible and very powerful ( though maybe a bit confusing at first ). Wikipedia has a good article on it, and there are many examples on the web. Just google "cron examples".

Cron from Wikipedia

Brief cheat sheet from wikipedia.

*    *    *    *    *  command to be executed
┬    ┬    ┬    ┬    ┬
│    │    │    │    │
│    │    │    │    │
│    │    │    │    └─── day of week (0 - 6) (0 is Sunday, or use names)
│    │    │    └──────── month (1 - 12)
│    │    └───────────── day of month (1 - 31)
│    └────────────────── hour (0 - 23)
└─────────────────────── min (0 - 59)

Source

GitHub

The BattleScheduler Team

profile avatar
  • 1
    Followers
  • 14
    Projects
  • 1.3M
    Downloads
Donate

More from _ForgeUser8459491View all

  • VirtualPlayers2 project image

    VirtualPlayers2

    • 10.6K
    • Bukkit Plugins

    VirtualPlayers2

    • 10.6K
    • December 16, 2019
    • Bukkit Plugins
    • +4
  • BattleArena (Abandoned) project image

    BattleArena (Abandoned)

    • 698.9K
    • Bukkit Plugins

    Arena fights for solo players or teams. API for creating simple events

    • 698.9K
    • June 26, 2014
    • Bukkit Plugins
    • +1
  • VirtualPlayers project image

    VirtualPlayers

    • 30.5K
    • Bukkit Plugins

    Create virtual players for easy debugging of plugins through the console

    • 30.5K
    • April 14, 2014
    • Bukkit Plugins
    • +1
  • ArenaSpleef project image

    ArenaSpleef

    • 226.1K
    • Bukkit Plugins

    1v1 Spleef, or Team vs Team Spleef.

    • 226.1K
    • April 7, 2014
    • Bukkit Plugins
    • +1
  • VirtualPlayers2 project image

    VirtualPlayers2

    • 10.6K
    • Bukkit Plugins

    VirtualPlayers2

    • 10.6K
    • December 16, 2019
    • Bukkit Plugins
    • +4
  • BattleArena (Abandoned) project image

    BattleArena (Abandoned)

    • 698.9K
    • Bukkit Plugins

    Arena fights for solo players or teams. API for creating simple events

    • 698.9K
    • June 26, 2014
    • Bukkit Plugins
    • +1
  • VirtualPlayers project image

    VirtualPlayers

    • 30.5K
    • Bukkit Plugins

    Create virtual players for easy debugging of plugins through the console

    • 30.5K
    • April 14, 2014
    • Bukkit Plugins
    • +1
  • ArenaSpleef project image

    ArenaSpleef

    • 226.1K
    • Bukkit Plugins

    1v1 Spleef, or Team vs Team Spleef.

    • 226.1K
    • April 7, 2014
    • Bukkit Plugins
    • +1