TimeLib

TimeLib

Data pack

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

Server LibraryUtility

2,799 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.3.0

Changelog

IMPORTANT NOTICE

Despite being declared as Lantern Load compatible, that had not been the case in older releases. From now on, you can use the Lantern Load conventions to check whether TimeLib is installed and what version. Details in the changelog below.

Additions:

  • Added Lantern Load compatibility
    • If you follow the conventions, you can check whether TimeLib is installed (#TimeLib load.status is 1) and what version (Check #TimeLib.Version load.status)
    • You can also specifically check if multiple incompatible versions of TimeLib are installed at the same time (#TimeLib.VersionError load.status is 1)
    • The #TimeLib.Version load.status version is now 1
  • TimeLib now stops functioning and throws errors if multiple incompatible versions are installed simultaneously
    • This extends to the utility functions, which will fail
  • TimeLib now stops functioning and throws errors upon executing utility functions if it has been uninstalled by running the timelib:uninstall function

(!) The version compatibility checks are not compatible with releases 2.2.0 and earlier.

(!) To counteract potential problems with datapacks trying to access TimeLib while it's uninstalled (before upgrading to a newer release), future releases of TimeLib will provide an "upgrade" feature that automatically detects what version was installed prior. Because this depends on the newly implemented version feature, it will only work with releases 2.3.0 and newer.

Files

TimeLib.zip(37.52 KiB) Primary Download

Project members

SilicatYT

Owner

Details

Licensed MIT
Published 2 years ago
Updated 3 months ago