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 May 17, 2013Can someone relate on my problem? I'm using GroupManager, and the default users' build option is set to true. Now, my problem is, even though I didn't add the flag "build", peeps can PLACE blocks, but they can't BREAK it. So yeah, anyone who has the same problem with me huh? Daffy, if possible, make it compatible with GroupManager.
-
View User Profile
-
Send Message
Posted Apr 29, 2013I anxiously await your next update. If it can protect netherrack fires and allow ops to modify item frames, that would be awesome :)
-
View User Profile
-
Send Message
Posted Apr 27, 2013@Daffy22
hey daffy i think o found a bug, if you remove use from the region (cant op chest etc) ppl can still open WOODEN_DOORS. is that seposed to happen or is that indeed a bug.
ps. cant wait for the pvp update
-
View User Profile
-
Send Message
Posted Apr 25, 2013@remy_99_
I'm pleased you like this plugin. :) I'm aiming to push out an update this weekend that should add a PvP flag.
-
View User Profile
-
Send Message
Posted Apr 25, 2013i specialy made a account to say THANKS to you for this amazing plugin, i hope you will inprove it even more soon. Also can you might add: - no pvp - zones for player (only the selected player and ops can build there) - only admins (when trying to enter te zone, get send back)
again THANKS for this amazing plugin
-
View User Profile
-
Send Message
Posted Apr 20, 2013I knew about rp info -- problem was, I had regions physically impossible to be inside (walls/floors)
-
View User Profile
-
Send Message
Posted Apr 20, 2013@Felix_The_Ghost
You can do /rp info to display informtion about the region you're currently in. An /rp list might be a good idea too. :)
-
View User Profile
-
Send Message
Posted Apr 19, 2013Another few commands that may be valuable yet trivial to implement:
/rp list and /rp near
Which output simply the names/sizes for regions (or nearby ones only)
I needed this when setting multiple regions and actually forgetting what I had named a region. This would be more problematic with regions that are simpler in both name and content (e.g. tower1, tower2, tower3 -- trying to remember which one it is)
Thanks again for your efforts.
-
View User Profile
-
Send Message
Posted Apr 19, 2013Thank you for your comments and your dedication.
As for the fires bug, all you need to do is set a fire on netherrack (such as with flint and steel) and players will be able to extinguish them (even if protected) by punching the block (perhaps there is a flag for if a block is on fire that is set) which is a problem since I use fire for decoration :)
-
View User Profile
-
Send Message
Posted Apr 19, 2013@cjsanders71
I'll add this flag in the next update. :)
-
View User Profile
-
Send Message
Posted Apr 19, 2013@Felix_The_Ghost
The fires being extinguished is a bug I've not experienced but I will try and reproduce it. Not being able to edit item frames even though you have the correct permissions is a known bug.
I will try and push out an update in the next week or so, thanks for your suggestions. :)
As for an alternate plugin I really don't know what to suggest. On my server I too was having issues with WorldGuard and no other region protection plugin was suitable and/or maintained. That's why I made this.
-
View User Profile
-
Send Message
Posted Apr 19, 2013No flag that stops PVP?
-
View User Profile
-
Send Message
Posted Apr 19, 2013I think I like this plugin.
My spawn has incomplete protection from the Factions plugin -- I need to protect my item frames from being rotated by players as well as some netherrack fires I have from being extinguished by players.
The latter of these issues I do not think your plugin resolves, or I am making poor use of it.
I am having trouble with the permissions (I am op and can create regions and can build but not modify item frames unless I delete the region first.
I would appreciate your comments and perhaps advice on what plugin I should use to solve my two problems. I came to this plugin from WorldGuard, which I also was having trouble with.
By the way, something World Guard does -- if left clicking to define the region destroys the block (from creative mode) it brings it back. Perhaps your plugin could employ this behavior as well.
-
View User Profile
-
Send Message
Posted Apr 15, 2013@AlexBlocks123
This plugin isn't designed to handle subregions properly. That could be a potential feature for the future though.
-
View User Profile
-
Send Message
Posted Apr 15, 2013I really love this, but item frames and paintings are unbreakable. I tried setting "mobdespawn","build","bucket"... but nothing works! Please fix this! :( EDIT: I fixed this setting "build" to true in the main region (I was in a subregion). But the subregion had "build" to true, so please fix this anyway :) .
-
View User Profile
-
Send Message
Posted Apr 13, 2013@starweaver1
That's the idea. :)
-
View User Profile
-
Send Message
Posted Apr 13, 2013so this will stop ppl from destroying my spawn place?
-
View User Profile
-
Send Message
Posted Apr 9, 2013If anyone has a feature request I'll be more than happy to implement it. :)
-
View User Profile
-
Send Message
Posted Apr 9, 2013Love it , It is very helpful
-
View User Profile
-
Send Message
Posted Apr 5, 2013The download has been approved, enjoy :)