PotionEffectsRemover

一个用于禁用某些药水效果的Minecraft插件。

资源图片
[download]: https://img.shields.io/github/downloads/HydrolienF/PotionEffectsRemover/total [downloadLink]: https://hangar.papermc.io/Hydrolien/PotionEffectsRemover [discord-shield]: https://img.shields.io/discord/728592434577014825?label=discord [discord-invite]: https://discord.gg/RPNbtRSFqG [ ![download][] ][downloadLink] [ ![discord-shield][] ][discord-invite] [**Discord**](https://discord.gg/RPNbtRSFqG) | [**Hangar**](https://hangar.papermc.io/Hydrolien/PotionEffectsRemover) | [**Modrinth**](https://modrinth.com/plugin/potioneffectsremover) | [**Spigot**](https://www.spigotmc.org/resources/potioneffectsremover.116610/) | [**GitHub**](https://github.com/HydrolienF/PotionEffectsRemover) # PotionEffectsRemover Minecraft 插件,用于禁用某些药水效果。 支持 **Paper** 分支,包括 **Folia**,适用于 1.20 版本及以后的版本。(请参阅发行版中的版本兼容性) 1.20 之前的版本将不受支持。 ## 安装 下载最新版本。 将其放置在服务器文件中的 `plugins/` 文件夹中。 首次启动后,您可以在 `plugins/PotionEffectsRemover/config.yml` 中编辑配置文件。 ## 测试 要测试插件,您需要 Java 21+ 来编译和打包:`./gradlew assemble`。 插件文件将位于 `build/libs/` 文件夹中。 然后您需要一个运行 PaperMc 或其分支的 1.20 Minecraft 服务器来运行它。 ## 配置文件 编辑 `plugins/PotionEffectsRemover/config.yml`。 唯一需要的设置是 `disabledPotionEffects`,它确定哪些药水效果将被禁用。 您还可以选择定义一些绕过,以便玩家能够拥有被禁用的药水效果。 绕过可以是游戏模式,例如所有在创造模式中的玩家可以拥有被禁用的药水效果。 绕过可以是原因,例如如果药水是通过命令设置的,那么它就不会被禁用。 `affectOnlyPlayers` 允许您仅为玩家或所有实体禁用药水效果。 ## 统计 [![bStats Graph Data](https://bstats.org/signatures/bukkit/PotionEffectsRemover.svg)](https://bstats.org/plugin/bukkit/PotionEffectsRemover/21741)