WorldRegions
WorldRegions
WorldRegions is an extension to the WorldGuard plugin that adds more flags to regions to allow for greater customization options.WorldRegions is 1.7.8 compatible!
Features
WorldRegions comes with a variety of useful flags to add to regions.Flag | Type | Description |
allowed-break | block list | Allow players to only break specified blocks. |
allowed-damage | damage list | Allow players to only be affected by specified damage types. |
allowed-place | block list | Allow players to only place specified blocks. |
apply-potion | potion effect list | Apply a potion effect to the player every second they are in the region. |
blocked-break | block list | Block players from breaking specified blocks. |
blocked-damage | damage list | Block players from being affected by specified damage types. |
blocked-place | block list | Block players from placing specified blocks. |
healing | allow/deny | Allow or deny healing the player by natural causes. |
hunger | allow/deny | Allow or deny hunger and starvation damage. |
instabreak | allow/deny | Allow players in survival mode to instantly break blocks. |
item-pickup | allow/deny | Allow or deny players picking up items. |
item-spawn | allow/deny | Allow or deny items spawning when dropped or mined. |
mob-targeting | allow/deny | Allow or deny mobs targeting players to attack them. |
pve | allow/deny | Allow or deny players attacking mobs, but not players. |
regen | allow/deny | Allow or deny players being healed by a full hunger bar. |
sheep-eat * | allow/deny | Allow or deny sheep from eating grass inside the region. |
time | time | Keep the player's client time set to a specific time. |
wither-block-damage * | allow/deny | Allow or deny withers or wither skulls from destroying blocks inside the region. |
zombie-door-break | allow/deny | Allow or deny zombies breaking down wooden doors. |
Flags marked with a * were added in the Beta 1.0.1 R2 release, and are still being approved.
You may find more information about flag types here.
Setup & Dependencies
For more detailed setup instructions including permissions, see here.Dependencies
WorldEdit by sk89q |
WorldGuard by sk89q |
Bugs & Suggestions
If you have a bug or suggestion, leave a comment below.Please do not reload WorldGuard by any other means than /reload. Doing so will cause the WorldRegions flags to be removed from every loaded region.
@stonar96bukkit
Whoops. Sorry, I tend to leave debug code in sometimes.
Hi!
This is a good plugin!!!
But when I place blocks in some regions, there are always 3 ! in the console. What does that mean?
@djwild Add the following to the configuration file to fix the crash:
@3ptO
Good idea. I'll see if I can add that feature
@caseyjamest
I thought I uploaded that fix. In the meantime, you can manually fix it by adding the following to the WorldRegions configuration.
@caseyjamest
Whoops, I forgot to implement the global region... I'll add that in the next release.
Hi,
i have the same bug like caseyjamest and QBcrusher with the 1.0.0 Beta R4. Any idea how to fix that?
Would it at all be possible to deny certain blocks from being used?
Also provide a node for players to place denied blocks?
Wolflink, it appears that the error QBcrusher posted has not been fixed in 1.0.0 Beta R4 I am getting the same error with the newest version, which is probably why I can't get it to work.
I'm not sure why I can't get 'blocked-place' to work. I have the flag set to global for ALL blocks, but it doesn't seem to do anything. "/region info _ _ global _ _" shows the flag and lists all blocks, but players can still place blocks. Any ideas?
Awesome plugin, this stops us from having to add loads of seperate flag plugins, thanks! Would it be possible to add an enderpearl flag? Or just stop users from using items, potions, etc?
@QBcrusher
The bug you have encountered is fixed in WorldRegions 1.0.0 Beta R4. Thank you for sending a stack trace which exposed the bug.
MC 1.4.7
7:30:47 AM [SEVERE] Error occurred while enabling WorldRegions v1.0.0 (Is it up to date?) java.lang.NullPointerException at com.wolflink289.bukkit.worldregions.WorldRegionsConfig.<init>(WorldRegionsConfig.java:50) at com.wolflink289.bukkit.worldregions.WorldRegionsPlugin.onEnable(WorldRegionsPlugin.java:79) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
@roshi_ki
Hmm... That's odd. Can you please send me the information about what build your server is, and what plugins you have installed? If I can reproduce the problem, I am quite sure I can fix the apply-potion flag.
@croftcw
The flag "fly" can be set to deny to block non-op players from flying in a region.
@Blazex224
It seems a bit complicated, but I'll try.
@Aortal
That's coming in the next release.
@Phyore
The flag "fly" can be set to deny to block non-op players from flying in a region.
Any chance you can add a fly flag? So if they are flying and enter the region then it will disable it.
Not to be a pain, but I've tried several times and none of the potion effects are working. Maybe it's something I'm doing, idk. Ex/ region flag broom apply-potion blindness:4:60
Looks great.
What about the ability to block the use of an item within a region?
I was wondering if you could add-if possible- a flag that sets the maximum and minimum health for a region. For example if I only want someone to have 1 heart in a region, I could simply set it with this, and when someone enters that region, their health goes down.. and possibly back to normal when exiting? Thanks.
If somebody would please add a region flag for "fly" that would be great. I have a Trusted and Tracker rank and both can fly; yet both are in survival. I would like to let them use my PVP Arena; yet have a fair match with Members.
@lme999
The apply-potion flag appears to apply the correct level, it just doesn't show the name properly. As for the fly flag, I have already added it in for the release version. I also added a few flags to block placement or destruction of blocks, but not use of items. For the enderpearl flag idea, I'll see what I can do. Thank you for your suggestions.
Would I be able to for example, give everyone who walks into the region Regeneration 100? Instead of the max normally being 2? Ideas for more flags: Fly flag: Gives players ability to use /fly or makes them have it automatically. Enderpearl flag: Toggles the ability to USE enderpearls or not. a flag so I could make it so players can't place a specific block or item. For example in the command "flag lavabucket deny" would make it so players can't place lava bucket's.
Thanks for listening to my ideas.
@bossomeness
I'll see what I can do