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)
seems like a lot of commands for such a simple objective. Are there any of these which we could do without?
New version uploaded. v0.0.7
@MLGM
Hello, RoadProtector include a protection from using "switch" block: chest,levers,buttons... You can disable protection by excluding chest id from the list (default list: 54,61,62,64,69,77,96,84,107,23), or set it empty if you don't need any protection.
If you going to define access to single chest (lever...) you can use signs from my Lockpick&Rent plugin:
Command to set block list protected from switching: /rp swlist <list> (for example: /rp swlist 54,61,62,64,69,77,96,84,107,23) /rp swlist - to disable switching protection (set it to empty)
This one thing is really annoying me. I placed a protection block, and now my friend can't open his chests. I even set the radius to 1 block, and he STILL can't open it!!
@BennetW Check the edit mode. If it enable you able to construct in protected areas. You can toggle edit mode with command /rp edit
Don't forget if "crmode"? If yes, then protection will be ignored if you set crmode variable to "enabled" (you can toggle it with command /rp crmode) Here is image with default values. Check the underlined lines in your config (/rp cfg).
http://dev.bukkit.org/server-mods/road-protector/images/1-road-protector-v0-0-6-config-image/
And finally. Check the dimensions of protected area. If you set depth of height of protected area to huge values (more than 50) it will conflicting with naturally generated bedrock and disable the protection.
Everything works except that when I break a block it doesn't reappear!
@parat26ify Only one thing is not correct. Default protected-switch-list is: protected-switch-list: 54,61,62,64,69,77,96,84,107,23
This list is including block that interacts with player when clicked (chests, levers, buttons...). You don't need to include in this list gravel, dirt, stone and other blocks.
Can you clear this list (command /rp swlist) and check protection again?
@fromgate
No, I didn't see any RP messages in the chat. Although I have to say, that some days before it worked (in another world on my server) but now not.
Here is an image of my config file of road protector:
http://i49.tinypic.com/2dkh440.png
Is ther anything wrong maybe?
@parat26ify
...strange with same config in my server everything is works fine...
Hmm... any errors in server log? When you breaking/constructing in modified area did you see an "[RP]" message in chat?
@fromgate
I have still problems!
Here is my settings:
http://i45.tinypic.com/2guy3xd.png
@parat26ify Check the edit mode. If it enable you able to construct in protected areas. You can toggle edit mode with command /rp edit
Don't forget if "crmode"? If yes, then protection will be ignored if you set crmode variable to "enabled" (you can toggle it with command /rp crmode) Here is image with default values. Check the underlined lines in your config (/rp cfg).
http://dev.bukkit.org/server-mods/road-protector/images/1-road-protector-v0-0-6-config-image/
And finally. Check the dimensions of protected area. If you set depth of height of protected area to huge values (more than 50) it will conflicting with naturally generated bedrock and disable the protection.
Hello fromgate!
I did exactly what it sais on the video. Everything works fine, except that there is no protection at all.
Can you please help me?
Thank you.
Here is some pictures:
http://i48.tinypic.com/30cy45k.png
http://i46.tinypic.com/346mbh2.png
Is it possible to set this up to only allow certain players to place the protector blocks, but allow others to place them as normal blocks? I want to use this plugin to protect the rail network on my server; so i set the protector block to rails. I would only have a small selection of players who manage that network all other payers should be able to use the rails as normal. Currently it appear this isn't quite how it works, and it has protected already placed/generated rails in the world.
v.0.0.6/2
@HeXas92
We use WorldGuard, Towny and RoadProtector at our server. If you will use RP in towns no one (including town's citizens) will not to break/build in areas protected by RP. Sometimes it very helpful )
Well on WorldGuard, Towny Overrides It And Ignores It, This Plugin Will Be Great For Town Roads, But Does Towny Overrides It?
@bigscary
Thank you for your message. I'm agree about hiding "protectors". But it's a "Road protector", and while protection road, you'll find problem only when trying to protect bridges. In our server players have build some long and winding roads, so RP is the best way to protect it.
I've not test the GriefPrevention, thank I'll try it. Worldguard's region are great, but inconvenient for winding roads.
Chest (and other container) protecting from breaking, and for using. No one can check what is inside. I will not add any permissions or groups who can use buttons, levers, chests, dispensers... etc. in protected areas: I've just add this protection to create a shops near the roads with my plugin Lockpick&Rent (will release it soon, first video is here: http://youtu.be/tGUZxEKb7tY)
I think being required to place blocks to protect an area is a little cumbersome. I don't like having to find ways to "hide" the protection blocks when I do'nt want them to be visible, and it's tedious to have to place very many or use lots of slash commands.
Using something like GriefPrevention's administrative claims or WorldGuard's regions seems faster.
Also can you clarify in the description - does "protecting" a container like a chest just prevent it from breakage, or also change who can change its inventory?
Just my two cents, hope I haven't offended.
@andrewzhang Could you use this to protect other stuff? No just roads?
@Blacknedvertigo Can make all protected on top and down of bedrock?
@Chemical_Datas I cant figure out why the protections only work for me. I dont know what else to tell you other than that. Im an admin and ive just set up the protections. Others can destroy the road but I cant.
@futhermukker Is it possible to setup more than one area of protection but with different dimensions? w,h,d or just one set of dimensions for all protected areas? So I can protect something small like a house and also something big like a Colosseum, That would be a great thing to have.
Thank for your comments. I'm sorry for delay with my answers — something wrong with my subscription options, I'll check it