Road Protector
一款简单高效的插件,旨在保护区域免受破坏。与其他类似插件的主要区别在于,它不会将受保护区域的信息保存到数据库或文件中;其特定的模块化特性允许以任意形式组合受保护区域,因此您可以轻松保护蜿蜒的道路;同时保留了在受保护领土下方破坏方块以及在其上方建造的功能。
如何使用?
只需放置“保护者”方块(默认为基岩),即可在该方块周围创建一个特定大小的“力场”(半径、深度和高度均可配置)。当您放置其他方块时,受保护的区域就会扩大。为了方便起见,插件提供了特殊的法杖模式,您可以在需要保护的表面上右键点击法杖(默认为黏土),轻松地将保护者方块埋入地下(低于1个方块)。如果需要在受保护区域内建造,可以使用插件提供的编辑模式,或者切换到创造模式。
简短视频教程
更多视频
快速通道 (Speedways)
如果您创建了道路并使用 RoadProtector 进行了保护,可以在道路上启用快速冲刺功能。命令 /rp speedway 用于切换快速通道模式。首先,您必须定义道路的路面方块:即道路的顶层方块。例如,如果您使用碎石和台阶来建造道路,则必须将方块 13、43、44 定义为“加速方块”(使用命令 /rp speedblock 13,43,44)。然后,您需要定义道路上的冲刺速度:/rp speed <speed>。默认速度值设为 0,相当于速度药水效果等级 1。拥有权限 roadprotector.speedway 的玩家现在可以在道路上非常快速地奔跑。行走速度不会改变,玩家将以正常速度行走。
如何移除保护
由于该插件是为服务器管理设计的,因此您可以使用创造模式或任何编辑器(例如 Voxel Sniper)来移除方块层。此外,如果您将其他方块(例如海绵)定义为“保护者”,则该方块可以通过常规方式在编辑模式下被破坏。
权限
- roadprotector.edit — 允许使用 RP 法杖并在受保护区域进行建造(玩家必须切换到编辑模式)
- roadprotector.config — 允许使用配置命令
- roadprotector.speedway — 允许在快速通道上快速冲刺
- roadprotector.walk — 允许使用行走模式(边走边自动保护区域)
命令
- /rp help
- /rp edit — 启用/禁用编辑模式。
- /rp wand — 启用/禁用“保护者法杖”
- /rp walk — 启用/禁用“行走模式”
- /rp unpr [radius] — 移除指定半径范围内所有保护者方块(如果省略半径,将移除影响玩家位置的所有保护者方块)
- /rp crmode — 启用/禁用使用创造模式作为编辑模式
- /rp reload — 从 config.yml 重新加载配置
- /rp cfg — 显示当前配置
配置命令
- /rp w [radius] — 设置“半径”,决定防护区的水平尺寸。
- /rp h [height] — 受保护区域的高度
- /rp d [depth] — 受保护区域的深度
- /rp swlist — 设置受保护的“开关”类方块(门、按钮、拉杆、箱子等...)。默认列表:54,61,62,64,69,77,96,84,107,23。如果列表为空,则仅激活建造/破坏保护。
- /rp explace — 设置允许放置的方块列表(默认:60,59)
- /rp exbreak — 设置允许破坏的方块列表(默认:59,31)
- /rp prtmsg <message text> — 设置破坏和放置方块时的警告消息。如果为空,则使用默认消息。
- /rp swmsg <message text> — 设置尝试点击 /rp swlist 中定义的方块时的警告消息。如果为空,则不显示消息。
- /rp prblock [block id] — 设置保护者方块(默认为 7 - 基岩)
- /rp unprblock [block id] — 设置非保护者方块(默认为 3 - 泥土)
- /rp setwand — 更改“保护者法杖”(默认为 337 - 黏土)
- /rp walkroad — 切换 walkroad 模式。如果启用,行走模式仅在道路(快速通道)上激活
- /rp effect — 切换效果/消息。如果开启效果,您将看到安装在保护者方块上方的视觉效果,而不是聊天中的消息
- /rp efftype — 设置效果类型:0 - 烟雾,1 - 火焰,2 - 末影信号,3 - 音效(点击声)
- /rp explosion — 切换爆炸保护模式
- /rp snowblower — 切换除雪机模式(防止积雪生成)
- /rp speedway — 切换快速通道模式
- /rp speed <speed> — 定义快速通道的冲刺速度
- /rp speedblock <id1,id2,...,idN> — 定义快速通道上的路面方块
- /rp lava — 切换熔岩流动保护模式
- /rp water — 切换水流保护模式
v0.1.3 版本更新
- 除雪机:现在您可以保护您的道路免受积雪形成的影响!(别忘了为您的道路定义路面方块)
Road Protector
Simple and effective plugin designed to protect area from destruction. The main difference from other similar plugins is the lack of saving information about protected area in databases or in file; certain modularity, which allows combine protected areas in any forms, so you can easy protect even a winding road; maintaining the possibility of destroying blocks under the protected territory and building over it.
How to use it?
Just place the "protector" block (default - bedrock) and you will create a create a "force field" of certain size (radius, depth, height are configurable) around that block. When you place other block, you increasing protected are. For convenience provided special wand-mode in which you can easily bury the protector (under 1 block) by right clicking with the wand (default - clay) on the surface of area, that you need to protect. If necessary to build something in protected zone, you can use the edit mode provided by plugin, or switch to creative mode.
Small video tutorial
Additional videos
Speedways
If you created a road and protect it using RoadProtector you can enable fast-sprinting at the roads. Command /rp speedway will toggle the speedway mode. First you must define road pavement blocks: it's a top block of your roads. For example if you using gravel and slabs to build roads you must define blocks 13,43,44 as a "speed blocks" (use command /rp speedblock 13,43,44). Than you need to define sprinting speed at your roads: /rp speed <speed>. Default speed value is set to 0 and it equal to effect of speed-potion level 1. Player with permission roadprotector.speedway now can sprint very fast on the road. Walking speed will not modified, player will walk with normal speed.
How to remove the protection
Since the plugin is designed for server administration, then you can use the creative-mode or any editor for example Voxels Sniper and remove the block tread. In addition, if you define as a "protector" any other block, for example a sponge, this block can be destroyed in the edit mode in the usual way.
Permissions
- roadprotector.edit — allow to use RP-wand and construct at protected area (player must switch to edit mode)
- roadprotector.config — allows to use configuration commands
- roadprotector.speedway — allows to fast-sprint at speedways
- roadprotector.walk — allows to use walk-mode (auto protect areas while walking)
Commands
- /rp help
- /rp edit — enable / disable the edit mode.
- /rp wand — enable / disable the "protector wand"
- /rp walk — enable / disable the "walk mode"
- /rp unpr [radius] — remove all protector-blocks around area defined by radius (if radius is skipped, will remove all protector affected to player location)
- /rp crmode — enable/disable of using creative mode as edit mode
- /rp reload — reload configuration from the config.yml
- /rp cfg — display current configuration
Configuration commands
- /rp w [radius] — set the "radius", which determines the horizontal dimensions of the protective zone.
- /rp h [height] — height of the protected area
- /rp d [depth] — the depth of the protected area
- /rp swlist — set the "switch" blocks to protect (doors, buttons, levers, chests, etc...). Default list: 54,61,62,64,69,77,96,84,107,23. If list is empty only build/break protection will be active.
- /rp explace — set this list of block allowed to place (default: 60,59)
- /rp exbreak — set this list of block allowed to break (default: 59,31)
- /rp prtmsg <message text> — set warning message when building and breaking blocks. If empty, will use default message.
- /rp swmsg <message text> — set warning message when try to click blocks from /rp swlist. If empty, message will not displayed.
- /rp prblock [block id] — set the protector-block (default is 7 - bedrock)
- /rp unprblock [block id] — set the unprotector-block (default is 3 - dirt)
- /rp setwand — change the "protector wand" (default is 337 - clay)
- /rp walkroad — toggle walkroad mode. If enabled walk mode will be activated only at roads (speedways)
- /rp effect — toggle effects/message. If effects on, you will see effect above the installed protector block instead of message in chat
- /rp efftype — set effect type: 0 - smoke, 1 - flames, 2 - ender signal, 3 - sound effect (click)
- /rp explosion — toggle explosion protection mode
- /rp snowblower — toggle snowblower (protection from snowforming)
- /rp speedway — toggle speedway mode
- /rp speed <speed> — define speedway sprinting speed
- /rp speedblock <id1,id2,...,idN> — define pavement block at speedways
- /rp lava — toggle lava-flow protection mode
- /rp water — toggle water-flow protection mode
Changes in v0.1.3
- Snowblower: Now you can protect your roads from the snow-forming! (Don't forget to define pavement blocks for your road)
评论 0
登录后参与评分
还没有评论,来抢沙发吧