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)
@TheFlannelBeard
I'm getting the same problem when ppl tp to ungenerated parts of The Nether on DW20 v1.0.2 MC v1.7.10 . Will do more testing, but atm I can't use the plugin as it crashes the server in a big way. <sobs>
Great Plugin very helpful!
I would like to report that road protection is working correctly in 1.7.2, without generating any errors in the console.
-Flobik
Ok, plugin is crashing us now.
14.10 18:21:43 [Server] SEVERE Could not pass event BlockFromToEvent to RoadProtector v0.1.3
PLEASE, get this updated and fixed. Im getting donations next week and will donate for an update.Please. This is the only plugin out there like this. x.x
Please, DONT stop developing this, I beg you o.o
Wow this plugin is just what I needed! Speed roads is the best thanks so much please keep it up your doing great!
I would recommend patching up the bug where people sprinting on the paths kind of glitch up between speed potion and no speed potion here and there. Its nothing much though a few stutters can't be too bad.
@CommodoreAlpha
Yes I will. Thank you for suggestion. I don't know how I can forget about fire-protection :)
@resitancedude
swlist is for "switchable" blocks only: buttons, lever, chests, doors... everything that could be activated by rightclick.
Could you also add an anti-fire capability to this plugin, in addition to the anti-lava/water/snow feature?
This plugins is awesom but they protect all of my world if i put sand il swlist ...... just do a nice tutorial to explain more how to protect road on a server and the road go at the house of the player
@deleted_8886818
Hello! Please suggest what you going to find in updated version :)
If you need 1.5.1 compatible version - use latest. It works fine :)
Update please!
@so97sad
You disable and enable protection from explosions. With enabled explosion protection it will protect area from explosions.
Sir. Do this protect blocks from explosives
@FirgofRaina
Yes, it works fine with 1.4.7
Also, I was wondering if it would be possible to have more than one type of protector block. That way I could have one that would protect just roads, and one that would protect things that are elevated above the ground, like train tracks. Since some of the train tracks will be elevated above the ground, I would like some way to protect the supports as well, but the regular roads don't need that deep of a protection area.
I noticed on your recent files that the latest build is for 1.4.2. Do you know if it will work with 1.4.7?
<<reply 1273232>
I'm not sure that you understand what is RoadProtector and how it works.
So. If you going to allow player to run at gravels you must build roads with gravel, protect roads, grant "roadprotector.speedway" permission to players and define gravel in speedblock list. After this players will have additional speed while running on roads constructed with gravels and protected by RoadProtector. If road is protected but created using other blocks (cobblestone for example)
players will not gain additional speed here. If gravel is not protected by RoadProtectorplayers will not gain additional speed here.I love this plugin, but it messes too much with the rest of my server. I just want people to be able to run on gravel wherever they are.
Yet i hear people say i cant run here, or i cant open my chests suddenly anymore.
This plugin is being annoying, while i turned on walk mode, i can run where i am, others say hey cant run on gravel. When i tp to them i need to redo /rp walk, then everyone can do it again, then somewhere else they cant again, Why is this, its really annoying.