AFKController (AFK控制器-实现玩家AFK状态下执行命令)
功能:该插件允许在玩家处于AFK状态时执行任何命令。
配置:在config.yml中配置命令,并设置权限。可以创建权限并设定玩家或用户组的AFK权限。
用法:将Jar文件放入/plugins目录,配置config.yml,然后重启服务器。确保组/玩家有正确的AFK权限。
权限:权限可以在配置文件中创建,使用afk.admin权限可以绕过AFK检测。
语法:
/afk reload (afk.reload) - 重新加载配置文件
特点:
- Detects all forms of AFKing (Water pools, Pistons, etc) - 检测所有形式的AFK(水池,活塞等)
- Very Lightweight - 非常轻量级
- Configurable Permissions + Commands - 可配置权限和命令
配置文件:
#Commands that are executed when a player is kicked for AFK
#Replace %PLAYER% with the players name
#Replace %TIME% with the time in minutes, the player has been afk for
KickCommands:
- 'kick %PLAYER% you have been kicked for being AFK for %TIME% Minutes!'
- 'broadcast %PLAYER% has just been kicked for AFK!'
#List permissions from highest to lowest, in the format afk.value.
#The player will be checked and depending on what permission they have will depend on the amount of minutes
#they are allowed to be AFK for
#IE A group, or player that has the permission 'afk.value.5' will be classed as AFK after 5 minutes.
Permissions:
- 'afk.value.5'
- 'afk.value.2'
欢迎加入我们的官方Spigot服务器!一个具有分析功能的新服务器列表。
收录