跳到正文

Selective Vanish

作者:KamKeyke

Server-side add-on for VanishMod that adds selective visibility control.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🦝 About 🦝

SVanish is a simple server-side add-on for VanishMod. It introduces selective visibility control, allowing you to choose exactly who can see vanished players.

‼️ Server-side mod:
SVanish only needs to be installed on the server. Clients are not required to install it.


✨ Features ✨

The original VanishMod includes a similar feature, but it relies on Minecraft’s /team system and it is disabled by default.

SVanish uses its own server-side SavedData system. This allows you to manage visibility permissions independently, without interfering with your server’s teams or whatever.

  • Independence: No /team configuration required.
  • Persistence: All data is saved directly in the server’s world data.
  • Bulk Management: Manage multiple players at once using player lists.
  • Player Cache: Players who have previously joined the server can be referenced even when they are offline.

Perfect for SMP and RP-focused servers!


🔗 Compatibility 🔗

  • Requires VanishMod
  • Requires RaccoonCore (must be installed on both server and client)
  • Designed for Forge (I didn’t learn NeoForge yet lol)
  • Should work fine with any other mods! But if it doesn’t, please let me know by opening an issue here or on GitHub!

💻 Commands & Syntax 💻

SVanish commands can be used through either /sv or /svanish. Player arguments support individual player names as well as comma-separated player lists using the {player1,player2,...} syntax. Players can also be selected from the server’s known-player cache, allowing offline players to be referenced.

Command Description
/sv allow <viewers> see <targets> Allows the specified viewers to see the specified players while vanished.
/sv deny <viewers> see <targets> Revokes the specified viewers’ permission to see the specified players while vanished.
/sv clear <targets> Removes all selective visibility permissions for the specified players.
/sv get <targets> Prints a list of all players who can currently see the specified targets.
/sv cached knownPlayers Displays all players currently stored in the known-player cache.

💡 Examples

  • /sv allow KamKeyke see Alio – Allows KamKeyke to see Alio when vanished.
  • /sv allow group {KamKeyke, Koretzy} see Alio – Allows KamKeyke and Koretzy to see Alio when vanished.
  • /sv deny KamKeyke see Alio – Revokes Kamkeyke’s permission to see Alio in vanish; now only Koretzy can.
  • /sv clear Alio – Now no one can see Alio in vanish anymore.
  • /sv allow KamKeyke see Alio – Allows KamKeyke to see Alio while Alio is vanished.
  • /sv allow {KamKeyke,Koretzy} see Alio – Allows both KamKeyke and Koretzy to see Alio while Alio is vanished.
  • /sv allow KamKeyke see {Alio,Koretzy} – Allows KamKeyke to see both Alio and Koretzy while they are vanished.
  • /sv allow {KamKeyke,Koretzy} see {Alio,Hiaku} – Allows both KamKeyke and Koretzy to see both Alio and Hiaku while they are vanished.
  • /sv deny KamKeyke see Alio – Revokes KamKeyke’s permission to see Alio while vanished.
  • /sv clear Bacalhau – Removes all selective visibility permissions for Bacalhau. Now no one can see them while they are vanished.
  • /sv get Bacalhau – Displays all players who currently have permission to see Alio while vanished.
  • /sv cached knownPlayers – Displays all players currently stored in the server’s known-player cache. Primarily for development purposes.

❤️Support Me❤️

As you may already know, modding isn’t easy and takes a long time. So if you like what I do and would like to support me, you can tip me on ko-fi. One day i’ll think on a good reweard for tippers!

ko-fi

常见问题

Selective Vanish 支持哪些 Minecraft 版本?

Selective Vanish 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Selective Vanish 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

KamKeyke 的其他作品

查看全部 →