关于插件
这是 LU7 Creative Minecraft 服务器所使用的自定义插件的公开版本,已稍作适配以供公众使用。我创建此插件的目的是在 Minecraft 服务器发生特定事件时,通过 ntfy 接收通知。我认为其他玩家可能会觉得这个插件有用,因此发布了开源版本。
功能
- 服务器启动通知
- 服务器停止通知
- 玩家加入通知
- 玩家离开通知
- 可用更新通知
- 玩家通知权限绕过
- 在 config.yml 中配置通知偏好
- 重载命令
- 通知测试命令
- 自动更新检查器
快速上手
要在你的 Minecraft 服务器上安装 LU7 Creative,请下载最新版本并将包含的 JAR 文件上传至服务器的 plugins 文件夹。启动服务器后,进入 lu7creative 文件夹,编辑默认的 config.yml,填入你的 ntfy 服务器地址和令牌信息,并根据需要调整其他设置。重启整个服务器或运行 /lu7creativereload 命令即可生效。要测试是否一切正常,你可以使用 /lu7creativetest <message> 命令。你应该能在你的 ntfy 实例中看到一条测试通知。拥有权限 lu7creative.presencebypasss 且值为 true 的玩家将不会收到加入或离开通知。
前置要求
- 一个运行 Paper/Spigot/Bukkit 的 Minecraft Java 服务器,支持 Minecraft 1.20 至 1.21 版本。推荐使用最新版本。该插件可能兼容其他版本,但未经过测试。
- 一个你有权使用的 ntfy 服务器。
About the plugin
This is a public version of the custom plugin used on the LU7 Creative Minecraft server. It has been adapted slightly for public use. I created this plugin as a way for me to get notifications through ntfy whenever certain things happened on my Minecraft server. I thought others might find this plugin helpful, so I published an open-source version.
Features
- Server Start Notifications
- Server Stop Notifications
- Player Join Notifications
- Player Leave Notifications
- Update Available Notifications
- Player notification bypass permission
- Configure notification preferences in config.yml
- Reload command
- Notification test command
- Automatic update checker
Getting Started
To install LU7 Creative on your Minecraft server, download the latest release and upload the included JAR file to your Minecraft server plugins folder. Once you've started your server, head to the lu7creative folder and, edit the default config.yml to include your ntfy server and token details, alter the other settings according to your liking. Either restart your entire server or run the /lu7creativereload command. To test that everything is working as intended, you can use the /lu7creativetest <message> command. You should see a test notification appearing in your ntfy instance. You will not receive join or leave notifications for players with the permission lu7creative.presencebypasss set to true.
Prerequisites
- A Minecraft Java server running either Paper/Spigot/Bukkit Minecraft versions 1.20 from 1.21. We recommend the latest version. The plugin MAY work with other versions; however, this has not been tested.
- An ntfy server that you have permission to use.
评论 0
登录后参与评分
还没有评论,来抢沙发吧