跳到正文

Simple Discord Webhook Leave/Join Notification

作者:zdwolfe

Sends a message to a Discord Channel Webhook when a player leaves or joins the server (Bukkit/Spigot/Paper)

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This is a simple Bukkit/Spigot/Paper plugin that publishes a message to a Discord Channel via Webhooks whenever a player leaves or joins the server.

 

Example:

 

 

 

Configuration

Run your minecraft Spigot, Bukkit, or Paper server once with the PlayerNotificationPlugin jar installed in the “plugins” folder. After it runs for the first time it will create the directory structure:

 
plugins/
PlayerNotificationPlugin/
config.yml

 

Open up config.yml and edit, replacing WEBHOOK-URL-GOES-HERE with the webhook URL configured in Discord:

 

notifiers:
  -
    type: "webhook"
url: "WEBHOOK-URL-GOES-HERE"
leaveFormat: "%s left!"
joinFormat: "%s joined!"
 

常见问题

Simple Discord Webhook Leave/Join Notification 支持哪些 Minecraft 版本?

Simple Discord Webhook Leave/Join Notification 支持 Minecraft Java 版 1.16.4–1.16.5,共 2 个版本。下载时注意选择和你游戏版本一致的文件。

Simple Discord Webhook Leave/Join Notification 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 模组加载器,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

zdwolfe 的其他作品

查看全部 →