TimeLib

TimeLib

Data pack

Get the real life date & time tick-perfectly and efficiently!

Server LibraryUtility

2,795 downloads
26 followers
Follow Save
TimeLib has been archived. TimeLib will not receive any further updates unless the author decides to unarchive the project.

TimeLib v2.0.0

Changelog

âš  COMPLETE REWRITE

This version is not compatible with previous ones. Make sure you uninstall the previous version.

Changes:

  • TimeLib now natively supports lag, different tick rates & pausing due to refreshing the time every tick
    • The RealtimeTracking and SavingsTimeChecks settings have been removed
  • Added a timelib:daytime data storage containing stringified versions (with leading 0s) of the daytime
  • Added event tags for #timelib:date_changed and #timelib:daytime_changed which get called whenever the date or daytime changes respectively
    • The #timelib:time_updated event tag has been removed
    • They do not get called on datapack reloads
  • The get_date utility has been renamed to unix_timestamp_to_date
    • It now fails if the input is invalid
    • The unix timestamp is now correctly in the UTC timezone
  • Rewrote the setting descriptions
  • Removed the compatibility issue with the Constant scoreboard objective
  • Moved the forceloaded blocks outside the world border to prevent survival interference
  • Various optimizations and improvements

Bugfixes:

  • Fixed 1.21.5 not working properly (TimeLib v1.3.0)
  • Fixed a short time desync on first join
  • Fixed TimeLib giving the wrong time on first load

Files

TimeLib.zip(28.48 KiB) Primary Download

Project members

SilicatYT

Owner

Details

Licensed MIT
Published 2 years ago
Updated 3 months ago