BetterAFK
一款适用于 Paper、Purpur 和 Folia 26.x 的时尚 AFK(挂机)插件,支持在挂机玩家头顶显示全息图、自动挂机、挂机踢出等功能。玩家可自定义自己的 AFK 设置,挂机玩家不会阻碍他人睡觉,且所有功能均可关闭。完全可定制,支持 9 种语言。请查看画廊。
预览

功能
/afk 手动进入挂机状态,或在设定的时间后自动挂机
- 全息图显示在挂机玩家头顶(包含挂机时长)及旋转符号——如果要在名字上方显示头衔,全息图起始位置可向上偏移一行
- 标签页前缀:为挂机玩家添加前缀
- 踢出:在设定时间内处于挂机状态将被踢出——可为你的团队提供绕过权限,踢出前在操作栏显示倒计时,并可选配置仅在服务器满员时执行踢出
- 睡觉: 挂机玩家不计入睡眠计数——当其他所有人都入睡时,夜晚将直接跳过
- 每位玩家拥有独立设置(已保存,重启后保留):自定义自动挂机时间、隐藏他人的挂机消息、选择自己是否会被踢出
/afk list - 查看谁在挂机以及挂机的时间
- 无敌: 挂机玩家在延迟后获得无敌状态
- 移动即可退出挂机 - 只需再次移动,无需输入
/afk
- 位置锁定(可选): 挂机玩家不会被其他玩家、生物或水流推开——配合
walk_to_leave 选项,有意的步伐(W、A、S、D 或跳跃)仍可结束挂机状态
- 隐身支持: 对隐身玩家不发送消息或显示全息图
- 可选权限控制是否能进入挂机状态
- PlaceholderAPI 支持(见下文)
- Folia 支持 - 单个 jar 文件兼容 Paper、Purpur 和 Folia
- MiniMessage 格式支持全场景(聊天、操作栏、全息图、标签页):渐变、十六进制颜色——经典的
& 代码依然有效
- 内置英语、德语、法语、西班牙语、波兰语、俄语、葡萄牙语、土耳其语和中文,可通过单个文件添加你自己的语言
- 轻量级: 使用显示实体而非盔甲架,全息图仅在玩家移动时更新,不向世界保存任何数据(崩溃后不会留下残留全息图)
- 可选的从 Modrinth 自动更新(默认关闭)- 新的配置选项会自动添加,你的原有值保持不变
命令与权限
/afk - 切换挂机模式
/afk list - 查看所有挂机玩家及其挂机时长
/afk timer <seconds> / reset / off - 设置你个人的自动挂机时间
/afk notifications on|off - 显示或隐藏关于其他玩家挂机的消息
/afk kick on|off - 选择当挂机时间过长时你是否会被踢出(如果服务器允许的话)
/betterafk reload - 重载配置文件和消息
所有命令均可在 config.yml 中禁用——被禁用的命令不会出现在 Tab 补全列表中。
| 权限 |
默认值 |
说明 |
betterafk.use |
OP |
进入挂机状态 - 仅在 afk.require_permission: true 时检查 |
betterafk.kick.bypass |
无 |
永远不因挂机而被踢出 (kick.bypass_permission) |
betterafk.reload |
OP |
/betterafk reload |
PlaceholderAPI 占位符
如果其他插件修改了标签页列表或记分板,这些占位符非常有用——AFK 数据也可以在那里显示。需要 PlaceholderAPI。
%betterafk_afk_status% - 如果玩家处于挂机状态,显示挂机标签前缀
%betterafk_invulnerability_status% - 如果玩家处于无敌状态,显示无敌文本
%betterafk_afk_query% - true 或 false
%betterafk_afk_minutes% - 玩家挂机的分钟数(如果未挂机则为空)
PlaceholderAPI 占位符也可用于 BetterAFK 的所有消息中。
基岩版玩家 (Geyser)
所有功能均适用于基岩版玩家:/afk、自动挂机、全息图、踢出倒计时以及通过移动退出挂机(也支持 walk_to_leave)。基岩版无法在全息图(显示实体)上方显示符号——启用 bedrock.enabled(默认值)后,基岩版玩家会在一个不可见的盔甲架上看到该符号,其中时钟替代了屏障方块。Java 版玩家不会察觉任何差异。
要求
- Paper、Purpur 或 Folia 26.1 - 26.3
- Java 25
- 可选:PlaceholderAPI
- 可选:Geyser / Floodgate - 支持基岩版玩家
Bug 报告与支持
如果你需要帮助或发现了 Bug,请通过 Discord 联系我(添加好友 hassanbwo)。我将保证快速提供帮助——感谢你的支持 :)
config.yml
所有时间单位均为秒。
# ==========================================
# BetterAFK – config.yml
# ==========================================
# 在这里可以根据你的喜好自定义所有时间和设置。
# 所有消息位于 messages_en.yml / messages_de.yml 中(支持 MiniMessage 格式如 <red> 或 <gradient:...> 以及 & 颜色代码)
# 时间以秒为单位测量(例如 5 分钟 = 300 秒)
# 更多详情请查看插件页面:
# https://modrinth.com/plugin/betterafk
# ==========================================
# 如果你需要帮助或发现了 Bug,请通过 Discord 联系我(添加好友 hassanbwo)。
# 我将保证快速提供帮助——感谢你的支持 :)
# ==========================================
# 在这里你可以更改玩家自动进入挂机状态的时间(以及是否应该自动进入)
# 同时可以设置玩家是否需要权限 ("betterafk.use") 才能进入挂机状态
afk:
auto_timeout_enabled: true
timeout: 180
require_permission: false
# 在此处可以禁用标签前缀(文本位于 messages 文件中)
tab_prefix:
enabled: true
# 如果你不喜欢全息图上方的符号(障碍方块),或者想跳过一格全息图空间,可以在这里禁用它
# 使用 "block" 可以将障碍方块替换为任何其他物品(例如 CLOCK)
# 如果将 skip_one_hologram 设置为 true,全息图会向上偏移一个全息图位置(如果在名字上方显示排名或心形图标,这将很有用)
holograms:
barrier: true
block: BARRIER
skip_one_hologram: false
# 基岩版玩家(Geyser / Floodgate):基岩版无法在全息图上方显示符号(显示实体)。启用后,他们会在一个不可见的盔甲架上看到该符号(在基岩版中不可见的时钟代替了障碍方块)。Java 版玩家看不到它。全息图文本仍然正常工作。
# 仅当安装了 Geyser 或 Floodgate 时生效。
bedrock:
enabled: true
# 在此处可以选择是否在特定时间(秒)后踢出玩家
# bypass_permission:拥有权限 "betterafk.kick.bypass" 的玩家永远不会被踢出(例如团队成员)
# warning_seconds:踢出前的动作栏倒计时(文本:messages 文件中的 kick.warning),0 = 无警告
# only_when_full:仅在服务器几乎满员时踢出挂机玩家——即至少占用 full_percent % 的槽位。超过时间的挂机玩家将在服务器达到该满载状态时被立即踢出。
kick:
enabled: true
time: 600
bypass_permission: true
warning_seconds: 30
only_when_full: false
full_percent: 90
# 在此处选择是否锁定挂机玩家的位置。
# false:挂机玩家可以简单地走开以离开挂机模式(他们也可以被玩家、生物或水推动)。
# true:挂机玩家不能被推动,但他们必须输入 /afk 才能再次移动。
# walk_to_leave(仅在 enabled: true 时有效):挂机玩家仍然不能被推动,但按下移动键(W、A、S、D 或跳跃)即可结束挂机模式——无需输入 /afk。
lock_position:
enabled: false
walk_to_leave: false
# 在此处选择是否在挂机模式下经过一定时间(秒)后使玩家获得无敌和永生效果
# hologram:在玩家上方显示额外的“无敌”行(文本:messages 文件中的 immortality.status)
# 注意:建议值超过 3 秒,以防止玩家利用此功能
immortality:
enabled: true
delay: 10
hologram: true
# 每个玩家可以自行更改的设置(保存在玩家文件中,重启后保留)
# timer: /afk timer <seconds> - 设置自己的自动挂机时间,介于 min 和 max 秒之间;/afk timer reset 重置计时器
# allow_off:也允许使用 /afk timer off(该玩家完全不启用自动挂机)
# notifications:/afk notifications <on|off> - 隐藏关于其他玩家加入挂机状态的 "... is now AFK" 聊天消息
# kick: /afk kick <on|off> - 玩家自行决定是否在 kick.time 时间后被踢出
player_settings:
timer:
enabled: true
min: 60
max: 1800
allow_off: false
notifications: true
kick: false
# 挂机玩家不计入睡眠计数:当所有非挂机玩家都睡觉时,夜晚会被跳过
sleep:
ignore_afk_players: true
# /afk list - 显示所有挂机玩家及其挂机时长
list:
enabled: true
# 所有消息的语言:en (English), de (Deutsch), fr (Français), es (Español),
# pl (Polski), ru (Русский), pt (Português), tr (Türkçe) 或 zh (简体中文)
# 文本位于 messages_en.yml / messages_de.yml 中,支持 MiniMessage (<red>, <gradient:...>)
# 以及经典颜色代码 (&c)。你可以添加自己的语言,例如 messages_it.yml -> language: it
# /betterafk reload(权限 betterafk.reload)可重新加载配置和消息文件。
language: en
# Modrinth 更新:控制台总是会通知有新版本发布。
# enabled:自动下载新版本。下载时会通过 Modrinth 的 SHA-512 校验和进行检查,
# 并在下次服务器重启时安装(plugins/update 文件夹)。仅下载适用于你的
# Minecraft 版本和服务器软件(Paper, Purpur, Folia)的版本。
# major_versions:也自动下载重大更新(例如 2.x -> 3.0),否则仅会进行通知。
auto_update:
enabled: false
major_versions: false
messages_en.yml
所有文本均支持 MiniMessage(<red>、<bold>、<gradient:#ff5555:#ff55ff>Text</gradient>)以及经典的 & 颜色代码。将文本留空("")即可禁用它。已包含德语、法语、西班牙语、波兰语、俄语、葡萄牙语、土耳其语和中文的翻译——通过在配置中使用 language: de、fr、es、pl、ru、pt、tr 或 zh 进行切换。
# ==========================================
# BetterAFK - 消息(英文)
# ==========================================
# 格式:MiniMessage - https://docs.advntr.dev/minimessage/format
# 颜色: <red>, <gray>, <#ff8800>
# 样式: <bold>, <italic>, <underlined>
# 渐变: <gradient:#ff5555:#ff55ff>Text</gradient>
# 彩虹: <rainbow>Text</rainbow>
# 经典颜色代码如 &c、&l 或 &#ff8800 同样有效。
#
# 占位符:%player%(挂机玩家的名称)、%time%(挂机分钟数)、%unit%(分钟/分钟复数)
# 如果安装了 PlaceholderAPI,也可以使用其占位符。
#
# 在 config.yml 中选择语言(language: en)。你也可以创建自己的
# 文件,例如 messages_fr.yml,并设置 "language: fr"。缺失的文本将回退到英文。
# 将消息留空("")即可禁用它。
# ==========================================
afk:
# 玩家处于 AFK 状态时的动作栏提示
action_bar: "<gray>你现在处于<red><bold>AFK</bold></red><gray>状态!"
# 向所有人发送的聊天消息
chat_start: "<light_purple>%player%</light_purple> <gray>现在处于<red><bold>AFK</bold></red><gray>状态。"
chat_end: "<light_purple>%player%</light_purple> <gray>在<red><bold>%time%</bold></red> <gray>%unit%后不再处于<red><bold>AFK</bold></red><gray>状态。"
# 仅对隐身(vanished)的玩家自身生效(无聊天消息,无全息图)
vanished_start: "<gray>你现在处于<red><bold>AFK</bold></red><gray>状态。由于你已隐身,将不会显示任何消息或全息图。"
vanished_end: "<gray>你曾处于<red><bold>AFK</bold></red><gray>状态,持续时间为<red><bold>%time%</bold></red> <gray>%unit%。"
# afk.require_permission in config.yml
no_permission: "<gray>你没有权限进入<red>AFK</red><gray>状态。"
# AFK 玩家头顶的全息文本(line1 在最上方)
hologram:
line1: "<red><bold>AFK</bold></red>"
line2: "<gray>自 %time% %unit% 起"
# 附加在标签页列表名称之后 (tab_prefix.enabled in config.yml)
tab_prefix: " <red><bold>AFK</bold></red>"
units:
singular: "分钟"
plural: "分钟"
kick:
message: "<gray>因为你 AFK 时间过长,你被<red>踢出</red><gray>服务器了!"
# 踢人前的动作栏倒计时 (kick.warning_seconds in config.yml), %seconds% = 剩余秒数
warning: "<gray>如果你继续 AFK,将在<red><bold>%seconds%</bold></red> <gray>秒后被<red>踢出</red><gray>——请移动以保留!"
lock_position:
message: "<gray>由于你被标记为<red><bold>AFK</bold></red><gray>,你不能再移动了。输入<red>/afk</red> <gray>以恢复移动。"
# with lock_position.walk_to_leave: true (config.yml)
message_walk: "<gray>你已被标记为<red><bold>AFK</bold></red><gray>。只需行走即可退出 AFK 模式。"
action_bar: "<gray>你不能在<red><bold>AFK 期间</bold></red><gray>移动!"
immortality:
message: "<gray>由于 AFK 模式,你现在<light_purple>无敌</light_purple><gray>!"
# 无敌期间的额外全息行 (immortality.hologram in config.yml), "" = 不显示行
status: "<green>无敌"
commands:
reload_success: "<gradient:#ff5555:#ff55ff><bold>BetterAFK</bold></gradient> <gray>配置已重新加载!"
no_permission: "<red>你没有权限使用此命令。"
players_only: "<red>此命令只能由玩家使用。"
# /afk with an unknown sub command
afk_usage: "<gray>用法:<red>/afk</red> <gray>%commands%"
# /afk list (list.enabled in config.yml)
list:
header: "<gray>AFK 玩家 (<red>%count%</red><gray>):"
entry: "<dark_gray>- <light_purple>%player%</light_purple> <gray>自 <red>%time%</red> <gray>%unit% 起"
empty: "<gray>目前没有人处于 AFK 状态。"
# /afk timer, /afk notifications, /afk kick (player_settings in config.yml)
settings:
timer_current: "<gray>你已设置自动 AFK 时间为<red>%seconds%</red> <gray>秒。"
timer_current_off: "<gray>你<red>未</red> <gray>设置自动 AFK。"
timer_set: "<gray>你已设置自动 AFK 时间为<red>%seconds%</red> <gray>秒。"
timer_reset: "<gray>你的自动 AFK 时间已恢复为服务器默认值(<red>%seconds%</red> <gray>秒)。"
timer_off: "<gray>你不再设置自动 AFK。"
usage_timer: "<gray>用法:<red>/afk timer [%min%-%max%]</red> <gray>(秒)或 <red>/afk timer reset"
usage_timer_off: "<gray>用法:<red>/afk timer [%min%-%max%]</red> <gray>(秒),<red>/afk timer off</red> <gray>或 <red>/afk timer reset"
usage_notifications: "<gray>用法:<red>/afk notifications on|off"
notifications_on: "<gray>你将再次看到其他玩家的 AFK 消息。"
notifications_off: "<gray>你将不再看到其他玩家的 AFK 消息。"
usage_kick: "<gray>用法:<red>/afk kick on|off"
kick_on: "<gray>如果你 AFK 时间过长,你将再次被<red>踢出</red><gray>。"
kick_off: "<gray>你将不再因 AFK 而被踢出。"
---
### BetterPlugins 的其他插件
全部适用于 Paper、Purpur 和 Folia 26.x,提供英语、德语、法语、西班牙语、波兰语、俄语、葡萄牙语、土耳其语和中文支持 —— 查看完整的 [BetterPlugins 合集](https://modrinth.com/collection/4cB8DVqy):
| | |
|---|---|
| [](https://modrinth.com/plugin/bettertimber) | **[BetterTimber](https://modrinth.com/plugin/bettertimber)** - 一击砍倒整棵树 - 受保护插件安全支持 |
| [](https://modrinth.com/plugin/bannerforlabymod) | **[BannerForLabyMod](https://modrinth.com/plugin/bannerforlabymod)** - LabyMod 标签页列表上方的自定义图像横幅 |
| [](https://modrinth.com/plugin/bettercarry) | **[BetterCarry](https://modrinth.com/plugin/bettercarry)** - 携带并投掷玩家、生物和箱子 |
| [](https://modrinth.com/plugin/bettertimberenchantment) | **[BetterTimberEnchantment](https://modrinth.com/plugin/bettertimberenchantment)** - BetterTimber 的伐木附魔 - 附魔台、村民、战利品 |
| [](https://modrinth.com/plugin/betterrip) | **[BetterRIP](https://modrinth.com/plugin/betterrip)** - 保留物品栏位和经验值的坟墓 |
| [](https://modrinth.com/plugin/bettersort) | **[BetterSort](https://modrinth.com/plugin/bettersort)** - 一键整理箱子,快捷栏补货和快速堆叠 |
| [](https://modrinth.com/plugin/betterwaystones) | **[BetterWaystones](https://modrinth.com/plugin/betterwaystones)** - 建造、发现并在传送石之间旅行 - 拥有独立的 3D 模型,无需资源包 |
BetterAFK
A stylish AFK plugin for Paper, Purpur and Folia 26.x with holograms above AFK players, auto-AFK, AFK kick and much more. Players choose their own AFK settings, AFK players don't block sleeping, and every feature can be turned off. Fully customizable, in 9 languages. Check the gallery.
Preview

Features
/afk to go AFK manually, auto-AFK after a configurable time
- Holograms above AFK players (with the AFK time) and a rotating symbol - can start one line higher if you show ranks above the name
- Tab prefix for AFK players
- Kick after a configurable time AFK - with a bypass permission for your team, a countdown in the action bar before the kick and optionally only when the server is full
- Sleeping: AFK players don't count - the night is skipped when everybody else sleeps
- Own settings for every player (saved, kept after a restart): own auto-AFK time, hide the AFK messages of others, choose if you are kicked
/afk list - who is AFK and since when
- Immortality: AFK players become invulnerable after a delay
- Walk to leave AFK - just move again, no
/afk needed
- Position lock (optional): AFK players can't be pushed away by players, mobs or water - and with
walk_to_leave a deliberate step (W, A, S, D or jump) still ends AFK
- Vanish support: no messages or holograms for vanished players
- Optional permission to go AFK
- PlaceholderAPI support (see below)
- Folia support - one jar for Paper, Purpur and Folia
- MiniMessage formatting everywhere (chat, action bar, holograms, tab): gradients, hex colors - classic
& codes still work
- English, German, French, Spanish, Polish, Russian, Portuguese, Turkish and Chinese included, add your own language with one file
- Lightweight: display entities instead of armor stands, holograms only move when the player moves, nothing is saved to the world (no leftover holograms after a crash)
- Optional auto update from Modrinth (off by default) - new config options are added automatically, your values are kept
Commands & permissions
/afk - toggle AFK mode
/afk list - all AFK players and since when
/afk timer <seconds> / reset / off - your own time until auto-AFK
/afk notifications on|off - show or hide the AFK messages about other players
/afk kick on|off - choose if you are kicked when AFK too long (if the server allows it)
/betterafk reload - reloads config and messages
Every command can be turned off in the config.yml - disabled ones don't appear in the tab completion.
| Permission |
Default |
|
betterafk.use |
OP |
go AFK - only checked if afk.require_permission: true |
betterafk.kick.bypass |
nobody |
never kicked for being AFK (kick.bypass_permission) |
betterafk.reload |
OP |
/betterafk reload |
PlaceholderAPI placeholders
Useful if other plugins change the tab list or the scoreboard - the AFK data can be shown there too. Requires PlaceholderAPI.
%betterafk_afk_status% - the AFK tab prefix if the player is AFK
%betterafk_invulnerability_status% - the invulnerable text if the player is invulnerable
%betterafk_afk_query% - true or false
%betterafk_afk_minutes% - minutes the player is AFK (empty if not AFK)
PlaceholderAPI placeholders can also be used inside all BetterAFK messages.
Bedrock players (Geyser)
Everything works for Bedrock players: /afk, auto-AFK, holograms, kick countdown and walking to leave AFK (also with walk_to_leave). Bedrock Edition can't show the symbol above the holograms (a display entity) - with bedrock.enabled (default) Bedrock players see it on an invisible armor stand instead, a clock instead of the barrier. Java players don't notice any difference.
Requirements
- Paper, Purpur or Folia 26.1 - 26.3
- Java 25
- Optional: PlaceholderAPI
- Optional: Geyser / Floodgate - Bedrock players are supported
Bug report & support
If you need help or have a bug please contact me via discord (add hassanbwo). I will guarantee quick help - Thanks for supporting :)
config.yml
All times are in seconds.
# ==========================================
# BetterAFK – config.yml
# ==========================================
# Here you can customise all times and settings according to your wishes.
# All messages are in messages_en.yml / messages_de.yml (MiniMessage like <red> or <gradient:...> and & color codes)
# Times are measured in seconds (e.g. 5 minutes = 300 seconds)
# Check the plugin page for more information:
# https://modrinth.com/plugin/betterafk
# ==========================================
# If you need help or have a bug please contact me via discord (add hassanbwo).
# I will guarantee quick help - Thanks for supporting :)
# ==========================================
# Here you can change the time for when a player is automatically set afk (and if they should)
# Also if players should need a permission ("betterafk.use") to go AFK
afk:
auto_timeout_enabled: true
timeout: 180
require_permission: false
# Here you can deactivate the tab prefix (the text is in the messages file)
tab_prefix:
enabled: true
# Here you can deactivate the symbol (the barrier) over the holograms if you don't like it or skip one hologram space
# With "block" you can replace the barrier with any other item (e.g. CLOCK)
# if skip_one_hologram is set to true, the holograms start one hologram place higher (If displaying ranks or hearts above the name this is useful)
holograms:
barrier: true
block: BARRIER
skip_one_hologram: false
# Bedrock players (Geyser / Floodgate): Bedrock Edition can't show the symbol above the holograms (display
# entities). With enabled: true they see it on an invisible armor stand instead (a clock instead of the
# barrier, which is invisible on Bedrock). Java players don't see it. The hologram texts work anyway.
# Only used if Geyser or Floodgate is installed.
bedrock:
enabled: true
# Here you can select if a player should be kicked after a certain time (seconds)
# bypass_permission: players with the permission "betterafk.kick.bypass" are never kicked (e.g. team members)
# warning_seconds: countdown in the action bar before the kick (text: kick.warning in the messages file), 0 = no warning
# only_when_full: only kick AFK players when the server is almost full - when at least full_percent % of the
# slots are taken. AFK players who are over the time are kicked as soon as the server is that full.
kick:
enabled: true
time: 600
bypass_permission: true
warning_seconds: 30
only_when_full: false
full_percent: 90
# Here you can select whether you want to block the position of AFK players.
# false: AFK players can simply walk away to leave AFK mode (they can also be pushed by players, mobs or water).
# true: AFK players can't be pushed away, but they have to type /afk to move again.
# walk_to_leave (only with enabled: true): AFK players still can't be pushed away, but pressing a movement key
# (W, A, S, D or jump) ends AFK mode - no /afk needed.
lock_position:
enabled: false
walk_to_leave: false
# Here you can choose if a player should be invulnerable and immortal after a certain time (seconds) in afk mode
# hologram: show the extra "invulnerable" line above the player (text: immortality.status in the messages file)
# Note: a value of over 3 seconds is recommended to prevent players from exploiting this feature
immortality:
enabled: true
delay: 10
hologram: true
# Settings every player can change for himself (saved in the player file, kept after a restart)
# timer: /afk timer <seconds> - own time until auto-AFK, between min and max seconds; /afk timer reset
# allow_off: also allow /afk timer off (no auto-AFK at all for this player)
# notifications: /afk notifications <on|off> - hide the "... is now AFK" chat messages about other players
# kick: /afk kick <on|off> - players choose for themselves if they are kicked after kick.time
player_settings:
timer:
enabled: true
min: 60
max: 1800
allow_off: false
notifications: true
kick: false
# AFK players don't count for sleeping: the night is skipped when all players who are not AFK sleep
sleep:
ignore_afk_players: true
# /afk list - shows all AFK players and how long they are AFK
list:
enabled: true
# Language of all messages: en (English), de (Deutsch), fr (Français), es (Español),
# pl (Polski), ru (Русский), pt (Português), tr (Türkçe) or zh (简体中文)
# The texts are in messages_en.yml / messages_de.yml and support MiniMessage (<red>, <gradient:...>)
# and the classic color codes (&c). You can add your own language, e.g. messages_it.yml -> language: it
# /betterafk reload (permission betterafk.reload) reloads config and messages.
language: en
# Updates from Modrinth: a newer version is always announced in the console.
# enabled: download new versions automatically. Downloads are checked with the SHA-512 checksum from Modrinth
# and installed on the next server restart (plugins/update folder). Only releases for your
# Minecraft version and server software (Paper, Purpur, Folia) are downloaded.
# major_versions: also download big updates (e.g. 2.x -> 3.0) automatically, otherwise they are only announced.
auto_update:
enabled: false
major_versions: false
messages_en.yml
All texts support MiniMessage (<red>, <bold>, <gradient:#ff5555:#ff55ff>Text</gradient>) and the classic & color codes. Leave a text empty ("") to disable it. Translations are included for German, French, Spanish, Polish, Russian, Portuguese, Turkish and Chinese - switch with language: de, fr, es, pl, ru, pt, tr or zh in the config.
# ==========================================
# BetterAFK - messages (English)
# ==========================================
# Formatting: MiniMessage - https://docs.advntr.dev/minimessage/format
# Colors: <red>, <gray>, <#ff8800>
# Styles: <bold>, <italic>, <underlined>
# Gradients: <gradient:#ff5555:#ff55ff>Text</gradient>
# Rainbow: <rainbow>Text</rainbow>
# Classic color codes like &c, &l or &#ff8800 still work as well.
#
# Placeholders: %player% (name of the AFK player), %time% (minutes AFK), %unit% (minute/minutes)
# PlaceholderAPI placeholders can be used too (if PlaceholderAPI is installed).
#
# Select the language in config.yml (language: en). You can also create your own
# file, e.g. messages_fr.yml, and set "language: fr". Missing texts fall back to English.
# Leave a message empty ("") to disable it.
# ==========================================
afk:
# Action bar when a player goes AFK
action_bar: "<gray>You are now <red><bold>AFK</bold></red><gray>!"
# Chat message for everyone
chat_start: "<light_purple>%player%</light_purple> <gray>is now <red><bold>AFK</bold></red><gray>."
chat_end: "<light_purple>%player%</light_purple> <gray>is no longer <red><bold>AFK</bold></red> <gray>after <red><bold>%time%</bold></red> <gray>%unit%."
# Only for the player himself if he is vanished (no chat message, no holograms)
vanished_start: "<gray>You are now <red><bold>AFK</bold></red><gray>. Since you're vanished, no messages or holograms will be displayed."
vanished_end: "<gray>You were <red><bold>AFK</bold></red> <gray>for <red><bold>%time%</bold></red> <gray>%unit%."
# afk.require_permission in config.yml
no_permission: "<gray>You have no permission to go <red>AFK</red><gray>."
# Text above the AFK player (line1 is on top)
hologram:
line1: "<red><bold>AFK</bold></red>"
line2: "<gray>since %time% %unit%"
# Appended to the name in the tab list (tab_prefix.enabled in config.yml)
tab_prefix: " <red><bold>AFK</bold></red>"
units:
singular: "minute"
plural: "minutes"
kick:
message: "<gray>You were <red>kicked</red> <gray>for being AFK too long!"
# Countdown in the action bar before the kick (kick.warning_seconds in config.yml), %seconds% = seconds left
warning: "<gray>You will be <red>kicked</red> <gray>for being AFK in <red><bold>%seconds%</bold></red> <gray>seconds - move to stay!"
lock_position:
message: "<gray>You can no longer move because you have been marked as <red><bold>AFK</bold></red><gray>. Type <red>/afk</red> <gray>to move again."
# with lock_position.walk_to_leave: true (config.yml)
message_walk: "<gray>You have been marked as <red><bold>AFK</bold></red><gray>. Just walk to leave AFK mode."
action_bar: "<gray>You cannot move <red><bold>while AFK</bold></red><gray>!"
immortality:
message: "<gray>You are now <light_purple>invulnerable</light_purple> <gray>due to AFK mode!"
# Extra hologram line while invulnerable (immortality.hologram in config.yml), "" = no line
status: "<green>invulnerable"
commands:
reload_success: "<gradient:#ff5555:#ff55ff><bold>BetterAFK</bold></gradient> <gray>configuration reloaded!"
no_permission: "<red>You don't have permission to use this command."
players_only: "<red>This command can only be used by players."
# /afk with an unknown sub command
afk_usage: "<gray>Usage: <red>/afk</red> <gray>%commands%"
# /afk list (list.enabled in config.yml)
list:
header: "<gray>AFK players (<red>%count%</red><gray>):"
entry: "<dark_gray>- <light_purple>%player%</light_purple> <gray>since <red>%time%</red> <gray>%unit%"
empty: "<gray>Nobody is AFK right now."
# /afk timer, /afk notifications, /afk kick (player_settings in config.yml)
settings:
timer_current: "<gray>You are set AFK automatically after <red>%seconds%</red> <gray>seconds."
timer_current_off: "<gray>You are <red>not</red> <gray>set AFK automatically."
timer_set: "<gray>You are now set AFK automatically after <red>%seconds%</red> <gray>seconds."
timer_reset: "<gray>Your auto-AFK time is back to the server default (<red>%seconds%</red> <gray>seconds)."
timer_off: "<gray>You are no longer set AFK automatically."
usage_timer: "<gray>Usage: <red>/afk timer [%min%-%max%]</red> <gray>(seconds) or <red>/afk timer reset"
usage_timer_off: "<gray>Usage: <red>/afk timer [%min%-%max%]</red> <gray>(seconds), <red>/afk timer off</red> <gray>or <red>/afk timer reset"
usage_notifications: "<gray>Usage: <red>/afk notifications on|off"
notifications_on: "<gray>You see the AFK messages of other players again."
notifications_off: "<gray>You no longer see the AFK messages of other players."
usage_kick: "<gray>Usage: <red>/afk kick on|off"
kick_on: "<gray>You will be <red>kicked</red> <gray>again when you are AFK too long."
kick_off: "<gray>You will no longer be kicked for being AFK."
More plugins by BetterPlugins
All for Paper, Purpur and Folia 26.x, in English, German, French, Spanish, Polish, Russian, Portuguese, Turkish and Chinese - see the whole BetterPlugins collection:
|
|
 |
BetterTimber - Fell whole trees with one hit - protection-plugin safe |
 |
BannerForLabyMod - Custom image banner above the tab list for LabyMod |
 |
BetterCarry - Carry and throw players, mobs and chests |
 |
BetterTimberEnchantment - Timber enchantment for BetterTimber - enchanting table, villagers, loot |
 |
BetterRIP - Graves that keep your items in their slots and your experience |
 |
BetterSort - Sort chests with one click, hotbar refill and quick stack |
 |
BetterWaystones - Build, discover and travel between waystones - own 3D model, no resource pack |
评论 0
登录后参与评分
还没有评论,来抢沙发吧