Road Protector
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
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)
@CoolKill3r
Ok, I'll add this parameter to config. Thank you for suggestion :)
Could you make it so like, that in the config you can put how long the potion effect for speedwalking lasts. I want this because the fact that running doesnt go smooth on the server and i like to make it from 0 to 1/2 seconds, to make it work better, its just mainly for fun to my server.
If u could do that it would be awesome. -Inu
@fromgate
In the mean time, I've simply switched my "protect" block to a sponge. I figure I "shouldn't" have those used for building anywhere in my worlds, but I think having some sort of exclusion list might be really handy for some.
@CJHacker
Hmm... I think I can add exclusion list (for worlds, or defined WorldEdit regions)
@fromgate
Hey fromgate, is there a way to disable protection in an area/world? I was just testing out ultimate skyblock, but since it has bedrock under the "island" it sees it as protected and won't let me open chests. Is there a perm I can give in this world, or some way to get around this? For now I'm removing chests from the protected-switch-list. Thanks!
@CJHacker
Strange. I'm not sure that there is a code in RoadProtector that could produce same effect. But I will test it... If I anything strange in RoadProtector I will fix it. Thank you for reporting.
One more question.
When im protecting with Block, and im switching rp edit on. Who can now edit? Only me or all players?
-> I already tested.. looks like -> Only me?
Thx4reading
nice plugin!!!
@fromgate,
hi. do i have 2 protect every single block using rp wand?
i tried 2 use a protector block, and i protected every single stone by using rp wand, and i gave permissions 2 roadprotector.speedway.
What is wrong? Thx 4 help..
sry its not a very useful comment. I will try it out again.
@elahrairah
To build a speedway you need build roads using the speedblocks. Then you need to protect road. And don't forget to enable speedways (/rp speedway)
@fromgate
i disabled java flow, water flow protection.. and i did not get an error yet.
The java error sad.. something: already decorated..
I will post it if this happens again.
I'm trying 2 build speedroads, but i think i'm 2 stupid.
Used blocks: /rp speedblock 13,43,44
Thx allready! :)
@elahrairah
Thank to you too :)
Sure, if you find any strange error messages with my plugins please send it to me, I will try to find a reason and fix it.
Hi, thank you 4 this plugin. Im using it 2 protect spawn area.
I got sometimes java errors.. i will post them if this happens again.
I think its because of creeps, damaging that area but still not sure.
@ThisisSpartaaaaaaa
Thank you :)
About your suggestion. I'm not planning to add new type of protector blocks. But I thinking about changing the plugin mechanics in future. New mechanics will allow to use different sizes for protected area.
@fromgate Solved. It's all good now :) now i use this plugin to protect streets, house and constructions. This is so much easyer to use than other plugin. fantastic! advice for version 1.4: if it possible, setting other materials for other range protection (ex: cobble, w:5 h:3 d:2 bedrock, w:8 h :4 d:3) for using on bridges or large streets easyer!
Thanks for all and sorry for bad english (i'm italian) :)
@ThisisSpartaaaaaaa Strange. You need to check you region settings (owners?) and check the RoadProtectors configuration. May you're in creative and crmode (/rp crmode) is enabled?
@CJHacker Thank you :)
Protection from snow-forming was in my plans, but I forget about it because solve this problem with my other plugin - MonsterFix.
Now, after your suggestion, I added this feature, and you can use v0.1.3, that include a snow-blower for the speedways :)
v.0.1.3
http://dev.bukkit.org/media/files/645/308/RoadProtector.jar
This has been a very useful plugin for me! Great idea! The only thing I can think of that would be nice, is something to prevent snow from accumulating on my roads. People keep getting lost in my snow biomes because the snow is covering the roads. Is this something that is possible to add? Keep it up!
@fromgate What a strange word, lol :) However, in my "server" if I set a region with /region claim and unfortunely the region has blocks in common with the range of the protector block, the part of the region that is not inside that range is not protect.
@ThisisSpartaaaaaaa
Thank you! Yes you can disable prefix "[RP]" if define "best-kind-of-donation: chocolate" line in config.yml :) There's no any conflicts with other protection/private plugin. At our server we use RoadProtector, WorldGuard and Towny without any problems.
Very good plugin!! How can i disable the "[RP]" prefix in warning message? It's possible that this plugin is in conflict with world guard/world edit? Thanks!