Mod Options Example (Glow)

0 Downloads

Test mod for mod options. Nameplate Updated hook holds some explanation.

This mod provides a healthbar glow with changeable options.

The whole purpose of this mod is to show the usage of the mod/script options feature.

Here is some general information about this feature:

By clicking on the "Options" button, you can access the user settings, which are stored in the profile.

When updating the mod, these settings persist!

You can update the mod/script without losing your settings.

Clicking on the gear will bring up the "Options Editor" menu.

You will be able to add new options and change the default values, ranges, etc. there.

This part is saved and exported/import with the mod.

The values for the settings are stored in the modTable.config table.

All option values are adressed with the 'key' set for the option in the Option Editor menu, e.g.:

local color = modTable.config["glowColor"]