配置文件位于 ./config/vanish.hocon。使用 /vanish reload 重新加载它。
消失 如何安装 从 GitHub、Modrinth 或 CurseForge 下载 .jar 文件 将文件放入你的 mods 文件夹 重启你的服务器! 功能特性 你完全隐形且 无法被探测到 没有打开/关闭容器(箱子、桶、末影箱和潜影盒)的动画 你不会发出声音(放置、破坏、行走、使用物品等...) 你从命令选择器中移除( /msg , /gamemode ...) 你从 /list 命令中移除 你不出现在服务器列表的玩家样本和玩家计数中 你不会阻碍方块放置 你的进度、死亡、加入/离开消息等都被隐藏 在消失/取消消失时发送假的加入/离开消息 对实体隐藏 支持 Bluemap 支持 Dynmap 支持 Squaremap 隐藏睡眠状态 从玩家计数中排除消失的玩家 阻止方块交互(压力板、滴水叶、绊线、耕地、红石矿石、幽匿传感器/幽匿尖啸体和海龟蛋) 阻止玩家振动(幽匿传感器/幽匿尖啸体和监守者) 阻止生物生成 阻止区块加载/生成 阻止实体碰撞 阻止拾取实体(箭矢、经验球、物品和三叉戟) 阻止特殊生物生成(刷怪笼、骷髅陷阱、僵尸增援、袭击、幻翼) 阻止横扫之刃攻击玩家 阻止发射器装备盔甲 阻止试炼刷怪笼检测 阻止宝箱检测 隐藏可追踪的实体(箭矢、烟花火箭、钓鱼竿等...) 隐藏玩家航点 (1.21.6+) 配置 配置文件位于 ./config/vanish.hocon 。使用 /vanish reload 重新加载它。 # Show vanish status in the action bar action-bar=true # Prevents vanished players from using chat disable-chat=true # Prevents vanished players from using /msg disable-msg=true # Hide vanished players from entities, prevents hostile entities from targeting players, and more hide-from-entities=true # Prevent vanished player world interactions interaction { # Prevent progressing advancements advancement-progress=false # Prevent block interactions (pressure plates, dripleaf, tripwire, farmland, redstone ore, sculk sensor/shrieker and turtle egg blocks=true # Prevent chunk loading / generation chunk-loading=false # Prevent entity collisions entity-collisions=true # Prevent entity pickups (arrows, experience orbs, items and tridents) entity-pickup=true # Prevent mob spawning mob-spawning=true # Prevent player vibrations vibrations=true } # Text to be displayed when placeholder vanish:vanished is used for a vanished player place-holder-display=" <gray>☠" 命令 /vanish - 切换隐身状态 /vanish reload - 重新加载配置文件 /vanish on <players> - 为其他玩家启用隐身 /vanish off <players> - 为其他玩家禁用隐身 权限 您需要是操作员或拥有以下权限才能使用此模组 vanish.command.vanish - 访问 /vanish 命令 vanish.command.vanish.reload - 使用 /vanish reload 重新加载配置 vanish.command.vanish.other - 设置他人的隐身状态 vanish.feature.view - 查看隐身的玩家 元键 vanish_on_join : true - 始终加入已消失的 占位符 vanish:vanished - 如果玩家处于隐身状态,则显示文本(可通过配置自定义) vanish:online - 查看该占位符的玩家能够看到的人数 开发者 将 Modrinth Maven 仓库添加到你的 build.gradle . repositories { // There might be other repos there too, just add it at the end maven { url "https://api.modrinth.com/maven" } } 将 vanish 声明为可选依赖项! dependencies { // You will have other dependencies here too modCompileOnly "maven.modrinth:vanish:[VERSION]" } 在使用 API 之前,你需要确保模组已实际加载,通过检查 FabricLoader.getInstance().isModLoaded("melius-vanish"); . 如果模组存在,你可以使用 VanishAPI 和 VanishEvents 来集成你自己的模组。 数据包 数据包可以使用实体谓词如 vanish:visible 来检查实体是否处于隐身状态。你应该将此谓词添加到你的数据包中,并用于检查玩家 是否对其他玩家可见(考虑隐身效果)。当未安装隐身模组时,它被设计为返回 true 以保持与原版兼容。
在鱼乐云资源中心浏览该资源,登录后可一键安装到你的游戏服务器。