Region Preserve
Region Preserve is a very simple, lightweight region protection plugin. It is intended for server owners to protect their spawn areas, tutorials and arenas without the complexity and hassle of using a more advanced anti-grief plugin (like WorldGuard). It is not intended for regular users to protect their own land. The idea of this plugin is that regions aren't just protected but are preserved from the moment they were defined for as long as the region exists.
To see this plugin in action join: play.vanillaworld.org
Features
Region Preserve is capable of protecting any cuboid region marked out by selecting the two corners. The region can be maxed out from bedrock to sky. Server administrators can specify the global flags that will be applied to all regions, for example mob spawning and leaf decay OR they can specify region specific flags.
To select a region use a stick and left-click a block for position 1 and right-click a block for position 2.
Commands
/rp create [name] - Create a region from the selected points with the name [name].
/rp delete [name] - Deletes a region named [name].
/rp flag [region-name] [add/remove] [flag] - Add or remove flags for a region [name].
/rp info - Displays information about the region the player is currently in.
/rp max - Maxes the Y coordinates of the selection from the sky to bedrock.
/rp reload - Reloads the config and region files.
/rp set [region-name] [enter/leave] [message] - Sets a region's enter and leave message. Use %player% for the player and any colour codes eg. (&1)
/rp help - Displays this message.
Permissions
rp.edit - Able to create and delete preserved regions.
rp.build - Able to build/destroy blocks in preserved regions.
Region Flags
Essentially, if a region has a flag the particular event is allowed to happen. For example a region with the 'PvP' flag will allow PvP to happen in the region. Flags in bold are the default region flags.
- use - Regions without this flag stop people opening chests, crafting tables etc.
- build - Regions with this flag allow people to build and destroy blocks.
- burn - Regions without this flag will stop fires.
- fade - Regions without this flag stops blocks from melting/disappearing over time
- grow - Regions without this flag prevents things from growing (vines/trees) and spreading (grass)
- leafdecay - Leaves will decay is a region has this flag.
- explode - Blocks will be destroyed in ANY explosion if a region has this flag.
- bucket - Regions without this flag blocks the use of buckets (placing and picking up liquids).
- monsterspawning - Monsters will spawn if a region has this flag (ONLY monsters).
- animalspawning - Animals will spawn if a region has this flag (ONLY animals).
- commands - Commands can be used if a region has this flag.
- mobdespawn - Mobs will never die/despawn if a region has this flag.
- pvp - Regions with this flag allow PvP in regions, without this flag PvP is blocked.
- enderpearl - Regions without this flag block the use of enderpearls.
Installation
Simply but the RegionPreserve.jar in the plugins folder and restart/reload the server. A config.yml and regions.yml will be generated. Do not edit the regions.yml file, only edit the config.yml file. Type /rp reload to reload the config after any changes.
Future Features
- More region flags
- MySQL support
Change Log
Version 1.4.2:
- Updated to latest Bukkit Dev Build
- Minor performance improvements
Version 1.4.1:
- Fixed the deletion of regions
- Players can no longer use bows in PvP protected regions
- Other minor bug fixes (no more errors in console)
- Compiled against Java 6
Version 1.4.0:
- RegionPreserve will automatically update to the latest version on BukkitDev. This can be disabled in the config.yml file.
- Regions are now stored in YML format for faster load speeds and less chance of data becoming corrupt.
- Added the 'enderpearl' flag to stop people using enderpearls in protected regions.
- Removed the default flags option from the config, all regions must have their flags set individually from now on.
- Players with permission could not ignite blocks in protected areas, they can now.
- Added the dropper to the user flag.
- Added the region enter and leave messages with colours (eg. &b) and player names (%player%)
Source Code: https://github.com/JoshArgent/Region-Preserve
Freelance Work: http://www.joshargent.com/
-
View User Profile
-
Send Message
Posted Jul 6, 2013Could you please make an update. I really like this plugin, and plan to keep it. I have been waiting for a long time for an update that doesn't clog my console with error messages. It is beginning to be a real pest. It there a quick fix, in the code I could do myself? Please consider making an update. Besides 1.6 is out.
-
View User Profile
-
Send Message
Posted Jun 25, 2013@Bellablue2
@Jesermay
I think that will be because an arrow is an entity and your region has mob spawning off. (However it actually listens to the entity spawn event). I will look into this issue.
-
View User Profile
-
Send Message
Posted Jun 24, 2013Yes my users have the problem with using bows to PVP in non-PVP areas.
-
View User Profile
-
Send Message
Posted Jun 20, 2013According to some users, people can use bows to hurt each other in a PVP off region. Have you had this issue?
-
View User Profile
-
Send Message
Posted Jun 16, 2013muchly appreciated!
-
View User Profile
-
Send Message
Posted Jun 16, 2013@Moxiesan
I'll make it a top priority to fix it. I'm glad you like the plugin. :)
-
View User Profile
-
Send Message
Posted Jun 15, 2013Yes it works, but the error message is so large it clogs up my log, so whenever you can fix that message or tell me how on my end, that'd be great... EXCELLENT mod though btw
-
View User Profile
-
Send Message
Posted Jun 15, 2013Hello! I am the admin of a small server and I was wondering if you could help me with this issue. I have the PVP arena set up with region protect and would like to make it so that no one, not even myself, can blow things up. Just wondering what permissions I would need to set up... Thanks for making this wonderful mod and have a good evening!
-Alias D
-
View User Profile
-
Send Message
Posted Jun 9, 2013@Moxiesan
If I was you I'd double check to be sure but I'm 99% certain you're fully protected.
@AlesisJC
Yes that's my server and did make the random teleportation plugin myself.
-
View User Profile
-
Send Message
Posted Jun 9, 2013@Daffy22
So even with that error all the protections work properly?
-
View User Profile
-
Send Message
Posted Jun 9, 2013Great plugin, I checked VanillaWorld server to check it out and works nicely myself, Is that your server? I noticed a random teleportation plugin for players on there also, is that ran by you guys?
-
View User Profile
-
Send Message
Posted Jun 9, 2013@Moxiesan
Thankyou for pointing that out, I will fix that for the next update. It's not critical and shouldn't cause your server any problems.
-
View User Profile
-
Send Message
Posted Jun 8, 2013i just had an error when trying this:
(I even tried turning off auto-update)
-
View User Profile
-
Send Message
Posted Jun 8, 2013I feel I have some pretty valid requests to just be ignored.
-
View User Profile
-
Send Message
Posted Jun 8, 2013@Daffy22
Thank you for that information :-)
-
View User Profile
-
Send Message
Posted Jun 7, 2013@Jesermay
I don't think it's possible to have different weather for different parts of a world however snow shouldn't be settling in regions so long as it doesn't have the flag 'grow'.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@Daffy22
ClearLag - It has a TNT lag/explosion amount reducer. I've also got a feature I'd like to see in this plugin, if possible. The ability to control the biome or the weather within a region would be good. For example, I'd like to stop snow - that could be done by stopping it from snowing/raining in the region or by changing the biome.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@Jesermay
No problem. Out of interest could you tell me which plugin was causing the issues so I can look into a fix for it?
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Daffy22
@Daffy22
You were totally right, reconfigured and now working wonders. Thank you! :-)
-
View User Profile
-
Send Message
Posted Jun 6, 2013By the way, not sure if you've added it yet, but /rp list or /rp nearest seems like a necessity to me. I only use regions to protect very specific things so I can't physically stand in these regions for /rp info to work.