AFK Safe Zone - 现已支持 1.7.X!
这个插件非常简单。管理员设置一个 AFK(挂机)重生点,当玩家输入 /afk 时,他们会被传送至该地点。你可以在配置文件中选择是否允许玩家在 AFK 状态下移动,以及许多其他选项。此插件唯一的权限节点是用于 /setafkspawn 的,你需要拥有 "afk.setafkspawn" 权限节点。命令如下。该插件相当直观易懂。
功能特性
- 在经过设定的时间后,或者在玩家输入 /afk 后,玩家将被传送至指定位置;如果未设置位置,则传送到世界出生点
- 完全兼容 Essentials 的 AFK 功能
- 能够在 AFK 状态下限制玩家移动(必须再次输入 /afk 才能退出 AFK 状态)
- 能够在 AFK 状态下禁止玩家受到伤害
- 能够在 AFK 状态下禁止玩家造成伤害
- 能够在 AFK 状态下禁止玩家建造
- 可配置的冷却时间,以限制使用命令进入 AFK 状态的频率
使用方法
- /setafkspawn 用于设置输入 /afk 时的传送位置。需要权限 "afk.setafkspawn"
- /afk 切换使用该命令玩家的 AFK 开启或关闭状态。需要权限 "afk.allow"
- /afk list 用于显示当前所有处于 AFK 状态的玩家
配置文件
AFK:
#允许玩家在 AFK 状态下受到伤害
allow-take-damage: false
#允许玩家在 AFK 状态下造成伤害
allow-deal-damage: false
#允许玩家在 AFK 状态下放置或移除方块
allow-build: false
#两次使用 /afk 命令进入 AFK 状态之间的间隔时间(秒)
cooldown-time: 60
#如果你使用了 Essentials,请勿使用这些设置,请使用 Essentials 的 config.yml
only-use-these-settings-if-you-dont-have-Essentials:
auto-afk: 180
allow-movement: false
#不要修改此行以下的任何内容
#此处用于保存之前 AFK 玩家的返回位置
Player-returns:

AFK Safe Zone - Now for 1.7.X!
This plugin is simple enough. A Moderator sets up an AFK spawn point, and when people type in /afk they are teleported to that point. You can choose whether or not the players will be able move once they go AFK and many other things in the config file. The only permission this uses is for the /setafkspawn and you must have the permission node "afk.setafkspawn". The commands are below. The plugin is pretty self explanatory.
Features
- After a set amount of time, or after the player types /afk, the player will be teleported to a designated location, or if no spot is set, the world's spawn
- Fully compatible with Essentials' afk feature
- Ability to restrict movement while afk (they must type /afk again to return from being afk)
- Ability to disable a player from taking damage while afk
- Ability to restrict a player from dealing damage while afk
- Ability to disable a player from building while afk
- Configurable cool-down period to restrict the use of going afk with a command
Usage
- /setafkspawn This is used to set the location of where to go when typing /afk. Requires permissions "afk.setafkspawn"
- /afk Toggles AFK on or off for the player who uses it. Requires permission "afk.allow"
- /afk list This is used to show who all is AFK at the moment
Config
AFK:
#allow players to take damage while afk
allow-take-damage: false
#allow players to deal damage while afk
allow-deal-damage: false
#allow players to place or remove blocks while afk
allow-build: false
#amount of time in seconds between being able to use /afk to go afk
cooldown-time: 60
#DO NOT USE THESE SETTINGS IF YOU USE ESSENTIALS, USE THE ESSENTIALS config.yml INSTEAD
only-use-these-settings-if-you-dont-have-Essentials:
auto-afk: 180
allow-movement: false
#Don't alter anything below this line
#It is here to save the previous location of AFK people
Player-returns:

评论 0
登录后参与评分
还没有评论,来抢沙发吧