Mineuniverse
Log in Register
Plugins

CommandClock

CommandClock is a simple Bukkit-plugin for automating and timing commands.
by CsokiGaming
Download Claim this project
1,015 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Mechanics Website Administration

CommandClock is a simple Bukkit-plugin for automating and timing commands.

Config (for alpha users and pros)

The plugin's config.yml file should be built up as follows: The first row must say "schedules:". After this row, every other text must start with a space character. From the second line and on, you can define as much tasks as you want/need/feel like. Every task is defined like this:

  1. After the space, type a unique name for the task, followed by a colon. Then, hit newline.
  2. At the beginning of the new line add TWO spaces. Then, you type "file: "(leave a space after the colon!) and the path to the file (see also: Functionality)
  3. Create a new line, again with two spaces starting it. Then type "delay: " and the number of ticks (1/20th of a second) to wait before repeating the command array. Repeat the steps above until you added every task you needed. (IMPORTANT: The line containing the unique name has to have exactly ONE space at its beginning!) Example:
schedules:
 first_task_name:
  file: task_file_url
  delay: delay_in_ticks
 second_task_name:
  file: task2_file_url
  delay: delay_in_ticks

Functionality

The thing after "file: "

The path given in the config must follow one of the three formats below:

  • If the path contains no colons, the path will be considered as relative, which means the plugin will look for the file in the same directory as the config.yml is in.
  • If the path starts with either "http://", "https://" or "ftp://", the plugin will atempt to look up that web address for the file. Be warned: only the "http://" one was tested!
  • Every other path will be considered as an absolute local path. This means that the plugin will ask your file system for the file. Examples: "C:\server-stuff\file.txt", "file:///home/user/server/file.txt" (for Linux users)

What is this file, even?

The file given must be a standard text file, containing a newline-separated list of commands to execute. (Leave out a slash at the beginning of the command, for instance if you want to run "/time set day", type "time set day". If the command you'd type in is "//somecmd", type "/somecmd" instead.) The file may be modified while the plugin is waiting, therefore allowing for dynamic use (You may also modify the config file, but then you should run the /cmdclock reload command as seen below).

Commands

The first and most important:

  • /cmdclock reload - It resets the timers and reloads the config file and is recommended to use when you (or an another program) changes the config file. Commands for in-game management of tasks (in 0.0.3-BETA and newer):
  • /cmdclock addtask <taskname> <delay> <filepath> - Just a more user-friendly way to add tasks (no need to edit configs! NOTE: Will reset timers.)
  • /cmdclock removetask <taskname> - I think you've figured it out.
  • Currently not sure how I want to do /cmdclock modifytask (spoiled for choice :P) so it's not in 0.0.3.
CommandClock-0.0.3-BETA
MC CB 1.7.9-R0.2
Beta 2014-11-08 Get
CommandClock-0.0.2-ALPHA
MC CB 1.7.9-R0.2
Alpha 2014-10-15 Get

More from CsokiGaming

Fatigue
825
Bladders & bowels
611
Quimby
5,298
SimpleHeist
468
CsokiCraftUtil
406,421
Uranium Reenriched mod
3,873

You Might Also Like

MobHealth
Simple plugin to let you know the damage you just caused to a mob, and how much health it has left.
989,881
Player Heads
Lop off Player and all Mob Heads with configurable drop rates + pvp-farming nerf, includes detailed commands and permissions
979,351
Advanced Item Effects
Adds custom effects to any item including potion effects.
97,290
VoxelMore
"Sharing is caring."
9,999
SunSteel
A Golden Item Enhancement Plugin
9,880
Sneaker
Hide name tags above players' heads.
9,865