⚙️Adding Configurations

Adding your own configurations to a plugin is pretty straightforward!

Configuration Class

Any class that can be serialized is a class that can be used for configurations.

For example:

MyPluginConfigurationClass.cs
public class MyPluginConfigurationClass
{
    public int MyConfigurableInt { get; set; } = 10; // 10 will be the default value
}
triangle-exclamation

Simple Plugin Configuration

If you only need a plugin with one configuration file and less customization, check out the following tutorial.

⚙️Simple Plugin Configurationchevron-right

Advanced Configurations

In case you need more flexibility or customization, the configuration system has you covered!

⚙️Advanced Configurationschevron-right

Last updated