Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use this to work around missing API features should end-users install your mod in to an earlier version of the game, although it's probably better to check the existence of constants, functions or globals before using them as defined in Changes by VersionChange log.

A proposal has been made for a release date or API date to be provided, as version alone is often not descriptive enough.

...

 Backport to earlier releases, and get more specific version information on all releases, using version.js.

Examples

Code Block
title
themeEclipseRDark
languagejavascript
Output game version to logslinenumberstrue
debugconsole("Game version: "+version);

...