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 Jun 6, 2013How about a flag that auto-despawns hostile mobs in a region?
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Jesermay
You need to add the flag mobdespawn so that you can actually kill mobs. Are you sure the mobs aren't wondering into the protected region?
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Daffy22
Ah, yes, I do have a plugin that does this - I'll remove it and see if it fixes the error.
On another note, zombies can spawn in the spawn area - even though there is no flag saying that they can. Why is this?
I have these flags 'use, commands, grow' only, yet mobs spawn and cannot be attacked within the area.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Felix_The_Ghost
The plugin you mentioned uses wordguard regions to specify the regions to play music in. It's not something for my plugin to hook on to but for the RegionJukebox mod to hook on to my plugin. You would be better off asking the developer of RegionJukebox to support RegionPreserve's regions.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@Daffy22
I mean can you make this compatible with it? Even the other feature is something plugged into WorldGuard (It's not a WorldGuard feature)
-
View User Profile
-
Send Message
Posted Jun 4, 2013@Jesermay
I've been trying to reproduce this error. I made a protected region and fired tnt into the region (using a cannon). The edges outside the area were damaged but all the blocks inside the region were protected. Could I please have a list of your plugins? It's possible some kind of tnt lag reducing plugin might be over riding this plugin.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@Felix_The_Ghost
I think that it going away from the main concept of what this plugin does. It is designed to be a simple, lightweight region protection plugin. Perhaps another plugin already exists that allows you to do this - you could use that and mirror a Region Preserve region.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@forseth11 I'm not familiar enough with Voltz or Tekkit to implement any kind of protection for that however the source code is available on github so you could have a go at implementing it your self.
-
View User Profile
-
Send Message
Posted Jun 3, 2013Can you make it work for voltz please. I need a way to keep my spawn safe from grenades.
-
View User Profile
-
Send Message
Posted Jun 3, 2013Daffy, is the feature I posted a link to possible to implement?
-
View User Profile
-
Send Message
Posted May 31, 2013@Bellablue2
The ones you speicify in the config. You can find out by standing in the region and typing /rp info.
-
View User Profile
-
Send Message
Posted May 31, 2013Which flags are set to true by default when you make a region?
-
View User Profile
-
Send Message
Posted May 27, 2013@Felix_The_Ghost
That's an excellent idea, I love it!
-
View User Profile
-
Send Message
Posted May 26, 2013Going to try out the new update soon. I was watching this on Youtube just now. Is something like this possible with region preserve?
-
View User Profile
-
Send Message
Posted May 21, 2013@chris14b2
Left click with stick in hand for first point, right click with stick for second point.
-
View User Profile
-
Send Message
Posted May 20, 2013when I have to make a region how do I select a point?
-
View User Profile
-
Send Message
Posted May 19, 2013Another bug I have found - making a region, no matter what flags are active, stops users from being able to hit.
-
View User Profile
-
Send Message
Posted May 19, 2013I really like the new updates to the plugin - been using it since release - it's a much better plugin than the over-complicated alternatives. One bug I have noticed, however, is that Withers and TNT cannons can destroy the protected area, if used from outside of the protected area.
For example, on my server, we have the spawn protected with your plugin. If someone used a wither or a tnt cannon outside of the spawn and targeted the spawn, the spawn can be damaged.
Is there a possible fix for this?
-
View User Profile
-
Send Message
Posted May 18, 2013@Felix_The_Ghost
'That update' has been out a few weeks now. :)
-
View User Profile
-
Send Message
Posted May 18, 2013How about that update? :)