ModsJava
CHRON [Open Source]
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
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:
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:
- chron.runjobs : access to the /chron command
- chron.runall : run all jobs
- chron.job.<jobname> : run specific job
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:
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:
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.