Skip to main content
ug-core follows semantic versioning. Breaking changes to exports, config or database schema bump the major version.

Declare it in the manifest

The simplest way. Your resource does not start against an older ug-core:
fxmanifest.lua

Check it in code

Versions compare as numbers: 1.10.0 is newer than 1.9.9. Suffixes such as -beta.1 are ignored.

Newer major versions

When ug-core has a newer major version than you require, Require does not fail. It logs one warning, because the new major version may have broken something you use: