SkTimeEvents  - ✅ Run code every real hour, day, week, or month ! ✅ Easy config

Script SkTimeEvents - ✅ Run code every real hour, day, week, or month ! ✅ Easy config 1.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Skript Version
  1. 2.8
Supported Minecraft Versions
  1. 1.20
SK-TIME-EVENTS-06-04-2024.png

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.
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()
Author
Palgia
Downloads
107
Views
222
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Palgia

Latest updates

  1. Quick fix

    Fixed a stupid error showing in console. This skript will return an error on loading. Just...
  2. Fixed files

    Added config.yml (It was not in the .zip... sorry.)