🎭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: java.lang.NoClassDefFoundError. You need to restart the server, because the dependencies are installed on the first server load.

  • If you get the error net.dv8tion.jda.api.exceptions.InvalidTokenException, it is because the token you entered in discord.yml is incorrect.

Last updated