
一款适用于所有人的简单闲置(AFK)插件

- 简单的用户交互
只需一条命令即可切换闲置状态,并配有清晰明了的默认消息,告知其他玩家当前是否处于闲置状态。
- 完全自定义
您可以自定义所有设置,从自动判定玩家为闲置的时间阈值,到在玩家闲置过久时执行的命令。此外,还提供了一个 messages.yml 文件,允许您自定义发送给玩家的消息,以便进行翻译或使消息颜色与您的服务器配色方案相匹配。
- 便捷的管理员命令
管理员命令 /afkplus 可显示当前在线玩家的闲置信息,其中包括易于阅读的时间提示,例如“Dart2112 已闲置 1 分 30 秒”。管理员还可以使用 /afk (玩家名称) 命令将其他玩家设置为闲置状态。
- LuckPerms 上下文集成
AFKPlus 会自动更新 LuckPerms 中的一个上下文,从而允许您根据玩家当前的闲置状态来调整其权限。该上下文名为 "afkstate",其值为 "true" 或 "false"(当玩家处于闲置状态时为 true,否则为 false)。

/AFK:
/AFK 用于切换您自己的闲置状态
/AFK (玩家) 用于切换指定玩家的闲置状态
/AFKPlus:
/AFKPlus 显示插件信息及命令帮助
/AFKPlus player (玩家) 会告知您该玩家是否处于闲置状态,如果是,还会告知其闲置了多久

配置文件中的各项设置均附有注释以帮助您使用。如果您有任何不理解的地方,可以提交 Issue 向我或其他 AFK+ 用户寻求帮助。

本插件使用的权限系统是 LapisCore Permissions 系统。您可以在下方的 Wiki 中查找有关如何设置和使用它的详细信息:

插件会自动检查更新,并在有新版本可用时通知您。您可以使用 /afkplus update 来安装更新,或者启用自动下载更新功能,这样插件会在有新版本发布时自动下载并安装。

请查看这些页面的 Releases 标签页以获取编译好的版本,或使用 Maven/Gradle 自行构建。
这些组件的安装方式与其他插件相同,它们随后会挂钩至 AFKPlus API。只需将 jar 文件放入服务器的 /plugins 目录即可。
此插件会在玩家处于闲置状态时在 Tab 列表和头顶上方添加前缀。 此附加组件还允许禁用与闲置玩家的碰撞效果,防止玩家因碰撞而脱离闲置状态。
此插件增加了随机消息对的功能,用于闲置开始和结束时的提示。这可以为您的闲置消息增添一些趣味,避免每次都是枯燥重复的相同消息。
此插件增加了禁止或控制玩家在因闲置被踢出后快速重新连接的能力。
此插件会将闲置开始和结束消息发送到 BungeeCord 网络中所有同时安装了本插件和核心 AFKPlus 插件的服务端。
此插件增加了对 Placeholder API 的支持。 它提供的占位符有 "AFKPlus_Status" 和 "AFKPlus_AFKTime" 。
AFKPlusActions: 开发中 此插件将允许针对不同权限组执行不同的操作。

本插件可以收集关于使用该插件的玩家数量、服务器数量及其规格的数据。您可以在以下链接中查看完整的指标记录列表。

源代码位于

A simple AFK plugin for everyone

- Simple User Interaction
One command to toggle AFK and nice clear default messages to tell everyone when a player is AFK or not
- Complete Customization
You can customize everything from the time until someone is automatically set AFK to the commands issued when players are AFK for too long. There is also a messages.yml file so that you can customize the messages sent to players for translations or just to make the messages match your colour scheme
- Easy Admin Command
The admin /afkplus command gives you information about players who are currently online, this information includes human readable time messages like “Dart2112 has been AFK for 1 minute and 30 seconds”. Admins also can set other players as AFK with the /afk (player name) command
- LuckPerms Context Intergration
AFKPlus automatically updates a context in LuckPerms so that you can change which permissions players have based on their current AFK state. This context is called "afkstate" and its values are "true" or "false" (true when the player is AFK and otherwise false)

/AFK:
/AFK will toggle your AFK status
/AFK (player) will toggle the AFK status of another player
/AFKPlus:
/AFKPlus will show plugin info and command help
/AFKPlus player (player) will tell you if that player is AFK and if they are it will tell you how long ago they became AFK

There are comments on the settings in the configurations to help you use it. if there is something you don't understand you can open an issue to ask for help from me or the other AFK+ uses

The permissions system in this plugin is the LapisCore Permissions system. You can find info on how to set up and use it at the wiki below

The plugin will automatically check for updates and notify you when one is available. You can use /afkplus update to install an update or you can enable update downloading, this means that the plugin will automatically download and install updates when they come out.

Check the releases tabs on these pages for compiled versions or build it yourself with Maven/Gradle. These are installed like any other plugin, they then hook into the AFKPlus API. Simply place the jar in your servers /plugins directory.
This plugin sets tab and above head prefixes when a player is AFK This addon also allows you to disable collisions with AFK players meaning that players cannot bump each other out of AFK
This plugin adds the ability to have random message pairs for AFK start and stop messages. This can add a little charm to your AFK messages as well as stopping them from being the same old boring message each time
This plugin adds the ability to disallow or control players reconnecting quickly after being kicked for AFK
This plugin sends AFK start and stop messages to all servers on a bungee network that have both this plugin and the core AFKPlus plugin
This plugin adds Placeholder API support The placeholders it provides are "AFKPlus_Status" & "AFKPlus_AFKTime"
AFKPlusActions: In development This plugin will allow different actions for different permission groups

This plugin can collect data about how many players and servers are using it and what specifications they have. You can see the full list of metrics recorded at the link below.

The source code can be found at
下载 AFKPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AFKPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AFKPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AFKPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AFKPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AFKPlus
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复了尝试恢复会话时出现的 NPE(空指针异常)。 感谢 officialtaxz2 在 GitHub 上报告此问题。修复了 Issue #99
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧