WorldGuard

Logo

WorldGuard is a powerful plugin providing all the little things (and some big ones), and it protects your servers from various problems.

  • Block creeper and wither block damage, falling damage, etc.;
  • Disable fire spread, lava fire spread, ice formation, Endermen picking up blocks, etc.;
  • Blacklist certain items and blocks so they can't be used;
  • Warn moderators when certain items and blocks are used;
  • Protect areas of your world so only certain people can build in them;
  • Set areas where PVP, TNT, mob damage, and other features are disabled;
  • Protect your server from various 'exploits' like magical obsidian creation machines;
  • Disable, or enable, various Minecraft features, like sponges from classic;
  • Add useful commands like an immediate "STOP ALL FIRE SPREAD" command.
  • Enable only features you want! Everything is off by default.

Want better /time /tp, homes, warps? Get CommandBook. Want to add cool elevators and new Redstone features? How about CraftBook?

Read the Wiki Chat with Us Report a Bug Source Code

Quote from the author:

Follow sk89q

To stay updated on important news, follow sk89q's blog as well as his Twitter account.

Getting Started

Installation

Bukkit is currently required. In the future, WorldGuard will be available for Forge and other APIs.

  1. Install WorldEdit first. (DON'T FORGET THIS)
  2. Download WorldGuard and install it the same way.
  3. Run your server once to generate the files.
  4. Edit plugins/WorldGuard/config.yml to your liking.
  5. Use the command /wg reload to reload your configuration (use worldguard.* for all permissions).

To setup protected regions or the blacklist, you'll have to read the wiki (see below).

Documentation

What are the permissions? The commands? Check out the wiki below.

Read the Wiki Chat with Us Report a Bug Source Code

Learning More
  • Project leader: Contact @sk89q on Twitter
  • Lead developers: sk89q, TomyLobo, wizjany, and zml2008
  • Project started: In December 2010 (Bukkit was started January 2011)

Check out sk89q's server:

SK's Minecraft Server

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Clinpachi Clinpachi Mar 12, 2012 at 22:03 UTC - 0 likes

    I don't suppose anyone has looked into my issue at all have they :< @Clinpachi: Go

  • Avatar of TechieGee TechieGee Mar 12, 2012 at 20:28 UTC - 0 likes

    @Himeki: Go

    Yes, PvP is enabled.

  • Avatar of chariff25449 chariff25449 Mar 12, 2012 at 16:02 UTC - 0 likes

    mama

  • Avatar of Softer1993 Softer1993 Mar 12, 2012 at 15:57 UTC - 0 likes

    @KJanar thanks it worked

  • Avatar of deleted_7554077 deleted_7554077 Mar 12, 2012 at 13:02 UTC - 0 likes

    @Softer1993 Update?

    Last edited Mar 12, 2012 by deleted_7554077
  • Avatar of Softer1993 Softer1993 Mar 12, 2012 at 12:57 UTC - 0 likes

    I get this everytime someone moves.

    14:37:39 [SEVERE] Could not pass event PlayerMoveEvent to WorldGuard

    org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:441) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:208) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getVehicle()Lor g/bukkit/entity/Vehicle; at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener$PlayerMoveHandle r.onPlayerMove(WorldGuardPlayerListener.java:115) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:301) ... 10 more

    I'm not sure if its bad or not but it annoys me so does someone know how to fix it.

  • Avatar of Himeki Himeki Mar 12, 2012 at 03:34 UTC - 0 likes

    @GoldBattle: Go

    exit-group is actually based on whether or not they are a member of the region, not a group in your permissions setup.

    member= member of region
    non-member = not a member of the region

    you would need /region addmember [region name] [playername]
    or /region removemember [region name] [playername]

    @TechieGee: Go

    Is pvp turned on in your main server.properties file? It needs to be in order for worldguard to control it

    Last edited Mar 12, 2012 by Himeki
  • Avatar of TechieGee TechieGee Mar 12, 2012 at 03:18 UTC - 0 likes

    PvP and any other combat relating flags won't work for me. I've tried disabling every other plugin besides WorldEdit and WorldGuard but it still won't won't work. Here's my list of plugins:

    • kNoHax
    • PermissionsEx
    • ChatManager
    • RoyalCommands
    • ModifyWorld
    • VanishNoPacket

    Thanks in advance!

    Last edited Mar 12, 2012 by TechieGee
  • Avatar of Clinpachi Clinpachi Mar 12, 2012 at 01:41 UTC - 0 likes

    Having a major issue with minecarts for some reason with the 1.2.3 builds.

    2012-03-11 17:04:55 [WARNING] [PermissionsEx] Debug mode enabled
    
    2012-03-11 17:04:56 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:57 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:57 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:57 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:57 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:57 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:58 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:04:59 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:04:59 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:00 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:00 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:01 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "modifyworld.*" found
    
    2012-03-11 17:05:02 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", no permission found
    
    2012-03-11 17:05:12 [INFO] [PermissionsEx] Group Restricted initialized
    
    2012-03-11 17:05:12 [INFO] [PermissionsEx] Group Admin initialized
    
    2012-03-11 17:05:12 [INFO] [PermissionsEx] Group cb-invincible initialized
    
    2012-03-11 17:05:12 [INFO] [PermissionsEx] Group wg-amphibious initialized
    
    2012-03-11 17:05:12 [INFO] [PermissionsEx] Group Member initialized
    
    2012-03-11 17:05:12 [INFO]  [37mUser groups set! [0m
    
    2012-03-11 17:05:15 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "*" found
    
    2012-03-11 17:05:15 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "*" found
    
    2012-03-11 17:05:15 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "*" found
    
    2012-03-11 17:05:15 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "*" found
    
    2012-03-11 17:05:15 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "modifyworld.vehicle.destroy", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "residence.admin", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "modifyworld.blocks.interact.grass", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "modifyworld.blocks.destroy.grass", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "worldguard.chest-protection.override", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "modifyworld.blocks.interact.grass", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "modifyworld.blocks.destroy.grass", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "worldguard.chest-protection.override", "*" found
    
    2012-03-11 17:05:16 [INFO] User Clinpachi checked for "modifyworld.items.pickup.minecart", "*" found
    
    2012-03-11 17:05:19 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", "*" found
    
    2012-03-11 17:05:19 [INFO] User Clinpachi checked for "worldguard.region.bypass.Lancet", "*" found
    
    2012-03-11 17:05:19 [INFO] User Clinpachi checked for "commandblocker.bypass", "commandblocker.bypass" found
    
    2012-03-11 17:05:19 [INFO] User Clinpachi checked for "permissions.manage", "*" found
    
    2012-03-11 17:05:19 [WARNING] [PermissionsEx] Debug mode disabled
    

    As you can see for some reason "worldguard.region.bypass.Lancet", no permission found is the problem as when i give someone that permission they can destroy minecarts again... please note that this is NOT within a protected region at all... The area is not protected at all and it denies the breaking of the cart based on that permission node.

    The big problem is that if i give someone that node... they can then build in anyone's private region which defeats the purpose.

    Any ideas or has anyone else had this problem? I thought it was a PEX problem but upon investigation even the PEX dev thinks its a issue with WG now.

    Thanks ahead of time for the reply -Clinpachi

  • Avatar of GoldBattle GoldBattle Mar 12, 2012 at 00:08 UTC - 0 likes

    Hello,

    I have been lately trying to set up a region on a server. I would like the region to stop default people from leaving the area. But once they are promoted from a "default" to a "player" I would like them to be able to leave the region. On the wiki there is a flag for "exit-group" where I could set if a group could leave or not. I added the "default" group as a member and make the flag "exit" equal deny. But when I tried to use this flag (exit-group) to "nonmember"; the flag is no longer listed in the error that comes up. Only OP's can now leave the region. My question is...is that flag still there or is there a new way to contain a (permission) group or not allow a (permission) group in.

    Thanks!

Were you aware that we have an IRC chat to get help in? You can access it at http://skq.me/irc/irc.esper.net/sk89q/

  1. Choice:

  1. Results
  2. 21 comments

Table of contents

  1. 1 Getting Started
  2. 2

Facts

Date created
Aug 25, 2011
Categories
Last update
Mar 01, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
WorldGuard
Downloads
3,574,539
Recent files

Authors