Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_E4akD646.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
AfkVeil - 墨喵 Minecraft 资源
AfkVeil 图标

AfkVeil

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.4.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/afkveil
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: bukkit folia paper purpur spigot

资源介绍

AfkVeil Cover
AfkVeil Detailed Cover
AfkVeil — Region-Based Player Isolation for Bukkit & Paper​

AfkVeil is a lightweight and efficient Bukkit/Paper plugin designed to fully isolate players within a designated WorldGuard region. Players inside the configured area become completely invisible to those outside — and vice versa — ensuring a clean, distraction-free environment.

Whether you're managing a large survival server, a minigame hub, or an SMP, AfkVeil keeps AFK players truly out of sight and out of mind. No tab-list clutter, no unnecessary entity rendering, and no accidental interactions with invisible players.

How It Works​

When a player enters the configured AFK region, AfkVeil performs the following actions:

Hides the player from all others using Bukkit’s native hidePlayer API
Applies a silent invisibility effect (no particles, no status icon) for compatibility with other plugins
Optionally removes the player from the tab list to prevent visibility in menus and autocomplete
Displays a configurable particle effect to indicate the transition
Sends an action bar message to inform the player of their hidden state
Ensures mutual invisibility — AFK players cannot see non-AFK players

A lightweight, repeating synchronization task (default: every 20 ticks / 1 second) ensures that newly joined players instantly respect the correct visibility state without excessive WorldGuard queries.

To maintain performance, the plugin uses block-level movement deduplication, avoiding redundant checks caused by minor positional updates.

When a player leaves the region or disconnects, all effects are immediately reverted and full visibility is restored.

Key Features​

✔ Supports any WorldGuard region (no size or world limitations)
✔ True mutual invisibility between AFK and non-AFK players
✔ Optional tab-list hiding for complete player concealment
✔ Configurable particle effects (WITCH, PORTAL, CLOUD, ENCHANT, etc.)
✔ Fully customizable action bar notifications (with color codes)
✔ Optimized movement handling to prevent unnecessary processing
✔ Automatic synchronization for newly joined players
✔ Hot-reload support via /afkveil reload
✔ Permission-based command system (afkveil.admin, default: OP)

Configuration​

All features are easily configurable via config.yml:

afk-region — WorldGuard region name
refresh-interval — Sync interval in ticks (default: 20)
hide-from-tab.enabled — Toggle tab-list visibility
particles.enabled / particles.type — Particle settings
actionbar.enabled — Enable/disable notifications
messages — Fully customizable with & color codes

Dependencies​

WorldGuard (required)
WorldEdit (required)
ProtocolLib (required)

Compatibility​

Paper / Spigot 1.21+
API Version: 1.21

Free ​

AfkVeil is completely free

No license restrictions.
No premium tiers.
No paywalls.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
CloverCraftSMP Season 2

价格:0 墨喵币
下载量:0

查看详情
Distant Difficulties

价格:0 墨喵币
下载量:0

查看详情
SMP Experience

价格:0 墨喵币
下载量:0

查看详情
Race to Spawn Data Packet(R2S data packet)

价格:0 墨喵币
下载量:0

查看详情