MCStatusHook is a lightweight and simple plugin that sends a message regarding a server's status to Discord via webhook.
- Download the plugin's .jar file, and place it in your server's
plugin
folder. - Start (or restart) your server - you shouldn't be using the
/reload
command 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
plugin
folder, then enter theMCStatusHook
folder. - Open the
config.yml
file in Notepad (or your preferred text editor). - Paste the webhook URL in place of the existing url next to the
webhook_url
config setting. - Customise the
online_msg
andoffline_msg
values 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.