MCStatusHook is a lightweight and simple plugin that sends a message regarding a server's status to Discord via webhook.
It is compatible with Spigot/Paper 1.18 to 1.21.
- Download the plugin's .jar file, and place it in your server's
pluginfolder. - Start (or restart) your server - you shouldn't be using the
/reloadcommand on your server if you are in the first place. - On the Discord channel you want to send online and offline messages to, head to "Edit Channel".
- Once in the Edit Channel overview, navigate to the "Integrations" tab on the left.
- Press the Webhooks box and then press on the "New Webhook" button.
- Customise the webhook name and profile picture to your choosing - this will be the profile picture and name of the webhook's message.
- Press "Copy Webhook URL".
- Navigate to your minecraft server's
pluginfolder, then enter theMCStatusHookfolder. - Open the
config.ymlfile in Notepad (or your preferred text editor). - Paste the webhook URL in place of the existing url next to the
webhook_urlconfig setting. - Customise the
online_msgandoffline_msgvalues to your liking, you can set any message and the webhook will send it! - Restart your server and voila!
2022-03-25.22-35-29.mp4
These are the example messages from the video setup.

