Set up the Redirect URI: Set the redirect URI to your server on the 42 intranet application settings. By default, the redirect URI is `http://localhost:8080/oauth2/callback`, I recommend using a reverse proxy and domain name to redirect to your server.
Download the Plugin: Download the latest release from the github repository.
Install the Plugin: Place the downloaded `.jar` file in the `plugins` folder of your Spigot server.
Start the Server: Start your server and wait for the plugin to load.
Configure the Plugin: Open the `config.yml` file in the `42AuthCraft` folder and set your client ID and client secret.
Reload the Server: Reload the server to apply the changes.
Play: Join the server and use the `/login` command to authenticate.