> For the complete documentation index, see [llms.txt](https://lyokoapi.gitbook.io/lyokoapi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lyokoapi.gitbook.io/lyokoapi/docs/pluginloader/loading-plugins.md).

# Creating the loader

*Note: this is intended for application developers.*\
&#x20;To use the LyokoPluginLoader, \
&#x20;you need to add the LyokoPluginLoader.dll and LyokoAPI.dll to your project.

You can create the loader with:

```csharp
PluginLoader = new PluginLoader(string path);
```

Where the path is the folder where you expect users to place Plugins.

## How the loading works

The plugin .dll's placed in the plugin folder will be looped over, and if they extend [LyokoPlugin](/lyokoapi/docs/lyokoplugin/introduction.md), they will be loaded and enabled.

### LoggerPlugin

If a plugin is called is "LoggerPlugin", it'll be loaded before all others.

### Loading issues

If there's an issue loading or enabling the plugins, it'll be logged (assuming someone is listening)

## Methods

### DisableAll()

Calling this method will disable all plugins. *note: there's no guarantee that a plugin will actually be disabled.*<br>

### EnableAll()

Calling this method will enable all plugins. *note: there's no guarantee that a plugin will actually be enabled.* <br>

## Properties

Plugins - A List of Plugins that are known.\
&#x20;*Note: these can be both enabled and disabled.*
