Home›Java›Mods›CHRON [Open Source]
CHRON [Open Source]
ModsJava

CHRON [Open Source]

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
CHRON

View the source
​
What it does
CHRON allows you to schedule repeating tasks, that support both shell (command-line) and in-game commands.

Why not use UNIX jobs?
Because you might be trapped behind a server panel, or you want easy access to game commands.

How do I use it?
Everything is in the configuration file. With /chron, you can run jobs and check the status of jobs.

Usage: /chron [job]

Permissions:

Code (Text):
jobs:
  backup:
    interval:
      start: 1445796463610 # The epoch time of the start date. Need help? Use http://currentmillis.com/
      every: 600 # The interval to repeat, in seconds.
    commands:
      - g:say Server backup starting!                                         # g: means that it's a game command.
      - g:zip . ./backups/{epoch}-backup.zip                                  # the 'zip' command is a feature of wget, a premium spigot plugin
      - g:say Server backup completed!                                        # everything after the colon is the command to execute
      - s:mv ~/ServerDirectory/backup/{epoch}-backup.zip ~/GoogleDriveFolder/backups/{epoch}-backup.zip # s: means it's a shell command
      # Remember, these will run in sequence!
# Dont want it to repeat? Set 'every' to a negative number.

# Variables: {epoch} (milliseconds since Jan. 1 1970 UTC)


data:
 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CHRON [Open Source] is a free Minecraft Java mod. Downloaded 421 times (via Spigot). Download it and open it directly in the game.

Explore more