WorldGuard

Logo

WorldGuard is a powerful plugin with a large bag of tricks for server owners, server map makers, regular survival servers, and everyone in between!

  • Create zones in your world that only permit mods or certain players from building within
  • Set additional game rules on your server (deny wither block damage, falling damage, etc.)
  • Set game rules on specific areas (food regen, health regen, disable PvP, TNT, control mob damage) in your world
  • Blacklist certain items and blocks so they can't be used
  • Dump useful statistics and information about your server (/wg report -p)
  • CPU profile your server (/wg profile -p)
  • Add useful commands like an immediate "STOP ALL FIRE SPREAD" command.
  • Works, more or less, with mods (other Bukkit plugins and FTB mods)
  • Protects against many types of grief (fire spread, tree growth, TNT cannons, piston machines, crop trampling, paintings and item frames, etc.), and certain interactions can also be allowed (door open, lever usage, etc.)
  • Well documented, and one of the oldest Minecraft projects (older than Bukkit!)
  • Open source
  • Enable only features you want! Everything is off by default. You can just install WorldGuard and configure it later.

Also, check out these plugins: CommandBook and CraftBook




How do I install WorldGuard?

  1. Download WorldEdit (required by WorldGuard) and extract the WorldEdit.jar file into your "plugins/" folder.
  2. Download WorldGuard and extract the WorldGuard.jar file into your "plugins/" folder.
  3. Run your server!

Where do I learn how to use WorldGuard?

To learn how to use WorldGuard, there are current two sources of documentation:

Where can I get my questions answered?

If you have a question:

Where can I report bugs or request features?

Visit our issue tracker.

Can I download WorldGuard source code?

Visit our GitHub repository. WorldGuard is licensed under LGPLv3 and you can compile it with Maven.



Patreon

Check out my Minecraft server!

SK's Minecraft Server

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

  • Avatar of DeFauw22 DeFauw22 Apr 09, 2013 at 01:55 UTC - 0 likes

    Hey, what is up with the MySQL schema? Using the one posted will create the tables fine, but running the update, which looks like it was posted the same day, causes SQL errors pretty much throughout the whole run. Can someone post a schema that they are currently using that works? I had mine where I worked out almost all of the issues but was still getting errors from plugins trying to interface with WG because the tables still aren't quite correct. Worked for a few days pretty well and I'm sure without SQL would work just fine but I really prefer using SQL for something like this that is constantly checking things.

  • Avatar of kludermor kludermor Apr 08, 2013 at 21:34 UTC - 0 likes

    Hi. I have followed the wiki and tutorials on setting up regions and regions within regions. But I still have some trouble. Can someone please help me?

    I have a big region as safezone. No monsterspawning but players are allowed to build. Within this region I have smaller areas. Some have the flag build:deny set for all and some are set so only owners and members can build.

    But I can not get worldguard to accept, when I set the group "builder" to be allowed to build in the safezone. I assume the group worldguard is refering to is the essentials GM.
    I have all players to join the GM builder group as default. Something is wrong
    Only if I add the individual player ass owner, they can build.

    safe:
    type: poly2d
    min-y: 0
    max-y: 255
    points:
    - {z: -10, x: -509}
    more POINTS removed to safe space in this forum
    - {z: 34, x: -535}
    priority: 0
    flags: {pvp: deny, tnt: deny, use: allow, build-group: OWNERS, mob-spawning: deny}
    owners:
    groups: [Builder]
    members: {}

    skovhugger:
    type: cuboid
    min: {x: -198.0, y: 63.0, z: 142.0}
    max: {x: -185.0, y: 88.0, z: 159.0}
    priority: 0
    flags: {chest-access: allow, build: deny}
    owners:
    players: [kludermor]
    members: {}

    smed:
    type: cuboid
    min: {x: -289.0, y: 61.0, z: 176.0}
    max: {x: -278.0, y: 83.0, z: 191.0}
    priority: 0
    flags: {chest-access: allow, build: deny}
    owners: {}
    members: {}

    Last edited Apr 08, 2013 by kludermor
  • Avatar of ViscousSummer88 ViscousSummer88 Apr 08, 2013 at 15:27 UTC - 0 likes

    @Sentaloc: Go This is an error with SQL connection, the server can't reach the SQL server.

    @optimus_Skillz: Go What 'flags' are you using? By default making a worldguard zone disables people being able to do all that you're saying.

    @Freelix2000: Go If you chose the 'Worldguard 5.7.3' you need to open that .zip and extract the 'WorldGuard.jar', that sounds like what you've got an issue with or just download this build: http://dev.bukkit.org/server-mods/worldguard/files/30-world-guard-5-7-3-jar-only/

    http://epiccrafts.co.uk/secure/EpicCrafts%20Banner.gif
    Personal Website: http://viscoussummer88.co.uk

  • Avatar of Julian90090 Julian90090 Apr 07, 2013 at 22:12 UTC - 0 likes

    These errors are spamming my console. I use Spigot.
    15:08:44 [SEVERE] Could not pass event EntityDamageByEntityEvent to WorldGuard v813-f67ad64
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:84)
    at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:372)
    at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:396)
    at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:698)
    at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:686)
    at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:346)
    at net.minecraft.server.v1_5_R2.EntityMonster.m(EntityMonster.java:88)
    at net.minecraft.server.v1_5_R2.EntityMonster.a(EntityMonster.java:114)
    at net.minecraft.server.v1_5_R2.EntitySpider.a(EntitySpider.java:91)
    at net.minecraft.server.v1_5_R2.EntityCreature.bq(EntityCreature.java:56)
    at net.minecraft.server.v1_5_R2.EntityLiving.c(EntityLiving.java:1321)
    at net.minecraft.server.v1_5_R2.EntityMonster.c(EntityMonster.java:20)
    at net.minecraft.server.v1_5_R2.EntityLiving.l_(EntityLiving.java:544)
    at net.minecraft.server.v1_5_R2.EntityMonster.l_(EntityMonster.java:24)
    at net.minecraft.server.v1_5_R2.EntitySpider.l_(EntitySpider.java:20)
    at net.minecraft.server.v1_5_R2.World.entityJoinedWorld(World.java:1457)
    at net.minecraft.server.v1_5_R2.WorldServer.entityJoinedWorld(WorldServer.java:646)
    at net.minecraft.server.v1_5_R2.World.playerJoinedWorld(World.java:1433)
    at net.minecraft.server.v1_5_R2.World.tickEntities(World.java:1305)
    at net.minecraft.server.v1_5_R2.WorldServer.tickEntities(WorldServer.java:512)
    at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:561)
    at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229)
    at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471)
    at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403)
    at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/entity/MinecartTNT
    at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityDamageByEntity(WorldGuardEntityListener.java:277)
    at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityDamage(WorldGuardEntityListener.java:432)
    at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    ... 29 more

    Last edited Apr 07, 2013 by Julian90090

    WORLDCRAFT Survival Minecraft/Tekkit Server

  • Avatar of Freelix2000 Freelix2000 Apr 07, 2013 at 21:26 UTC - 0 likes

    I have WorldEdit, but the server is ignoring WorldGuard. It doesn't even show an error on console, it just ignores it.

  • Avatar of optimus_Skillz optimus_Skillz Apr 07, 2013 at 17:43 UTC - 0 likes

    Ok somehow people are bypassing denial to build and are destroying signs, doors, and redstone.

  • Avatar of Sentaloc Sentaloc Apr 07, 2013 at 14:13 UTC - 0 likes

    07.04 14:10:10 [Server] [Informatie] The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 07.04 14:10:10 [Server] [Informatie] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 07.04 14:10:10 [Server] [Informatie] The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 07.04 14:10:10 [Server] [Informatie] at sun.reflect.GeneratedConstructorAccessor149.newInstance(Unknown Source) 07.04 14:10:10 [Server] [Informatie] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 07.04 14:10:10 [Server] [Informatie] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 07.04 14:10:10 [Server] [Informatie] at sun.reflect.GeneratedConstructorAccessor146.newInstance(Unknown Source) 07.04 14:10:10 [Server] [Informatie] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 07.04 14:10:10 [Server] [Informatie] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) 07.04 14:10:10 [Server] [Informatie] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) 07.04 14:10:10 [Server] [Informatie] at java.sql.DriverManager.getConnection(DriverManager.java:579) 07.04 14:10:10 [Server] [Informatie] at java.sql.DriverManager.getConnection(DriverManager.java:221) 07.04 14:10:10 [Server] [Informatie] at com.sk89q.worldguard.protection.databases.MySQLDatabase.connect(MySQLDatabase.java:150) 07.04 14:10:10 [Server] [Informatie] at com.sk89q.worldguard.protection.databases.MySQLDatabase.<init>(MySQLDatabase.java:70) 07.04 14:10:10 [Server] [Informatie] at com.sk89q.worldguard.protection.GlobalRegionManager.create(GlobalRegionManager.java:155) 07.04 14:10:10 [Server] [Informatie] at com.sk89q.worldguard.protection.GlobalRegionManager.get(GlobalRegionManager.java:239) 07.04 14:10:13 [ServerBuilds] Skipped 146 lines due to rate limit (30/s)

    Help

  • Avatar of SerketSurfur SerketSurfur Apr 07, 2013 at 08:09 UTC - 0 likes

    i am having problems with the game-mode flag, when switching regions with the game-mode flag set to a different game-mode than the region that i was previously in my game-mode is still the same.

    BFAK:90707731,434a82f5938528725008ef547d16bf1f999787939f4e7b25b6390cdc1b0f43c1

  • Avatar of dmncpham dmncpham Apr 07, 2013 at 03:12 UTC - 0 likes

    Hi, can you make it so that when you disable tnt explosions, it will still ignite other tnt?

  • Avatar of ViscousSummer88 ViscousSummer88 Apr 06, 2013 at 23:32 UTC - 0 likes

    @diskman2000: Go

    You cant do that with this..

Facts

Date created
Aug 25, 2011
Categories
Last update
Jan 21, 2015
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
WorldGuard
Downloads
4,425,900
Recent files

Authors