AFK Area
AFK Area 是一款可配置的 AFK(挂机)管理插件,适用于 Paper 服务器,它将自动不活跃检测与专用的 AFK 区域、奖励和可见性控制相结合。
玩家可以在经过一段可配置的不活跃时间后被自动标记为 AFK,或者通过 /afk 命令手动标记。在更长的不活跃时间后,可以选择将玩家自动移动到已配置的 AFK 区域。
玩家也可以随时自愿进入 AFK 区域。
AFK 区域
AFK 区域可以使用原生的立方体区域(cuboid regions),也可以使用现有的 WorldGuard 区域。
每个区域都可以拥有独立的:
支持 WorldGuard 的区域还可以选择包含子区域和后代区域,从而允许基于现有的区域层级构建更大或分层的 AFK 区域。
奖励
AFK Area 包含一个灵活的基于命令的奖励系统。
奖励支持:
- 加权随机选择
- 每项奖励包含多个命令
- 按间隔或里程碑排定的日程
- 多次奖励抽取机会
- 可选的防重复机制
- 每项奖励的独立权限
- 自定义奖励消息
由于奖励是基于命令的,因此可以轻松地与经济系统、箱子系统、物品系统、经验值系统以及其他服务器系统集成使用。
可见性
处于 AFK 区域内的玩家会自动从普通玩家的视野中隐藏,无论是在世界中还是在玩家列表中。
具有相应权限的管理员成员仍然可以看到他们。
对于使用外部玩家列表格式化的服务器,AFK Area 还与 TAB 和 PlaceholderAPI 集成。
反滥用
可以通过限制共享同一 IP 地址的玩家来获取奖励。
持久化的“家庭组”(household groups)功能允许合法地共享连接的玩家被视为同一个奖励身份,而无需完全禁用该保护机制。
玩家信息
AFK Area 会持久记录已完成 AFK 区域会话的统计数据,包括:
- 会话次数
- 总 AFK 区域时长
- 最长单次会话
- 上次会话时长
- 上次访问的区域
可选的 Bossbar(状态栏)和 Actionbar(动作栏)显示可以展示当前会话进度以及距离下一次奖励的剩余时间。
特性
- 自动与手动 AFK 处理
- 可配置的 AFK 和传送计时器
- 原生立方体 AFK 区域
- 可选的 WorldGuard 集成
- 支持 WorldGuard 子区域和后代区域
- 自动传送到 AFK 区域
- 跨世界传送目的地
- 可配置的区域优先级
- 玩家可见性控制,支持管理员绕过
- 加权命令奖励
- 按间隔和里程碑排定的奖励日程
- 基于 IP 的奖励限制
- 持久化的家庭组分组
- 持久化的玩家统计
- Bossbar 和 Actionbar 显示
- PlaceholderAPI 集成
- TAB 集成
- 支持 JSON、H2 和 MySQL/MariaDB 数据持久化
- 支持 MiniMessage 和传统
& 颜色代码
要求
- Paper 1.21.4 或更高版本
- VertexCore 1.1.0 或更高版本
可选集成
- WorldGuard — 使用现有的 WorldGuard 区域作为 AFK 区域
- PlaceholderAPI — 提供 AFK Area 占位符
- TAB — 将 AFK 状态与外部玩家列表格式化集成
AFK Area
AFK Area is a configurable AFK management plugin for Paper servers that combines automatic inactivity detection with dedicated AFK areas, rewards and visibility control.
Players can be marked AFK automatically after a configurable period of inactivity or manually using /afk. After a longer period of inactivity, they can optionally be moved to a configured AFK area automatically.
Players may also enter an AFK area voluntarily at any time.
AFK Areas
AFK areas can use either native cuboid regions or existing WorldGuard regions.
Each area can have its own:
- Display name
- Teleport location
- Priority
- Reward configuration
WorldGuard-backed areas can optionally include child and descendant regions, making it possible to build larger or multi-level AFK areas from an existing region hierarchy.
Rewards
AFK Area includes a flexible command-based reward system.
Rewards support:
- Weighted random selection
- Multiple commands per reward
- Interval or milestone schedules
- Multiple reward rolls
- Optional duplicate prevention
- Per-reward permissions
- Custom reward messages
Because rewards are command-based, they can easily be used with economy, crate, item, experience and other server systems.
Visibility
Players inside an AFK area can automatically be hidden from normal players in both the world and player list.
Staff members with the appropriate permission can continue to see them.
AFK Area also integrates with TAB and PlaceholderAPI for servers that use external player-list formatting.
Anti-Abuse
Reward distribution can be limited for players sharing the same IP address.
Persistent household groups allow legitimate players sharing a connection to be treated as one reward identity without disabling the protection entirely.
Player Information
AFK Area keeps persistent statistics for completed AFK area sessions, including:
- Session count
- Total AFK area time
- Longest session
- Last session duration
- Last visited area
Optional bossbar and actionbar displays can show the current session and time remaining until the next reward.
Features
- Automatic and manual AFK handling
- Configurable AFK and teleport timers
- Native cuboid AFK areas
- Optional WorldGuard integration
- WorldGuard child and descendant region support
- Automatic AFK area teleporting
- Cross-world teleport destinations
- Configurable area priorities
- Player visibility control with staff bypass
- Weighted command rewards
- Interval and milestone reward schedules
- IP-based reward limiting
- Persistent household grouping
- Persistent player statistics
- Bossbar and actionbar displays
- PlaceholderAPI integration
- TAB integration
- JSON, H2 and MySQL/MariaDB persistence
- MiniMessage and legacy
& color support
Requirements
- Paper 1.21.4 or newer
- VertexCore 1.1.0 or newer
Optional integrations
- WorldGuard — use existing WorldGuard regions as AFK areas
- PlaceholderAPI — expose AFK Area placeholders
- TAB — integrate AFK status with external player-list formatting
评论 0
登录后参与评分
还没有评论,来抢沙发吧