建议、错误报告或问题?请使用插件反馈表单。
VanishSystem
使工作人员隐身,并隐藏玩家模型的更多部分。
隐身的工作人员将不再显示在服务器列表、标签补全、标签列表或生物交互中。其他玩家无法接触到他们。随着 PacketEvents 脚步声音效的加入,记分板条目和粒子效果也会被过滤。控制台和服务器日志仍能看到他们。
概览
- 隐身自己、其他玩家或离线玩家,使其以隐形状态登录。定时隐身会自动解除。
- 基于职业的配置: 观察员、建造者、严格幽灵等共 8 种配置。这些配置决定了玩家可以与什么互动,以及谁可以看到该玩家。
- 隐身期间锁定聊天: 隐身期间公共聊天被隐藏,可通过点击解锁。这允许私人消息不会在公共聊天中被看到。
- 监视命令: 跟随、返回、无声传送和目标锁定。这些命令都会显示目标的血量、饥饿度、位置、延迟和坐标。还有一个选项可以无声地查看目标。
- 审计日志: 记录隐身、强制解除隐身、无声打开箱子和传送等操作。
玩家能看到什么
| 无 PacketEvents | 有 PacketEvents | |
|---|---|---|
| 玩家模型、名称补全、标签条目、隐藏 | 隐藏 | 隐藏 |
| 服务器列表条目数量 | 调整(Paper) | 过滤 |
| 命令 | 可见 | 可见 |
| “找不到玩家” | 相同 | 相同 |
| 脚步声、受伤、进食音效 | 仍然发送 | 过滤 |
| 冲刺粒子、暴击粒子 | 仍然发送 | 过滤 |
| 记分板队伍条目 | 仍然发送 | 过滤 |
| 生物锁定、箭矢、压力板、碰撞 | 阻止 | 阻止 |
| 控制台、服务器输出 | 可见 | 可见 |
“仍然发送”的条目仅在使用专门检测它们的客户端可见。数据包层会处理此问题。
功能
- 幽灵模式: 无碰撞,箭矢穿过,压力板和潜影贝传感器静音,生物停止锁定你,你不再计入睡眠比例
- 安全性: 防止火焰、冻结、饥饿、缺氧和伤害。从虚空中救援,并在传送到不安全位置前进行检查
- 按配置限制: 破坏、放置、容器、拾取、红石、骑乘、交易等,具有单独的权限。默认全部关闭
- 假加入/离开事件: 每个查看者可配置。离开时显示为正常离开
- 无声箱子: 除授权用户外,其他人听不到声音也看不到盖子移动。需要 PacketEvents
- 多层可见性: 可选。如果助手拥有较低的可见等级,他们将无法看到管理员是否已隐身。使用
/vanish whycansee查看可见性变化的原因 - 指示器: 默认是动作栏。标题、聊天和 Boss 条指示器也可用。工作人员可以自己启用/禁用这些指示器
- 存储: 默认是普通文件。MySQL、MariaDB 和 SQLite 也可用
- PlaceholderAPI 占位符,仅显示查看者有权查看的信息
额外信息
- 如果未安装 PacketEvents,延迟更新、记分板队伍数据包、粒子效果和音效仍会从服务器发出。修改过的客户端可以看到这些,但普通客户端不会。
/who、/list或其他插件的输出未被更改。如果在配置文件中指定了命令,这些命令将返回“找不到”。- 查看者发光、无声箱子和保留在标签列表中都需要 PacketEvents。Folia 还会禁用发光效果。
- Spigot 上的服务器列表悬停会被过滤,但数量可能会减少也可能不会。Paper 正确实现了这一点。
- 在 Sponge 上,隐身是全有或全无。隐藏的玩家即使对其他操作员也是不可见的。
- 不支持查看物品栏。请使用单独的 invsee 插件来实现此功能。
详情
命令
主命令处理 /v、/vs 和 /vanishsystem。可以在配置中重命名。
| 命令 | 功能 |
|---|---|
/vanish |
切换自身的隐身状态 |
/vanish on|off [player] [flags] |
显式设置自己或其他玩家的可见性 |
/vanish timed <duration> [profile] |
在指定持续时间内隐身 |
/vanish extend <duration> |
延长定时隐身的持续时间 |
/vanish offline <player> <on|off> |
决定离线玩家重新连接时的行为 |
/vanish network <on|off> |
决定隐身是仅本地生效还是跨网络生效 |
/vanish profile <name> |
切换配置文件,无可见延迟 |
/vanish level <number> |
更改使用等级 |
/vanish list [offline|network] |
列出你允许看到的隐藏玩家 |
/vanish status [player] |
提供玩家的可见性状态信息 |
/vanish whycansee <viewer> <target> |
提供关于可见性决策的信息 |
/vanish revealto|hideto <player> [duration] |
允许对特定查看者显示或隐藏 |
/vanish pickup|xppickup <on|off> |
允许在隐藏时拾取物品/经验球 |
/vanish fly <on|off|speed> |
允许在隐藏时飞行 |
/vanish nightvision|noclip <on|off> |
允许私有移动效果(夜视/穿墙) |
/vanish visibleintab <on|off> |
允许在标签页列表中可见 |
/vanish publicchat <lock|unlock|once> |
锁定公共聊天 |
/vanish interact <lock|unlock> [duration] |
锁定交互操作 |
/vanish target <player|nearest|next|previous|clear> |
选择要监视的目标 |
/vanish follow <player|off> |
跟随目标 |
/vanish tp <player> |
静默传送至某玩家 |
/vanish return |
返回之前保存的位置 |
/vanish fakejoin|fakequit [player] |
发送假的加入或离开事件 |
/vanish audit [player] [limit] |
提供可访问的审计日志 |
/vanish menu |
打开员工菜单 |
/vanish doctor |
提供健康检查 |
/vanish debug confirm |
创建脱敏支持文件并放置于 debug-reports/ 目录中 |
/vanish sync |
发送网络同步指令 |
/vanish reload |
重载配置。如果配置损坏将被拒绝,前一个有效配置将保持激活状态 |
切换标志:-s 静默,-t 保留在标签页,-n 网络范围,-p <profile>,-l <level>,-d <duration>,-r "<reason>",-c <case id>,--confirm,--dry-run,--no-return,--no-fake-message。无效或矛盾的标志会导致错误,而非静默失败。
权限节点
管理员拥有所有权限节点,除了以下五个:vanish.protected、vanish.exempttarget、vanish.notoggle、vanish.joinvanished 和 vanish.chat.bypass。这些节点应分配给特定的职级,而不是直接赋予管理员。
| 节点 | 涵盖内容 |
|---|---|
vanish.use |
对自己进行隐身。建议与 vanish.see 一起授予员工 |
vanish.see |
查看已隐身的玩家 |
vanish.use.others, .offline, .network, .timed |
对其他玩家、离线玩家、全服范围或定时进行隐身 |
vanish.silent, vanish.showintab |
静默模式和在标签页中显示的标志 |
vanish.revealto, vanish.hideto |
针对特定查看者的显示或隐藏标志 |
vanish.chat.bypass, vanish.chat.unlock |
允许在隐身状态下使用公共聊天 |
vanish.interact.bypass, vanish.interact.unlock |
绕过交互限制 |
vanish.place, vanish.break, vanish.pickup, vanish.container 等 |
每项限制对应一个权限节点 |
vanish.fly, vanish.noclip, vanish.nightvision, vanish.spectator |
飞行和移动选项 |
vanish.follow, vanish.target, vanish.return, vanish.teleport |
观察选项 |
vanish.audit, .audit.location, .audit.ip, .audit.reason |
查看带有单独字段拆分的日志 |
vanish.protected |
低职级员工无法强制使其显示或切换隐身状态 |
vanish.use.level.<n>, vanish.see.level.<n>, vanish.use.profile.<name> |
配置文件和来自配置的层级可见性 |
vanish.admin |
包含所有员工工具相关的节点 |
配置说明
配置按功能模块分离,使得每个文件保持相对较小。所有插件在每个模块内都有一个位于 config.yml 的主配置文件。配置文件在首次使用时生成,且在插件更新期间永远不会被覆盖。
plugins/VanishSystem/
├── config.yml 主配置、存储、模块和 PacketEvents
├── messages.yml 所有消息文本
├── indicators/config.yml 标题、计分板、Boss 栏、音效、动作栏
├── visibility/config.yml 受保护账号、等级以及谁可以看到谁
├── announcements/config.yml 员工消息和假的加入/离开通知
├── profiles/config.yml 带名称的设置捆绑包
├── restrictions/config.yml 允许隐身玩家执行的操作
├── ghost/config.yml 传感器、投射物和碰撞检测
├── safety/config.yml 安全现身、饥饿值和伤害处理
├── movement/config.yml 穿墙、旁观者和飞行模式
├── containers/config.yml 静默箱子
├── chat/config.yml 确认机制和聊天锁定
├── discovery/config.yml 服务器列表、目标查找和标签补全
├── target/config.yml 跟随、传送和目标选择
├── gui/config.yml /vanish menu 的图形界面配置
├── audit/config.yml 审计记录
├── network/config.yml 跨服务器隐身同步
└── language/en.yml 语言文件
PlaceholderAPI 占位符
%vanish_is_vanished% %vanish_state% %vanish_profile%
%vanish_duration% %vanish_use_level% %vanish_see_level%
%vanish_target% %vanish_packet_layer% %vanish_sync_status%
%vanish_online_visible% %vanish_online_public% %vanish_hidden_total%
%vanish_public_chat_locked% %vanish_prefix% %vanish_suffix%
%vanish_online_visible% 占位符向管理员提供实际在线人数,向非管理员玩家显示公开人数,所有数据均来自同一个占位符。这使得一个记分板即可同时适用于管理员和非管理员玩家。当玩家可见时,%vanish_prefix% 占位符为空。
开发者 API
if (VanishAPI.isVanished(player)) {
return; // 不播报该玩家
}
if (!VanishAPI.canSee(viewer, target)) {
continue; // 将其从列表中排除
}
所有函数均具备空安全特性,在 VanishSystem 缺失时会优雅处理。isVanished 函数还会检查由 EssentialsX、PremiumVanish 和 SuperVanish 设置的常见隐身键。相关事件包括:PlayerVanishEvent、PlayerReappearEvent(两者均可取消),以及各自的 Post 版本、target、level、profile 和 visibility 事件。
Suggestions, bug reports or questions? Use the plugin feedback form.
VanishSystem
Vanishes a staff member and hides more than just the model of the player.
Vanish staff will no longer show up in the server list, tab completion, tab list or mob interaction. No player can step into them. With the addition of PacketEvents footstep sounds, scoreboard insertions and particles will also stop. Console and server log will still see them.
Overview
- Vanish self, another player or an offline player and have them log in as invisible. Timed vanish will automatically reappear.
- Job based profiles: observation, builder, strict-ghost and 6 others. These determine what the player may interact with and who may view the player.
- Lock chat during a vanish. Public chat is hidden during a vanish and can be unlocked with a click. This allows for personal messages to not be seen in public chat.
- Watch commands: follow, return, silent teleport and target. These all display the health, food, location, ping and coordinates of the target. There is also an option to view the target silently.
- An audit log exists for vanishes, forced un-vanishes, silent opening of chests and teleportations.
What can players see
| Without PacketEvents | With PacketEvents | |
|---|---|---|
| Player model, name completion, tab entry, hiding | hidden | hidden |
| Number of server list entries | adjusted (Paper) | filtered |
| Commands | visible | visible |
| "Player not found" | same | same |
| Footsteps, hurt, eating sounds | still sent | filtered |
| Sprint particles, crit particles | still sent | filtered |
| Scoreboard team entries | still sent | filtered |
| Mob targeting, arrows, pressure plates, collisions | prevented | prevented |
| Console, server output | visible | visible |
"Still sent" entries will only be visible from a client designed to detect them. The packet layer handles this.
Features
- Ghost mode: No collisions, arrows pass through, pressure plates and sculk sensors are silent, mobs stop targeting you and you no longer contribute to the sleep percentage
- Safety: protection from fire, freezing, hunger, air loss and damage. Rescue from the void and a check before being teleported to an unsafe location
- Per-profile restrictions: breaking, placing, containers, pickup, redstone, mounting, trading, etc. with individual permissions. All off by default
- Fake join/leave events, configurable per viewer. Leaves appear as normal leaving
- Silent chests: no sound or lid movement to anyone other than authorized users. Requires PacketEvents
- Multi-tiered visibility: Optional. If a helper has a low see level they cannot see if an admin has vanished. Use
/vanish whycanseeto see the reasons for a visibility change - Indicators: Default is action bar. Title, chat and boss bar indicators are also available. Staff can enable/disable these themselves
- Storage: Default is a plain file. MySQL, MariaDB and SQLite are also available
- PlaceholderAPI placeholders that only display information that the viewer is permitted to view
Extra Information
- If no PacketEvents are installed, ping updates, scoreboard team packets, particles, sounds will still leave the server. A modified client will see these, but a normal client will not.
/who,/listor other plugins output is not altered. If you specify commands in the config, these will return not found instead.- Viewer glow, silent chests and remaining in the tab list all require PacketEvents. Folia also disables glow.
- Server list hover on Spigot is filtered, but the amount may or may not be reduced. Paper implements this properly.
- On Sponge, invisibility is all or nothing. A hidden player cannot be seen even by other operators.
- Inventory viewing is not supported. Use a separate invsee plugin for this.
Details
Commands
The main command handles /v, /vs and /vanishsystem. It can be renamed in the config.
| Command | What it does |
|---|---|
/vanish |
Toggles your own vanish |
/vanish on|off [player] [flags] |
Explicitly sets visibility for yourself or another player |
/vanish timed <duration> [profile] |
Vanishes for a specified duration |
/vanish extend <duration> |
Extends a timed vanish |
/vanish offline <player> <on|off> |
Determines how an offline player will reconnect |
/vanish network <on|off> |
Determines if vanish operates locally or across the network |
/vanish profile <name> |
Switches profiles with no visible delay |
/vanish level <number> |
Changes their use level |
/vanish list [offline|network] |
Hidden players you are allowed to see |
/vanish status [player] |
Provides information on the visibility status of a player |
/vanish whycansee <viewer> <target> |
Provides information on a visibility decision |
/vanish revealto|hideto <player> [duration] |
Allows for one specific viewer |
/vanish pickup|xppickup <on|off> |
Allows for item/XP pickup while hidden |
/vanish fly <on|off|speed> |
Allows for flying while hidden |
/vanish nightvision|noclip <on|off> |
Allows for private mobility effects |
/vanish visibleintab <on|off> |
Allows for visibility in the tab list |
/vanish publicchat <lock|unlock|once> |
Locks public chat |
/vanish interact <lock|unlock> [duration] |
Locks interaction |
/vanish target <player|nearest|next|previous|clear> |
Selects a target to watch |
/vanish follow <player|off> |
Follows the target |
/vanish tp <player> |
Silently teleports to a player |
/vanish return |
Returns to a previously saved location |
/vanish fakejoin|fakequit [player] |
Sends a fake join or quit event |
/vanish audit [player] [limit] |
Provides access to audit logs you can view |
/vanish menu |
Opens the staff menu |
/vanish doctor |
Provides health checks |
/vanish debug confirm |
Creates a redacted support file and places it in debug-reports/ |
/vanish sync |
Sends network sync |
/vanish reload |
Reloads. A corrupt config will be rejected and the previous config will remain active |
Toggle flags: -s Silent, -t Stay in tab, -n Network scope, -p <profile>, -l <level>, -d <duration>, -r "<reason>", -c <case id>, --confirm, --dry-run, --no-return, --no-fake-message. Invalid or contradictory flags cause an error, not silent failure.
Permissions
Operators have all nodes except five: vanish.protected, vanish.exempttarget, vanish.notoggle, vanish.joinvanished and vanish.chat.bypass. These should be assigned to specific ranks rather than to operators.
| Node | Covers |
|---|---|
vanish.use |
Vanish yourself. Recommended for staff in addition to vanish.see |
vanish.see |
See vanished players |
vanish.use.others, .offline, .network, .timed |
Vanish another player, an offline player, network wide or a timed vanish |
vanish.silent, vanish.showintab |
Silent and show in tab flags |
vanish.revealto, vanish.hideto |
Per viewer reveal flags |
vanish.chat.bypass, vanish.chat.unlock |
Allow public chat while vanished |
vanish.interact.bypass, vanish.interact.unlock |
Bypass interact restrictions |
vanish.place, vanish.break, vanish.pickup, vanish.container and others |
One node per restriction |
vanish.fly, vanish.noclip, vanish.nightvision, vanish.spectator |
Flight and movement options |
vanish.follow, vanish.target, vanish.return, vanish.teleport |
Observation options |
vanish.audit, .audit.location, .audit.ip, .audit.reason |
View the log with private fields broken out |
vanish.protected |
Can not be forced reveal or toggle by lower ranked staff |
vanish.use.level.<n>, vanish.see.level.<n>, vanish.use.profile.<name> |
Profile and layered visibility from config |
vanish.admin |
Contains all staff tools nodes |
Configuration
Configurations are separated by feature, which allows each file to remain relatively small. All plugins have a main config in config.yml within each module. Configuration files are created on first use and are never overwritten during plugin updates.
plugins/VanishSystem/
├── config.yml Main config, storage, modules and PacketEvents
├── messages.yml All messages
├── indicators/config.yml Title, scoreboard, boss bar, sounds, action bar
├── visibility/config.yml Protected accounts, levels and who can see whom
├── announcements/config.yml Staff messages and fake join/quit
├── profiles/config.yml Bundles of settings with names
├── restrictions/config.yml Actions allowed for vanished players
├── ghost/config.yml Sensors, projectiles and collisions
├── safety/config.yml Safe reappear, hunger and damage
├── movement/config.yml Noclip, spectator and flight
├── containers/config.yml Silent chests
├── chat/config.yml Confirmation and chat locking
├── discovery/config.yml Server list, target lookups and tab completion
├── target/config.yml Follow, teleport and target
├── gui/config.yml GUI for /vanish menu
├── audit/config.yml Auditing
├── network/config.yml Cross server vanish
└── language/en.yml Language files
PlaceholderAPI
%vanish_is_vanished% %vanish_state% %vanish_profile%
%vanish_duration% %vanish_use_level% %vanish_see_level%
%vanish_target% %vanish_packet_layer% %vanish_sync_status%
%vanish_online_visible% %vanish_online_public% %vanish_hidden_total%
%vanish_public_chat_locked% %vanish_prefix% %vanish_suffix%
The %vanish_online_visible% placeholder provides the actual amount to moderators and the public amount to non-mods all from the same placeholder. This allows one scoreboard to work for both mod and non-mod players. The %vanish_prefix% placeholder is empty if the player is visible.
Developer API
if (VanishAPI.isVanished(player)) {
return; // don't announce this player
}
if (!VanishAPI.canSee(viewer, target)) {
continue; // leave them out of your list
}
All functions are null safe and will gracefully deal with a missing VanishSystem. The isVanished function will also check the common vanished key set by EssentialsX, PremiumVanish and SuperVanish. Events: PlayerVanishEvent, PlayerReappearEvent (both are cancelable), the Post versions of each, target, level, profile and visibility events.
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VanishSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
v1.1.10 更新日志
- 修复了当工作人员隐身时重启导致的踢出错误
- 修复了在 Folia 和 Canvas 下记分板队伍错误的刷屏问题
- 加入和离开消息现在可以使用 %online%、%max%、%world% 和 %uuid%
- 加入和离开消息现在支持 PlaceholderAPI
- 修复了隐身的工作人员仍显示加入和退出行消息的问题
- 如果 VanishSystem 启动失败,仅将工作人员排除在外
- 修复了许多会暴露隐身玩家位置的漏洞(例如钓鱼竿浮漂)
- 占位符不再向玩家显示隐藏的玩家数量
- 修复了在 1.17 到 1.19.2 版本中 PacketEvents 的错误
- 改进了所有语言的翻译
- 修复了其他漏洞
- 次要更新
v1.1.9 更新日志
- 更新了 18 种语言的翻译
- 未修改的语言文件现在可以自动更新
- 修复了
/minecraft:在受保护命令上仍可生效的问题 - 受保护命令模式中的拼写错误现在会在控制台中发出警告,而不是让命令执行
- 修复了一些 bug
- 一些小的改动
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧