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 Sep 12, 2013How can u make it so u can only create and destroy block on ur own region?
-
View User Profile
-
Send Message
Posted Sep 5, 2013@rbrick
There's no "limit" except the server itself. Are you getting any errors in the console? What are you doing to cause the error?
-
View User Profile
-
Send Message
Posted Sep 3, 2013OMG THANK YOU SO MUCH for update. :D :3
-
View User Profile
-
Send Message
Posted Sep 2, 2013Thank you Daffy (non sarcastic), It seems that your new release should of fixed the problem however I still am encountering the same problem. I am pretty sure my server is running java 7 (that I have found). Do you know of any caveats that are present on mac minecraft servers or mac java 7? Just for your convenience this is the full error report: 13:40:50 [SEVERE] Could not load 'plugins/RegionPreserve.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: regionPreserve/RegionPreserve : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.UnsupportedClassVersionError: regionPreserve/RegionPreserve : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more By the way these are the plugins I am running Lorelocks,Terrain Control and Worldborder. This is my java version "1.6.0_51" any help?
-
View User Profile
-
Send Message
Posted Aug 28, 2013edit: is there a limit to the size you can have? im having trouble protecting my spawn it is 40x40
-
View User Profile
-
Send Message
Posted Aug 28, 2013Version 1.4.1 has been submitted for approval. This fixes the majority of issues mentioned in the comments and more. Sorry for the delay. :/
-
View User Profile
-
Send Message
Posted Aug 24, 2013haha, I do have java 7 what could the problem be?!?!?!?!
-
View User Profile
-
Send Message
Posted Aug 22, 2013@Doruslol It is working with CraftBukkit 1.6.2 - Provided you have: - Java 7
I'm currently running windows 7. I don't know much about macs, infact I know a lot more about the ones form mcdonalds.
-
View User Profile
-
Send Message
Posted Aug 20, 2013@unholydecimator are you sure it works with the latest bukkit 1.6.2 or at least not on mac?
-
View User Profile
-
Send Message
Posted Aug 19, 2013Great plugin for those who don't want hefty plugins like world guard.
Possible Bugs:
-Bucket use Disabling in preserved regions seems to not be working (As in, when I add the flag or take away, people can still use buckets)
-Explode doesn't prevent creeper damage.
Suggestions:
-As stated by several other players, you need to clearly define what having the flag does. Like how you have it with pvp - You clearly explain what having the flag and not having the flag does
-Add these tips into the ingame help. (perhaps /rp tag info)
-Add /rp warp [center of [region]] to possibly give your plugin a bonus feature (with separate permissions ofcourse)
-Add spawn enabled/disabled by mob
-Add permission to enter region. (example, if you give a region this requirement, only admins are greater can enter this region)
Excellent Plulgin. This is working with the latest craftbukkit, by the way. Again, useful for those looking for an optimal light-weight plugin. Great for creating spawn protections and PVP-enabled Arenas.
4.5/5 (5/5 if you fix the minor issues)
-
View User Profile
-
Send Message
Posted Aug 18, 2013I just checked my java version it's 7 the most recent version that I know of. I am continuing to get the same message could it be that the plugin's java version is older?
-
View User Profile
-
Send Message
Posted Aug 18, 2013thank you I will check my java version
-
View User Profile
-
Send Message
Posted Aug 18, 2013Doruslol it works on 1.6.2, but i think you get that error because you are using a old java version ? , im not sure.
-
View User Profile
-
Send Message
Posted Aug 15, 2013This plugin looks quite useful. I followed the generic installation procedure for installing the plugin and was greeted with this when I started my server (mac 1.6.2 beta):
[SEVERE] Could not load 'plugins/RegionPreserve.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: regionPreserve/RegionPreserve : Unsupported major.minor version 51.0
Could this have to do with the plugin not being updated to 1.6.2? Any help?
-
View User Profile
-
Send Message
Posted Aug 12, 2013I Also like the plugin, i get the same error as Moxiesan, are you still going to fix it?
-
View User Profile
-
Send Message
Posted Jul 30, 2013I love this plugin, it does everything I want it do without much hassle. And then it does even more! With the in and out of regions text. I have but one complaint/concern, the descriptions on what the Flags do gets a little confusing, I understand what each is supposed to do but can't be sure if its effect is applied when it is a flag in a region or when its not a flag in a region. Example being "build" that it is the ability to place and remove blocks, but does that effect come on when it is currently applied to the region or when it is not? I understand it now after some experimentation it just doesn't seem 100% clear to me. Maybe I'm autistic but I like to see descriptions like your PVP description: "pvp - Regions with this flag allow PvP in regions, without this flag PvP is blocked. " It explicit tells you what the flag does when its active and what happens when it is not active for maximum clarity. Again thank you for this wonderful plugin its made my day when i discovered it as an alternative to worldedit and worldguard. Peace.
PS I have a request to separate the mobdespawn flag into separate flags, one to allow for mobs to die and the other to stop natural de-spawning of mobs from a certain distance and time.
-
View User Profile
-
Send Message
Posted Jul 26, 2013@Daffy22
Huh, well I had to re-define all of my regions again after the update that changed how the regions were stored. Bug probably.
-
View User Profile
-
Send Message
Posted Jul 17, 2013@kylemandu
You don't need to redefine any regions during a update. Every update is designed to carry forward your regions,
-
View User Profile
-
Send Message
Posted Jul 15, 2013-_- What if I don't wanna completely redo ALL OF MY REGIONS again. 1.4.0 update...
-
View User Profile
-
Send Message
Posted Jul 7, 2013@Hamwood
What error messages are you getting? Could you make a ticket and post them please. I will roll out an update compiled against 1.6 fairly soon.