MCStatusHook icon

MCStatusHook -----

A simple and lightweight plugin to send server status messages to Discord as webhooks.



MCStatusHook
MCStatusHook is a simple and lightweight plugin with no extra unnecessary features that was made originally for a private (locally hosted) server of mine to notify my friends on Discord when the server went offline or went online, saving me the hassle of having to notify them manually.

It is compatible with Spigot/Paper 1.18 to 1.21.

Why?
This plugin is primarily aimed at those who don't want a fancy Discord integration, and purely just a lightweight plugin that consumes limited resources that only posts online and offline messages through a webhook. Specifically, this may better suit those locally hosting servers or running private whitelisted servers running on limited resources. The server online and offline messages are completely customisable.

If you want more features than a simple the server is online or offline message, use DiscordSRV as it is an extremely well-created and customisable plugin.

Setup
  1. Download the plugin's .jar file, and place it in your server's plugin folder.
  2. Start (or restart) your server - you shouldn't be using the /reload command on your server if you are in the first place.
  3. On the Discord channel you want to send online and offline messages to, head to "Edit Channel".
  4. Once in the Edit Channel overview, navigate to the "Integrations" tab on the left.
  5. Press the Webhooks box and then press on the "New Webhook" button.
  6. Customise the webhook name and profile picture to your choosing - this will be the profile picture and name of the webhook's message.
  7. Press "Copy Webhook URL".
  8. Navigate to your minecraft server's plugin folder, then enter the MCStatusHook folder.
  9. Open the config.yml file in Notepad (or your preferred text editor).
  10. Paste the webhook URL in place of the existing url next to the webhook_url config setting.
  11. Customise the online_msg and offline_msg values to your liking, you can set any message and the webhook will send it!
  12. Restart your server and voila!
Setup Video Example


Webhook Example Images
[​IMG]
[​IMG]
Resource Information
Author:
----------
Total Downloads: 59
First Release: Mar 27, 2022
Last Update: Jan 17, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings