[SEC] WorldGuard - Protect your server from others, Minecraft, and yourself [BukkitDev]

Discussion in 'Plugin Releases' started by sk89q, Jan 16, 2011.

     
  1. Offline

    sk89q

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]


    WorldGuard is a powerful plugin providing all the little things (and some big ones):
    • 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.
    • And add new features.

    [IMG] [IMG] [IMG] [IMG] [IMG]

    [IMG]

    [IMG] [IMG] [IMG] Before posting here: [IMG] [IMG] [IMG]
    • We do not officially provide help for problems here.
    • You will get help only from fellow users if you post here.
    • If you wish to suggest features or report bugs, you must use our issue tracker.
    • Visit our and hang out in our chatroom to talk to developers and other users.
    [IMG]

    This post has been edited 26 times. It was last edited by sk89q Nov 6, 2012.
  2.  
  3. Offline

    dwade20dwade

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    While I start my server i get this...

    Code:
    08:03:17 [SEVERE] Could not pass event WorldLoadEvent 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:459)
            at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:706)
            at org.bukkit.Bukkit.createWorld(Bukkit.java:154)
            at org.bukkit.WorldCreator.createWorld(WorldCreator.java:235)
            at com.bergerkiller.bukkit.mw.WorldManager.createWorld(WorldManager.java
    :454)
            at com.bergerkiller.bukkit.mw.WorldManager.getOrCreateWorld(WorldManager
    .java:408)
            at com.bergerkiller.bukkit.mw.WorldConfig.loadWorld(WorldConfig.java:239
    )
            at com.bergerkiller.bukkit.mw.WorldConfig.init(WorldConfig.java:61)
            at com.bergerkiller.bukkit.mw.MyWorlds.enable(MyWorlds.java:78)
            at com.bergerkiller.bukkit.common.PluginBase.onEnable(PluginBase.java:17
    3)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:336)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: unacceptable character ' ' (0x0) special characters are not allowed
    in "<reader>", position 0
            at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va:98)
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
            at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:63)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
            at com.sk89q.util.yaml.YAMLProcessor.load(YAMLProcessor.java:112)
            at com.sk89q.worldguard.bukkit.WorldConfiguration.loadConfiguration(Worl
    dConfiguration.java:275)
            at com.sk89q.worldguard.bukkit.WorldConfiguration.<init>(WorldConfigurat
    ion.java:173)
            at com.sk89q.worldguard.bukkit.ConfigurationManager.get(ConfigurationMan
    ager.java:180)
            at com.sk89q.worldguard.bukkit.WorldGuardWorldListener.initWorld(WorldGu
    ardWorldListener.java:71)
            at com.sk89q.worldguard.bukkit.WorldGuardWorldListener.onWorldLoad(World
    GuardWorldListener.java:58)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.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)
            ... 21 more

    Also this:

    Code:
    08:03:20 [INFO] Done (8.780s)! For help, type "help" or "?"
    08:04:34 [SEVERE] Could not pass event BlockPhysicsEvent 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:459)
            at net.minecraft.server.World.k(World.java:512)
            at net.minecraft.server.World.applyPhysics(World.java:495)
            at net.minecraft.server.World.update(World.java:461)
            at net.minecraft.server.World.setTypeId(World.java:433)
            at net.minecraft.server.PathfinderGoalEatTile.e(PathfinderGoalEatTile.ja
    va:69)
            at net.minecraft.server.PathfinderGoalSelector.a(SourceFile:55)
            at net.minecraft.server.EntityLiving.z_(EntityLiving.java:1229)
            at net.minecraft.server.EntitySheep.z_(EntitySheep.java:41)
            at net.minecraft.server.EntityLiving.e(EntityLiving.java:1109)
            at net.minecraft.server.EntityAgeable.e(EntityAgeable.java:36)
            at net.minecraft.server.EntityAnimal.e(SourceFile:30)
            at net.minecraft.server.EntitySheep.e(EntitySheep.java:49)
            at net.minecraft.server.EntityLiving.F_(EntityLiving.java:447)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1264)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:1
    06)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1246)
            at net.minecraft.server.World.tickEntities(World.java:1153)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:542)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: unacceptable character ' ' (0x0) special characters are not allowed
    in "<reader>", position 0
            at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va:98)
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
            at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:63)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
            at com.sk89q.util.yaml.YAMLProcessor.load(YAMLProcessor.java:112)
            at com.sk89q.worldguard.bukkit.WorldConfiguration.loadConfiguration(Worl
    dConfiguration.java:275)
            at com.sk89q.worldguard.bukkit.WorldConfiguration.<init>(WorldConfigurat
    ion.java:173)
            at com.sk89q.worldguard.bukkit.ConfigurationManager.get(ConfigurationMan
    ager.java:180)
            at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.onBlockPhysics(Wo
    rldGuardBlockListener.java:447)
            at sun.reflect.GeneratedMethodAccessor7.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)
            ... 22 more

    This post has been edited 1 time. It was last edited by dwade20dwade Jun 10, 2012.
  4. Offline

    kingracer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi all, somebody stuck with this problem? I have updated CraftBukkit (1.2.5 RC4.0) and PermissionsBukkit, but when i set a permission for /region addowner players just see "You don't have permission" error. How can i fix this or it's bug of this version of WG? Thnx
  5. Offline

    strato661

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can somebody please help me? I'm trying to make it so that people can only break a specific block in a region, but the region overrides the whitelist that I put for the block. Help?
  6. Offline

    baliks

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    In spawn area if invincible set players will be in god mode but they wont get feeded or healed. How to fix that.
    Secondly how to make no mobs including sheep cow and chicken not spawn in spawn?
  7. Offline

    jycs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to remove the armors damages ?
  8. Offline

    natkemon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi,

    For blacklisting. Is there a faster way to disable ALL blocks from being destroyed and then allowing only 3 items to be broken?

    So for example
    Deny all blocks but enable dirt, sand and gravel

    This post has been edited 1 time. It was last edited by natkemon Jun 15, 2012.
  9. Offline

    DailyCakeSlice

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome! This has been a very favorite for a long time! The thing is, I can't set the priority of __global__. What I'm trying to do is set __global__'s priority to -1, so that people can only build in regions that I select. When I do "/region setpriority __global__ -1" it gives me "The region cannot be named __global__." I'm not sure if this is a bug or what, but it's confusing me. The parent/child thing is a little confusing me, as well, so I'm trying mot to use that. Other than that, great plugin! :D
  10. Offline

    DailyCakeSlice

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Use a permission plugin such as pex. With pex, add the nodes (In this order)
    - modifyworld.blocks.destroy.12
    - modifyworld.blocks.destroy.3
    - modifyworld.blocks.destroy.13
    - -modifyworld.blocks.destroy.*
    - modifyworld.*

    Message me, and I'll help you with that.
  11. Offline

    Noxturno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    not sure if this has been asked before but are blocks in a region immune to sticky pistons? if not any way to make them immune to it ? dont want people using this to get in other peopls regions
  12. Offline

    xeNium

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I want make a PVP Zone within Non-PVP Zone Region, Someone can teach me how to do that?
    Uppear = Spawn a.k.a Non-PVP and Lower = PVP Zone
  13. Offline

    SHadoxLunik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi everyone , thanks for this great plugins (indispensable) !

    I have a question , can we blacklisted the bed in the nether (boom ...><) but allow it on the normal world ?
    If yes , how can do it please ?

    Thanks for your respons , and sorry for my bad english .

    Have a nice day everyone.

    This post has been edited 2 times. It was last edited by SHadoxLunik Jun 30, 2012.
  14. Offline

    99lool

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have an server that runs ported mods for bukkit. Is there a where for me to block people from destroying the spawn and such with the items from the mod? I dont want to have to blacklist all the items.

    This post has been edited 1 time. It was last edited by 99lool Jun 30, 2012.
  15. Offline

    MYxNINJAxWEED

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok, Need Help, I Trusted World Guard to my spawn, Next day, BANG blew to shit, Please explain when I use
    //expand vert
    /region define spawn
    /region addowner spawn MYxNINJAxWEED

    People can still grief it! Please help
  16. Offline

    SHadoxLunik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    selecte pos1 and pos2 like this with the woodaxe
    [IMG]
    /region define spawn
    (region spawn has been created)
    /region addowner spawn MYxNINJAxWEED
    (region something ....)

    if the other people can break perhpas they have a status with permition , on "mine" server only moderator and admin can break overide a cuboid.

    try right clik on block with "spider string" for see if is there a cuboid and if you can build or not.

    This post has been edited 2 times. It was last edited by SHadoxLunik Jul 2, 2012.
  17. Offline

    Michy382

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    OMG ITS JUSTIN BIEBER! EVERYONE RUN AWAY AND TRY NOT TO GET THE BIEBER FEVER
  18. Offline

    Michy382

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1. Select the two Corner points like Shadox Said.
    2. Type /region claim Spawn
    3. Type /region addowner MYxNINJAxWEED
    4. Type /region flag Spawn pvp deny
    (Optional)5. To add people to the Spawn protection so they can build. /region addmember Spawn <playername>
    6. Test it with both the people who can build in Spawn and the people who cant.
    Your welcome. :)
  19. Offline

    MYxNINJAxWEED

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks!
  20. Offline

    bob7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmmm, I'm still a little confused on how to block commands? I've selected my region and defined it yet flagging it with
    /region flag PVP blocked-commands /home
    or
    /region flag PVP blocked-commands home

    doesn't seem to work? Any ideas? Besides that, everything works great!


    Edit:Nvm, I found out the problem :p

    This post has been edited 2 times. It was last edited by bob7 Jul 2, 2012.
  21. Offline

    Michy382

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yourwelcome man. Need any more help just ask me! :)
  22. Offline

    HeliosHarpBoy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I gotta problem:

    09:17:28 [SEVERE] Could not load 'plugins/worldguard-5.5.2.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandsManager
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandsManager
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.CommandsManager
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 11 more

    And i dont know howto fix it
  23. Offline

    LetCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for this REALLY helpful plugin.
    But how do I unblock minecarts? 'Cause no one except admins can place minecarts on a rail in a protected area :confused:

    This post has been edited 1 time. It was last edited by LetCraft Jul 8, 2012.
  24. Offline

    Richboy13

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My worldquard collapse with Worldedit worldguard blocks my death messages!!! what the help please
  25. Offline

    DarkByte7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would be awesome if you could add a Flag that allows and disallows Flight in regions.
  26. Offline

    Matty707

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what is the full command for the gamemode flag? Allow or Set, true wont work..
  27. Offline

    MoreBloodWine

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you don't want to protect an entire area but instead say a winding road through some valleys, can you protect blocks in a block by block manner ?

    So say on the ground level in which I stand I want to protect three blocks out infront of me, I can do so meaning that only those three blocks in the area cannot be damaged of moved. Only pit fall to this would say you protect a road, while people couldnt dig under it they could block it by building on / over it. That said, what about protecting those three blocks and x blocks above it, this way ones road is protected for the level its on and three blocks above it.

    Hope all this made sense, it sounded better in my head.

    Edit: The same could be said for train tracks through certain areas where you might want to protect the track without locking an area down. I currently use Essentials which can protect tracks but I have to have that off by default because of some piston / block / track moving stuff I got going on. But back on point, if a user protects a block and sets it to protect one block above and that one block above i a track then that track is protected from destruction.

    This post has been edited 1 time. It was last edited by MoreBloodWine Jul 16, 2012.
  28. Offline

    Moppa5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've got one problem in my server with worldguard. The problem is there can't spawn any animals. But i know why and when i do /region flag [my place] mob-spawning allow then the monsters comes and that sucks. So could you please make that you can deny monsters and allow animals?
  29. Offline

    Glinkz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to block splash potions inside protected areas, like spawn ??

    Because i already disable pvp on those areas but still can't previne those potions because people were using venom splash posions to kill at spawn..

    I will hope for some solution for this problem. :)
  30. Offline

    Matty707

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what is the full command for the gamemode flag? Allow or Set, true wont work..
  31. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to set permissions for different region? I mean custom permissions. If I for instance have mcmmo and want to set one region to remove the permission for gaining xp (or whatever). Is it possible? If not, ever considered adding it? This would help a lot with other plugins since some overrides the region permissions and you in that case just could disable that plugins permission within the region.

    Hope you could understand all that . :)
  32. Offline

    1cec0ld

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    /region flag [spawn] invincible true

    It's what i use on my spawn area.
    Otherwise use /region flag [spawn] blah true and it should show you a long red list of flag names for your version. I think Potions are in there somewhere. Good luck.

Share This Page