flux (lib) object
Object PACKAGE in lib/flux.lua
Core of the Flux package, included as a dependency by its package specification.
Sets the environment constants (IS_PRODUCTION, IS_DEVELOPMENT and IS_TEST), loads the
Pipeline, Plugin and Config libraries and defines what happens once the package and
all of its dependencies have been included: the schema is loaded and the FluxPackageLoaded
hook runs. On the server it also reads settings.yml, config.yml and database.yml from
the gamemode's config folder into the Settings and DatabaseSettings globals.
Summary
Methods
Methods
Called by the Package manager once the Flux package has been included. Reloads the dependencies when this is a code refresh (on a lite refresh only the flow and active_ui packages, whose shared files are needed either way), includes the schema and runs the FluxPackageLoaded hook.