EasyTimeSync - Sync your minecraft time with reallife! icon

EasyTimeSync - Sync your minecraft time with reallife! -----

Small script that will sync your minecraft time with the reallife time.




New Features:
  • Permission Management: It's now possible to enable and disable permission-use in the config. So there is no need for a permission plugin anymore.
  • Clean-UP: The options were renamed in order to have a cleaner look.
  • 1.20-Update: The script was tested on 1.20.1 and ran properly.
Updated config section:

Code (Text):
options:
    sync-interval: 2                                                                                 # Edit here, in which interval the realtime should be synced. (in seconds)                                  
    worlds: "WriteYourFirstWorldhere" and "AddAnotherWorld"                                            # Edit here, in which worlds the time should get synced.

    timezone: 0                                                                                        # 0 = The Skript will use the time zone, in which the server is located. Use 1, 2, 3, ... etc. for a manipulated timezone.
                                                                                                    # For Example: 3 ... Host is located in a timezone, where it is 17 p.m. The time on the MC-Server will be 20 p.m. DO NOT USE NEGATIVE NUMBERS!
   
    backwards: false                                                                                # false = The time gets manipulated forwards || true = The time gets manipulated backwards
                                                                                                    # For example: backwards = true; timezone = 1 ... The Host is located in a timezone, where it is 17p.m. The time on the MC-Server will be 16 p.m.

    clock_message: "&7You are looking at your &aclock&7... It is&8: &7%{hour}%&7:%{minutes}%&8."    # Edit the /clock Message here.
    date_message: "&aDate: &7%{weekday}%&8, &7%{day}%&7.%{month}%&7.%{year}%"                        # Edit the /date Message here.

    nopermission_message: "&8[&4&l!&8] &7You don't have permission to use this command."            # Edit the No-Permission Message here.

    use_permissions: true                                                                             # Define if permissions should be activated or not
    clock_permission: easytimesync.command.clock                                                    # Edit the /clock Permission here.
    date_permission: easytimesync.command.date                                                        # Edit the /date Permission here.
----------, Jul 22, 2023

New Features:
  • Permission Management: It's now possible to enable and disable permission-use in the config. So there is no need for a permission plugin anymore.
  • Clean-UP: We renamed the "backwards"-feature to "offset"-feature in order to make it more clear what the feature is up to.
  • 1.20-Update: The script was tested on 1.20.1 and ran properly.
Updated config:
Code (Text):
options:
    sync-interval: 2                                                                                 # Edit here, in which interval the realtime should be synced. (in seconds)                                  
    worlds: "WriteYourFirstWorldhere" and "AddAnotherWorld"                                            # Edit here, in which worlds the time should get synced.

    timezone: 0                                                                                        # 0 = The Skript will use the time zone, in which the server is located. Use 1, 2, 3, ... etc. for a manipulated timezone.
                                                                                                    # For Example: 3 ... Host is located in a timezone, where it is 17 p.m. The time on the MC-Server will be 20 p.m. DO NOT USE NEGATIVE NUMBERS!
   
    offset: false                                                                                # false = The time gets offset forwards || true = The time will be offset
                                                                                                    # For example: offset = true; timezone = 1 ... The Host is located in a timezone, where it is 17p.m. The time on the MC-Server will be 16 p.m.

    clock_message: "&7You are looking at your &aclock&7... It is&8: &7%{hour}%&7:%{minutes}%&8."        # Edit the /clock Message here.
    date_message: "&aDate: &7%{weekday}%&8, &7%{day}%&7.%{month}%&7.%{year}%"                        # Edit the /date Message here.

    nopermission_message: "&8[&4&l!&8] &7You don't have permission to use this command."                    # Edit the No-Permission Message here.

    use_permissions: true                                                                             # Define if permissions should be activated or not
    clock_permission: easytimesync.command.clock                                                        # Edit the /clock Permission here.
    date_permission: easytimesync.command.date        
----------, Jul 22, 2023

Code (Text):
backwards: false

false = The time gets manipulated forwards || true = The time gets manipulated backwards
For example: "backwards" = true; timezone = 1 ... The Host is located in a timezone, where it is 17p.m. The time on the MC-Server will be 16 p.m.
----------, Dec 8, 2022

With the new update it is possible to manipulate timezones. As you might know, skript is using the timezone, in which country the server is located in, for synchronisation. That's really annoying, if your serverhost is located in another country but you want the timezone of your home. With the new manipulated timezone feature, you can easily edit the timezone.

[+] New option:
Code (Text):
timezone: 0
0 = The Skript will use the time zone, in which the server is located.
1 = The Skript will use the time zone, in which the server is located + 1 hour.

For Example: 3 ... Server is located in a timezone, where is it 17 p.m. The time on the Server will be 20 p.m. DO NOT USE NEGATIVE NUMBERS!
----------, Jul 23, 2022

- Fixed that the sun and the moon are flickering due to the "doDaylightCycle" flag.

Code (Text):
On load:
    syncRealtime()
    set the gamerule doDaylightCycle of world {@worlds} to false
----------, May 19, 2021

Resource Information
Author:
----------
Total Downloads: 1,037
First Release: May 19, 2021
Last Update: Jul 22, 2023
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings