"EasyTimeSync" is a small script that will sync your Minecraft time with real-life time. It includes couple of options as few variables you can work with in your own scripts.
- Skript (Tested on Version 2.5.3, 2.6.4 and 2.7.0-beta3)
- Download the script by clicking the download button!
- Open your Server-FTP!
- Put the script inside the Scripts-Folder located at /plugins/Skript/scripts/!
- Open the script and set the worlds that should be synced in the options!
- Restart your server or reload the script!
- Realtime-Sync including minutes, hours, and date
- Custom Permissions
- 100% configurable
- Enable Time-Sync per world
- Manipulated Timezones
- ...
Options:
Code (Text):
options:
sync-interval: 2 # Edit here, in which interval the realtime should be synced. (in seconds)
worlds: "world" 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: false # 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.
Variables you can work with:
Code (Text):
# {day} | Number from 01 to 31
# {month} | Number from 01 to 12
# {year} | Year (e.g. 2021)
# {weekday} | Monday, Tuesday, ...
# {hour} | Number with following syntax: 00 - 23
# {minutes} | Number with following syntax: 01 - 59
Do you need any help configuring the script? Do you want to suggest new features? Join our Discord!
https://discord.gg/4MGczaBFAA