GeneralPVP

普通 PVP 配置:床/水晶/锚点 PVP 禁用器,物品限制器,药水限制器,附魔限制器

资源图片
![Dependencies](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/Dependencies.png?raw=true) * [**BukkitOfUtils**](https://modrinth.com/plugin/bukkitofutils) ![Discord](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/JoinTheDiscord.png?raw=true) 请加入Streamline Hub Discord 以获取更新,并让我更好地帮助您解决错误、问题或提出建议。 Discord: [**点击这里**](https://dsc.gg/streamline) ![Summary](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/Summary.png?raw=true) 适用于任何 PVP 服务器的一站式插件。 您只需使用这个一个插件,就可以删除五个插件! ### 主要功能 - 禁用 PVP 类型: - 晶体 PVP。 - 仅当爆炸晶体周围 15 个方块内没有其他玩家(除了正在引爆晶体的玩家)时,才允许晶体爆炸。 - 允许与末影龙战斗。 - 床 bombing PVP。 - 仅当爆炸晶体周围 15 个方块内没有其他玩家(除了正在进行床 bombing 的玩家)时,才允许床 bombing。 - 这允许玩家仍然可以 bombing 床来获取下界合金。 - 锚 PVP。 - 完全禁用或完全允许重生锚爆炸。 - 当锚“爆炸”并且锚 PVP 被禁用时,锚将不会爆炸,也不会允许您在其中放入更多的日光石。 - 项目限制器。 - 阻止或限制玩家可以拥有的物品数量。 - 药水限制器。 - 阻止或限制药水的强化程度。(例如:最大为`速度 I`) - 附魔限制器。 - 阻止或限制附魔的强化程度。(例如:最大为`保护 III`) ![Why This?](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/WhyThis.png?raw=true) - 轻量级。 - 1 个插件而不是 5 个插件。 - 容易配置。 ![How to Install](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/HowToInstall.png?raw=true) 1. 下载并安装 BukkitOfUtils。 可以在这里找到:[**BukkitOfUtils**](https://modrinth.com/plugin/bukkitofutils) 2. 下载适合您服务器版本的此插件。 3. 放入您的 `plugins` 文件夹中。 4. 停止服务器。 5. 启动服务器。 6. 按照您的喜好使用。 ![More Info](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/MoreInfo.png?raw=true) ## 配置帮助 **项目配置** ```yaml # 项目配置。 items: # 掉落多余的物品到地面。 drop-excess: true # 如果ENCHANTED_GOLDEN_APPLE 应该像 GOLDEN_APPLE 一样对待。 # 如果为 true,则将材质设置为 GOLDEN_APPLE。 all-golden-apples-similar: true totems: material: TOTEM_OF_UNDYING # 您想要限制的物品的 Bukkit 材质。 max-amount: 1 # 玩家在他们的物品栏中可以拥有的该物品的最大数量。 ``` **药水配置** ```yaml # 药水配置。 potions: strength: type: STRENGTH # 您想要限制的药水的 Bukkit 药水类型。 amplifier: 2 # STRENGTH II 及以上会被阻止 (请记住,2 = 仅允许强度 I。) ``` **附魔配置** ```yaml # 附魔配置。 enchantments: protection: # 附魔类型。 # 注意: # - 它可以是 Bukkit 附魔。 # - 它可以是一个键。(例如 "minecraft:protection"。) # - 没有 ":" 表示它是默认的(Minecraft 提供的)附魔类型。 type: "protection" amplifier: 4 # PROTECTION IV 及以上会被阻止 (请记住,4 = 仅允许最多 Protection III。) ``` ![Commands and Permissions](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/CommandsAndPermissions.png?raw=true) ## 命令 * `/gpvpreload` * 重新加载配置。 * 注意:这实际上是不需要的,因为它会自行重新加载配置。