The plugin configuration file (.plugin extension) is used by both channel and application plugins.
The format of this file is as follows:
[Config]
Plugin= // Plugin script file. Must be in the same directory.
AppPluginId= // Application plugin ID. Must be unique within Awasu and contain only
// letters, digits and underscores.
AppPluginDisplayName= // Application plugin display name that the user will see.
AuthorName= // Plugin author's name (optional).
AuthorEmailAddress= // Plugin author's email address (optional).
PluginNotes= // User notes (optional).
Plugins can also define user-configurable parameters. Global plugin parameters apply to all channels being serviced by the plugin and are defined as follows:
[PluginParameterDefinition-1] Name= // Parameter name. Must be unique. Type= // Parameter type. Must be one of "int", "bool", "string", "double" or "file". DefaultValue= // Default value (optional). Description= // Description of the parameter (optional).
This information can be repeated for as many parameters as the plugin wishes to define, just keep incrementing the number in the section name.
Per-channel parameters are defined in a similar way. Each channel will get its own copy of these parameters, allowing the user to configure them independently of other channels:
[ChannelParameterDefinition-1] Name= // Parameter name. Must be unique. Type= // Parameter type. Must be one of "int", "bool", "string", "double" or "file". DefaultValue= // Default value (optional). Description= // Description of the parameter (optional).
There are several parameters that have special meaning for Awasu.