## 使用方法
输入 /afk,服务器将广播“player_name 现在 AFK”的消息。 如果你移动,再次输入此命令,或在聊天中输入任何内容,服务器将广播相反的消息“player_name 不再 AFK”。 如果玩家处于 AFK 状态,他的名字将在玩家列表中显示为灰色。
如果你想使用 Afk 时间,你必须添加 {TIME} 键。
例如:noAfk: '{DISPLAYNAME} 在 {TIME} 后回来!'
## 配置文件
```
# 事件: 默认值: true
# 颜色: 默认值: 灰色 [黑色, 深蓝色, 深绿色, 深水蓝, 深红色, 深紫色, 金色, 灰色, 深灰色, 蓝色, 绿色, 水蓝色, 红色, 淡紫色, 黄色, 白色]
# 闲置计时器: 默认值: true, 60 秒
# 消息: 默认值: true (键:{DISPLAYNAME}, {TIME})
Events:
move: true
chat: true
Colors:
message: gray
player: gray
IdleTimer:
enabled: true
period: 60
Messages:
enabled: true
nicknames: false
+afk: "{DISPLAYNAME} is now AFK"
-afk: "{DISPLAYNAME} is no longer AFK"
```
TODO
- 改进权限
- 更多
- 在最新版本上测试。