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/
HOW DO YOU SET POINTS!!!!! PLEEEEASE
How do you mark two points of a region?
Can you please add a command whitelist ? make some commands can use in the region
Regions disappear after a Server restart.
Apparently, the plugin is not able to load the regions.yml file itself after a Server Restart (/stop). When we stop the server, the regions disappear in all the worlds. This is dangerous because any player could grief. But if we admins type /rp reload, then the plugin reloads itself and the regions appear again.
And one more little thing, when I (admin) type the command /rp set [region] [enter/leave] [message] (for example /rp set test1 enter %player% &bWelcome!) then nothing happens. Nobody can see the message. BUT AFTER /RP RELOAD everybody can see the message. So we need /rp reload to make the messages appear AND make the regions appear after stopping the server.
We use a Spigot 1.8.1 Server. And plugin version RegionPreserve v1.4.2 for CB 1.7.2-R0.3 May 08, 2014
The demo server is running worldguard, what a scam
I love this awesome plugin,but today when I add mod customnpcs,I found that normal player can't swith with NPC in territory,the message is 'you dont have promission to do this',what should I do? thanks
In reply to _ForgeUser18193091:
How did you fix the Npc issue? The same thing is happening to me as to you
Hi,
We currently use this on our server and it works amazing except one problem!
We set the region we wanted which has the flags use and commands. This was meant to keep players from doing anything in the area except using shops and using their teleportation command to get home. Anyways monsters are spawning in this area and they are invincible in other words can not be hit by any one but can hit players. Is there a way to stop this? Please assist as this is a very big problem!
Sincerely, Team Ancient
Perfect plugin, exactly what i needed, thank you!
Very good plugin! The main reason why I chose your plugin instead of WorldGuard is because your plugin offers to change the "no permission" message in the config, where WorldGuard doesn't. However, when I get rid of the message in the config and make it '' It sends a blank chat message in game.... Could you make it so when you get rid of the message in the config, it doesnt send ANYTHING in the chat, not even a blank message. Also, I think you should add a list flags command in game like /rp flags where it would list all possible flags you could use. Could you also add a flag where people cant drop things or throw things on the ground? Oh, and maybe a flag where it doesnt let you walk out the region :D
Good job.
@laserlemons
Yes it will
Will this work with 1.7.9?
@konny1357
Going to need more info than that if you want any help. Does the regions.yml file still exist between restarts?
My regions keep disappearing everytime I restart my server, any help?
This is by far the easiest-to-use plugin to fulfill all your build protection needs. I can feel safe knowing that this plugin protects my builds. Thank you so much for this!
What tool do you use for the selecting of regions?
Is there a way of putting regions in some kind of priority order? For example I would like a region protected except for a few blocks. But if I try to create a small region (of blocks allowed to be destroyed) with flag build true inside a bigger region with build false it stops me being able to destroy those few blocks. Any advise please?
Update plzzz lol 1.6.4 doesn't let this plugin work
The best plugin I have ever used so amazing and so useful thank you for making this it protects against pretty much anything the guys on my server throw at it haha, also one thing if you place a buildcraft quarry outside the region pointing inwards it will mine there is there a way to stop this? thanks again amazing plugin
@BossViking21
Do you mean like plots? RegionPreserve isnt any kind of selfservice plot plugin.