Skip to main content
Version: 2.3.0

Parameters

Requires API Version 1.1.0 or higher

The Parameters API provides access to resource pack parameters stored in the Luniris OS database. Parameters are accessible through a key-value table, and their values update automatically whenever a user modifies them.

Read-Only Mode

Resource packs can only read parameters and cannot modify them directly. Only the user can adjust these values through the resource pack settings.


Example​

-- The returned value is a string
local parameterValue = luniris.parameters["parameterKey"]