一个 Paper MC 插件,防止玩家处于闲置(AFK)状态时被锁定目标或受到伤害。 拥有可配置的计时器、消息、前缀和后缀!
需要 LuckPerms 来使用后缀/前缀。消息兼容 PlaceholderAPI。
命令:
/afk - afkprotection.command.afk
/afkprot reload - afkprotection.command.reload
默认配置:
# AFK Protection configuration
# Timer - # of seconds before a player is considered AFK
# Delay - # of seconds before /afk activates, anti-cheese
afk:
timer: 300
delay: 5
# Use %player% for display name, PlaceholderAPI optionally supported
# %delay% will only be parsed in messages.pending
messages:
broadcast: true
+afk: "&e%player% has gone afk"
-afk: "&e%player% has returned"
pending: "&7AFK in %delay% seconds..."
canceled: "&4AFK canceled, you moved!"
notaplayer: "&4Only players can be AFK!"
# Below option requires PlaceholderAPI
# %afkprot_status% - returns true or false, useful for things like the TAB plugin's conditions.
# %afkprot_tag% - returns tag if afk, recommended to use this over luckperms options
papi:
status_true: "true"
status_false: "false"
tag: "&7[AFK]"
# Below options require LuckPerms
prefix:
enabled: false
value: "&7[AFK]"
weight: 1
suffix:
enabled: false
value: "?"
weight: 1
你是这个资源的作者?登录后可认领此资源。
相似资源
自定义你的Minecraft头像!
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
使床在所有维度中爆炸的模组
为 Armor Poser 模组添加兼容性
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧