Minecraft-Console-Client/MinecraftClient/config/sample-tasks.ini
2022-09-26 00:30:08 +02:00

52 lines
1.2 KiB
INI

# Minecraft Console Client
# ScriptScheduler Tasks
# Example config file
# Structure of a task: [Task] Followed by triggers and other settings.
# The example below contains all the possible fields for a task
# Time is HH:mm format, several different hours can be provided
# Action command can be "script" or any other internal command
[Task]
triggerOnFirstLogin=false
triggerOnLogin=false
triggerOnTime=true
triggerOnInterval=false
timeValue=19:30
timeValue=08:10
timeInterval=0
action=script event.txt
# Another minimal example: some properties may be omitted
# This is highly recommended for improving task readability
[Task]
triggerOnFirstLogin=true
action=script startup.txt
# Intervals can be random
# To define a random interval between 2 numbers, use <numer>-<number>, example: 1-100
[Task]
triggerOnInterval=true
timeInterval=1-15
action=send I am triggered!
# Of course, the tasks file can contain as much tasks as you want.
# Another example triggered on logging in and every night at midnight:
[Task]
triggerOnLogin=true
triggerOnTime=true
timeValue=00:00
action=log It's midnight!
# Example of task occuring every 30 seconds
# Could be used for jumping as antiAFK method
[Task]
triggerOnInterval=true
timeInterval=30
action=move up
# Enjoy!
# - ORelio