# Plugin setup

After having created the bot, installed the dependencies it is time to load the plugin.

## 1.- Put the jar in the plugins folder

Put the .jar in the plugins folder and start the server.

### 1.1.- Errors

* When starting the server, you probably noticed an error: <mark style="color:red;">java.lang.NoClassDefFoundError</mark>. You need to restart the server, because the dependencies are installed on the first server load.\

* If you get the error <mark style="color:red;">net.dv8tion.jda.api.exceptions.InvalidTokenException</mark>, it is because the token you entered in discord.yml is incorrect.

