Protect

一个专为API使用而设计的、类似WorldGuard的现代世界保护插件。

资源图片
# 保护 一个轻量级现代化的替代品,针对API使用进行了优化的WorldGuard * [命令](#commands) * [区域标志](#area-flags) * [权限包](#permission-packs) * [API](#api) BStats可以在[这里](https://bstats.org/plugin/bukkit/TheNextLvl%2520Protect/21712)找到 ## 命令 | 命令 | 描述 | 权限 | |--------------------------------------|---------------------------------------------------|---------------------------------------| | /area create [name] | 创建新的区域 | protect.command.area.create | | /area delete [area] | 删除现有的区域 | protect.command.area.delete | | /area flag info [flag] (area) | 查询区域标志信息 | protect.command.area.flag.info | | /area flag list | 列出所有现有的区域标志 | protect.command.area.flag.list | | /area flag set [flag] [value] (area) | 更改区域的指定标志 | protect.command.area.flag.set | | /area flag unset [flag] (area) | 重置区域的指定标志 | protect.command.area.flag.unset | | /area info (area) | 查询特定区域的信息 | protect.command.area.info | | /area list | 列出所有区域 | protect.command.area.list | | /area priority [priority] (area) | 更改区域的优先级 | protect.command.area.priority | | /area redefine [area] | 重新定义现有区域的范围 | protect.command.area.redefine | | /area schematic delete [area] | 删除区域的蓝图 | protect.command.area.schematic.delete | | /area schematic load [area] | 导入区域的蓝图 | protect.command.area.schematic.load | | /area schematic save [area] | 保存区域的蓝图 | protect.command.area.schematic.save | | /area select (area) | (世界编辑)选择现有区域的范围 | worldedit.selection.pos | | /area teleport [area] | 将自己传送到区域 | protect.command.area.teleport | ## 区域标志 | 标志 | 描述 | 值 | |---------------------------------------|------------------------------------------------------------------------------|--------------| | protect:enter | 启用/禁用进入区域 | true / false | | protect:leave | 启用/禁用离开区域 | true / false | | protect:armor_stand_manipulate | 启用/禁用盔甲架操作 | true / false | | protect:armor_washing | 启用/禁用盔甲清洗 | true / false | | protect:banner_washing | 启用/禁用旗帜清洗 | true / false | | protect:block_absorb | 启用/禁用方块吸收 | true / false | | protect:block_break | 启用/禁用方块破坏 | true / false | | protect:block_burning | 启用/禁用方块着火 | true / false | | protect:block_drying | 启用/禁用方块干燥 | true / false | | protect:block_fading | 启用/禁用方块褪色 | true / false | | protect:block_growth | 启用/禁用方块生长 | true / false | | protect:block_igniting | 启用/禁用方块点燃 | true / false | | protect:block_moisturising | 启用/禁用方块湿润化 | true / false | | protect:block_place | 启用/禁用方块放置 | true / false | | protect:block_spread | 启用/禁用方块蔓延 | true / false | | protect:cauldron_evaporation | 启用/禁用坩埚蒸发 | true / false | | protect:cauldron_extinguish_entity | 启用/禁用坩埚熄灭实体 | true / false | | protect:cauldron_level_change_unknown | 启用/禁用坩埚未知变化 | true / false | | protect:crop_trample | 启用/禁用农作物踩踏 | true / false | | protect:damage | 启用/禁用伤害 | true / false | | protect:empty_bottle | 启用/禁用清空瓶子 | true / false | | protect:empty_bucket | 启用/禁用清空水桶 | true / false | | protect:entity_attack_entity | 启用/禁用实体攻击实体 | true / false | | protect:entity_attack_player | 启用/禁用实体攻击玩家 | true / false | | protect:entity_interact | 启用/禁用实体交互 | true / false | | protect:entity_item_drop | 启用/禁用实体掉落物品 | true / false | | protect:entity_item_pickup | 启用/禁用实体拾取物品 | true / false | | protect:entity_shear | 启用/禁用剪除实体 | true / false | | protect:explosions | 启用/禁用爆炸 | true / false | | protect:fill_bottle | 启用/禁用填充瓶子 | true / false | | protect:fill_bucket | 启用/禁用填充水桶 | true / false | | protect:hanging_break | 启用/禁用悬挂实体破坏
(画作,物品框) | true / false | | protect:hanging_place | 启用/禁用悬挂实体放置
(画作,物品框) | true / false | | protect:hunger | 启用/禁用饥饿 | true / false | | protect:interact | 启用/禁用方块交互 | true / false | | protect:leaves_decay | 启用/禁用树叶腐烂 | true / false | | protect:natural_cauldron_fill | 启用/禁用自然原因下坩埚填充
(滴水石,瀑布)| true / false | | protect:natural_entity_spawn | 启用/禁用自然实体生成 | true / false | | protect:physics | 启用/禁用物理 | true / false | | protect:player_attack_entity | 启用/禁用玩家攻击实体 | true / false | | protect:player_attack_player | 启用/禁用玩家攻击玩家 | true / false | | protect:player_item_drop | 启用/禁用玩家掉落物品 | true / false | | protect:redstone | 启用/禁用红石 | true / false | | protect:shoot | 启用/禁用发射投掷物 | true / false | | protect:shulker_washing | 启用/禁用守卫者清洗 | true / false | | protect:time | 更改区域内的时间 | 长整型 | | protect:farewell | 离开区域时向玩家发送的消息 | 字符串 | | protect:greetings | 进入区域时向玩家发送的消息 | 字符串 | | protect:weather | 更改区域内的天气 | DOWNFALL / CLEAR | ## 权限包 权限包通过提供捆绑选项来简化服务器管理,而不是处理大量单独的权限。 ### protect.admin 允许玩家管理所有区域并绕过所有限制 protect.command.area.create protect.command.area.delete protect.command.area.manage protect.bypass.admin ### protect.bypass.admin 允许玩家绕过任何限制 protect.bypass.build protect.bypass.break protect.bypass.interact protect.bypass.entity-interact protect.bypass.trample protect.bypass.enter protect.bypass.leave protect.bypass.empty-bucket protect.bypass.fill-bucket protect.bypass.empty-bottle protect.bypass.fill-bottle protect.bypass.wash-banner protect.bypass.wash-shulker protect.bypass.wash-armor ### protect.command.area 允许玩家以非破坏性方式与区域交互 protect.command.area.flag.info protect.command.area.flag.list protect.command.area.info protect.command.area.list ### protect.command.area.flag 允许玩家管理区域标志 protect.command.area.flag.info protect.command.area.flag.list protect.command.area.flag.set protect.command.area.flag.unset ### protect.command.area.manage 允许玩家管理现有的区域 protect.command.area protect.command.area.flag protect.command.area.priority protect.command.area.redefine protect.command.area.schematic ### protect.command.area.schematic 允许玩家管理区域蓝图 protect.command.area.schematic.delete protect.command.area.schematic.load protect.command.area.schematic.save ## API https://repo.thenextlvl.net/#/releases/net/thenextlvl/protect/api