- Supported Skript Version
- 2.8
- Supported Minecraft Versions
- 1.20
This Skript allows configuring events that activate at predefined times and days
Addons needed: SkBee, Skript-reflect, Skript-yaml
The .zip contains a folder to put in the plugins folder and another in the scripts folder. The configuration file contains a bunch of examples! Now it's your turn to play.
Addons needed: SkBee, Skript-reflect, Skript-yaml
The .zip contains a folder to put in the plugins folder and another in the scripts folder. The configuration file contains a bunch of examples! Now it's your turn to play.
YAML:
#
#Allows to run skript code at certain time
#
#Define the zone. It usually follows the pattern 'state/city'
#You can see all zones here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
zone: "America/New_York"
events:
test:
day: SATURDAY
hour: 16
minutes: 0
parse:
- broadcast "It's 16:00 PM!"
test2:
#You can set 'ANY' to trigger the code every day
day: ANY
hour: 15
minutes: 30
parse:
- broadcast "It's time for the daily event!"
test3:
#You can define a day of the month. For example, this event will trigger the 10th every month.
day: 10
hour: 10
minutes: 0
parse:
- broadcast "Its 10th!"
- coolfunction()