SameSettings

Settings for the Same plugin. These are automatically read from and written to disk by other parts of the program as long as it is annotated @Settings.

Use it to store smaller persistent settings for the plugin. For larger things, consider using something like JSON files.

version(WithSamePlugin)
private
@Settings
struct SameSettings {}

Members

Variables

enabled
bool enabled;

Whether or not the Same plugin should react to events at all.

someOtherSetting
int someOtherSetting;

Another example setting.

someSetting
string someSetting;

Example setting.