Settings
Settings allow data to persist across application runs. The Settings class facilitates saving, loading and modifying settings. For plugins, the Plugin class interfaces with Settings automatically under Plugin.settings
.
Types
Application (global) - settings associated with the application itself, such as user preferences or plugin behaviors
Project (local) - settings saved alongside a specific project, such as color schemes for the map, or data stored by plugins
Examples
Application
- Recently opened projects
- Default author name to place in map
- Path to WarCraft III folder
Project
- An array of hex colors used by the project author in the tooltips
- A URL to the project's homepage