Execute a command at any time or at regular interval.
Use Cron to specify the time: https://www.freeformatter.com/cron-expression-generator-quartz.html
Example configuration:
plugins/Tasker/config.json
{
"timeZone": "Europe/Berlin",
"tasks": [
{
"cron": "* * * ? * *",
"command": "msg @a Hello from Tasker!"
},
{
"cron": "0/10 0 0 ? * * *",
"command": "kick @r Test kick!"
}
]
}
Possible error sources
If the command contains double quotes, they need to be escaped using a backslash:
"command": "tellraw @a [\"\",{\"text\":\"Tellraw\",\"color\":\"dark_green\"},{\"text\":\" example\",\"color\":\"blue\"}]"
Do not mix up the different quote symbols:
Use: "
Do not use: “ ”
Write a comma between every element:
{
"timeZone": "Europe/Berlin",
"tasks": [
{
"cron": "* * * ? * *",
"command": "msg @a Hello from Tasker!"
},
{
"cron": "0/10 0 0 ? * * *",
"command": "kick @r Test kick!"
}
]
}
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta