Potion Protection by aciid.
Potion Protection 为玩家提供了一种简单的方法,只需投掷药水即可创建 WorldGuard 区域。

插件更新通知
请订阅文件更新,以便尽快收到邮件通知(在 Bukkit 审核通过之前)
必需 依赖项
功能特性:
PotionProtection 允许你将任意药水与立方体形状的 WorldGuard 区域(高度可配置)关联。当玩家投掷该药水时,会在撞击位置自动创建一个 WorldGuard 区域。 你可以定义区域的大小、使用的药水类型;借助权限控制,还能限制玩家在每种世界中能创建的最大药水区域数量以及允许的药水种类。此外,还支持为新建区域自动添加 WorldGuard 标志、在区域周围生成栅栏或边界等更多功能!
- 支持多世界
- 自定义最大区域数量的权限设置
- 药水和区域大小均可配置
- 直接调用 WorldGuard 和 WorldEdit 的 API
- 为新创建的区域自动应用 WorldGuard 标志
- 可配置的区域围栏/边界
- 可选为创建围栏/边界的玩家收费
- 传送至指定区域和/或使用具有相应权限的传送标志
- + 更多功能
当配置得当时,此插件不会干扰游戏体验,因为存在一些未被使用的药水,PotionProtection 可设置为使用这些药水(这些药水无法由玩家合成,且在游戏中的实际效果为零)。
如何使用 Potion Protection:
命令与权限
配置
config.yml
fence.yml
worlds.yml
flags.yml
阻止玩家在无区域的情况下建造
若要阻止玩家在某个世界中建造,除非他们位于某个区域内,则必须
使用 __global__ 区域。这是一个横跨整个世界的全局区域。
要设置全局建造标志,请登录该世界并在游戏内输入以下内容:
/region flag __global__ build deny
注意双下划线。
这将把 __global__ 区域添加到你的 WorldGuard/worlds/world/regions.yml 中
如有任何错误,请报告!
请报告任何错误/问题,说明你正在尝试做什么、实际发生了什么,并附上所有错误信息!
Potion Protection by aciid.
Potion Protection gives players an easy way to create worldguard regions
simply by throwing a potion.

Plugin Update Notifications
Please subscribe to File Updates to be emailed ASAP (before bukkit approval)
Required Dependencies
Features:
PotionProtection allows you to assign cuboid shaped WorldGuard regions (configurable height) to any potion so that when that potion is thrown by a player, a WorldGuard region is automatically created at the impact location. You can define the size of the region, the potion to use, and with permissions you can limit the maximum amount of potion regions players can create in each world, and with what potions, you can add automatic worldguard flags, spawn a fence or border around the region, and more!
- Multiworld
- Custom maximum amount of region permissions
- Configurable potion and region size
- Directly uses WorldGuard's and WorldEdit's API
- Automatic WorldGuard flags for newly created regions
- Configurable region fence/borders
- Option to charge players for creating fence/borders
- Teleport to regions and/or use teleport flag with permission
- + more
When configured properly this plugin will not interfere with gameplay because there are a handful of unused potions which PotionProtection can be set to use (these potions can not be crafted by players and have no effect ingame).
How to use Potion Protection:
Commands & Permissions
Configuration
config.yml
fence.yml
worlds.yml
flags.yml
Stop players building without a region
To stop players from building in a world unless they are inside a region you must
use a __global__ region. This is a region that spans accross an entire world.
To set the global build flag, login to the world and type the following in-game:
/region flag __global__ build deny
Note the double under_scores.
This will add the __global__ region to your WorldGuard/worlds/world/regions.yml
Please report any bugs!
Please report any bugs/issues, explaining what you were trying to do, what happened, and include all error messages!
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
下载 PotionProtection
本插件现在需要 WORLDGUARD、WORLDEDIT 和 VAULT
v1.1b
- 适配 1.5.2-R02
v1.0b
- 适配 1.5.1-R01
v0.9b
- 适配 1.5-R01
v0.8b
- 调整了自动配置更新器
- 修复了一些尚未转换为 Vault 的权限检查问题
- 修复了部分命令在控制台无法使用的问题
- 修复了大量因配置文件为空而抛出的异常。
v0.7b
- 1.4.7-r1.1
- 添加了自动插件更新功能(在服务器重启后应用),默认在 config.yml 中启用
- 修复了配置更新器
- 所有权限查询现在均通过 Vault 进行,因为它已经是必需的依赖项
v0.6b
注意:potionprotection.admin.spawnpotions 已更改为 potionprotection.admin.spawnpotion.potionID
- 兼容 1.4.7-r0.2
- 增加了药水生成命令的更多权限
- 根据规则将 CI 链接替换为 devbukkit 页面
v0.5b
- 1.4.6-r0.4
- 栅栏边框功能效率大幅提升
- 修复了一些权限问题
- 重新排序了部分代码,将监听器优先级改为正常
v0.4.1b
- 1.4.6-r0.2
- 修复了离线玩家权限检查(影响大量命令)
- 修复了最大区域数量判断逻辑 = 而非 (影响大量命令..)
- 更多让我看起来像个业余选手的功能
v0.4b
- 1.4.6 兼容性
- 修复了参数拼接错误(我刚搞坏的那个大眼瞪小眼 >.>)修复了问候语/告别语
- 完成了添加/删除成员/所有者命令的代码编写(我怎么忘了..)
- 修复了最大区域检查(应按降序检查权限)
v0.3b
- 修复了传送标志的高度
- 移除了意外留下的刷屏调试信息
- 修复了参数拼接并去除了前导空格
- 管理员命令现在也可对离线玩家生效
- 修复了替换边框命令
- 修复了配置文件(布尔值不应使用引号,蠢货)
v0.2b
[b]请重新生成配置文件!(删除并重新加载)[/b]
- 修复了 fence.yml 中的允许浮动选项
- 重写了 commandHandler 以提高效率
- 添加了 teleprompt 选项,若未设置位置则在传送时通知玩家
- 小幅性能优化
- 修复了各处的一些烂摊子
- 添加了当站在区域内时使用的 /pp info 命令。
v0.1b
建议重新生成配置文件,内置更新器会移除 YAML 文件中的所有注释。
- 向后兼容最新的 CB API 变更(自 12 月 1 日起)
- 添加了自动配置更新器(注意它会移除配置文件注释)
- 添加了按世界划分的区域 Y/高度设置
- 现在投掷药水时会检查是否在启用的世界中(蠢货)
- 大量的小 Bug 修复和优化
- 更多我醉得太厉害记不起来的东西
v0.1
插件发布! 部分功能和命令可能存在 Bug,但核心插件功能似乎运行良好!
如有任何 Bug/问题,请报告!!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧