MCStatusHook 图标

MCStatusHook

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mcstatushook
资源信息

Minecraft 版本: 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper spigot

标签: social utility

资源介绍

MCStatusHook

Available on Modrinth
See me on GitHub
Chat on Discord

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

  • 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 the MCStatusHook 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 and offline_msg values to your liking, you can set any message and the webhook will send it!
  • Restart your server and voila!

Setup Video Example

https://vimeo.com/692728124

Webhook Example Images

https://user-images.githubusercontent.com/38713645/160095410-66acdcb4-22e7-4e54-a713-35bed00774fc.png

https://user-images.githubusercontent.com/38713645/160095497-5d7b1d95-54d9-4cf8-b213-1b2ec64d33ed.png

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sword_Vip

价格:0 墨喵币
下载量:0

查看详情
Hellay's Overhualed Endermans

价格:0 墨喵币
下载量:0

查看详情
Spyglass Zoom (Updated)

价格:0 墨喵币
下载量:0

查看详情
Mythic Mounts

价格:0 墨喵币
下载量:0

查看详情