Skip to content

A lightweight and simple plugin that sends a message regarding a server's status to Discord via webhook.

License

Notifications You must be signed in to change notification settings

carolinaisslaying/MCStatusHook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCStatusHook

MCStatusHook is a lightweight and simple plugin that sends a message regarding a server's status to Discord via webhook.

GNU General Public License v3.0 Build Join us on Discord

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!
2022-03-25.22-35-29.mp4

Image Examples

These are the example messages from the video setup.

image image

About

A lightweight and simple plugin that sends a message regarding a server's status to Discord via webhook.

Resources

License

Stars

Watchers

Forks

Languages