[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

    DarkVOODO

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey I was Wondering sk89 If you could add this into the plugin since your plugin wordguard protect stuff could u add this command /region (Name) (protectBlockID) then if you wanted to add more block protection do /region (name) (Addprotection) BlockId
  4. Offline

    shaynedtran

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i hae this error wich crash my server after i remove world guard it was fine


    [SEVERE] java.lang.NullPointerException
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.PathfinderGoalSelector.a(PathfinderGoalSelector.java:37)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.EntityLiving.z_(EntityLiving.java:1243)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.EntityLiving.e(EntityLiving.java:1126)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.EntityMonster.e(EntityMonster.java:21)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.EntityLiving.F_(EntityLiving.java:447)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.EntityMonster.F_(EntityMonster.java:25)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.EntityCreeper.F_(EntityCreeper.java:88)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.World.entityJoinedWorld(World.java:1262)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.World.playerJoinedWorld(World.java:1244)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1151)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-19 06:02:12 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-19 06:02:12 [SEVERE] Unexpected exception
    java.lang.NullPointerException
    at net.minecraft.server.PathfinderGoalSelector.a(PathfinderGoalSelector.java:37)
    at net.minecraft.server.EntityLiving.z_(EntityLiving.java:1243)
    at net.minecraft.server.EntityLiving.e(EntityLiving.java:1126)
    at net.minecraft.server.EntityMonster.e(EntityMonster.java:21)
    at net.minecraft.server.EntityLiving.F_(EntityLiving.java:447)
    at net.minecraft.server.EntityMonster.F_(EntityMonster.java:25)
    at net.minecraft.server.EntityCreeper.F_(EntityCreeper.java:88)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1262)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1244)
    at net.minecraft.server.World.tickEntities(World.java:1151)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
  5. Offline

    Oland3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi,great plugin! I've got a problem though.
    I have pvp off as a basic on my server and I would like to have a pvp arena where people can fight against each other.
    So I tried making one and after I had set the positions,named the region and all that I was going to allow pvp in the area.
    The command to do that is:
    /region flag PvpArena1 pvp allow
    Pvparena1 is the name of the region and after I wrote that it said it was done.
    But it doesn't seem to work since people still can't hurt each other.

    If anyone could give me any suggestions what to do or how to make this work I would be truly happy!
  6. Offline

    Unbatedzz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello I have a problem with Worldguard. When I set entry deny on a region, and I add a member or owner to the region they still cant enter the region.
    I only have a problem when adding a group. If I add players, It works just fine! I use /region addmember [regionname] g:[groupname] and they still cannot enter. Help please!!!
    Region yml

    This post has been edited 5 times. It was last edited by Unbatedzz Jul 26, 2012.
  7. Offline

    xfoondom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I need help..! Can anyone make a blacklist that blacklists those blocls for breaking?:
    1,2,3,4,5,6,7,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,110,112,113,114,115,116,117,118,119,120,121,122,123,124

    I tried but I can't do it :/ Or can anyone at least help me?
  8. Offline

    soloman981

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have the same problem and i am using permissionsbukkit dont know if its beacuse of it
  9. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think there might be multiple ways to do it, but here's my hacky way:

    1) Make sure pvp is enabled in server.properties
    2) Make sure pvp is enabled in Multiverse-core (if using it)
    3) Make a giant region that contains the entire world in question. If you are using a square border plugin (like WorldBorder), this would line up nicely and nothing would be outside of it. Set pvp deny for this region. This will basically prevent pvp on the whole map.
    4) Make an arena region and set the pvp flag to allow. Then set that regions priority to 1. This will then override the pvp deny in the main region.

    I think that's how I did a TNT zone too. I tried using the __global__ regions to deny and then allowing in a region but I don't think I got that to work. If anyone has a simpler way to do this, feel free to share :)

    This post has been edited 1 time. It was last edited by Tanite Aug 2, 2012.
  10. Offline

    Tdktkd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Tripwire is basicly disabled because of worldguard using it to detect regions. Just a heads up!
  11. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did you change the wand from string to something else in your configs? I use gold helmet but there are plenty of other possibilities.

    This post has been edited 1 time. It was last edited by Tanite Aug 2, 2012.
  12. Offline

    Tdktkd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, I forgot about that. :)
  13. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sooooo... anyone tried this on 1.3? :D
  14. Offline

    GoldenWrapper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just wondering if you can toggle if players can do damage to mobs. I don't want players killing my villagers at spawn.
  15. Offline

    Chlorek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello guys, I know that Bukkit 1.3 is still in development, but I got some problem with WorldGuard in 1.3. So regions sometimes just disappears, I can not hurt mobs (and they can't hurt me). Moreover it sometimes allows to spawn mobs even if there is correct flag to avoid that. Please help.

    This post has been edited 4 times. It was last edited by Chlorek Aug 5, 2012.
  16. Offline

    Harry4of4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I got this error on startup.

    Code:
    [WARNING] [WorldGuard] "WorldGuard v627-0fed35a" has registered a listener for org.bukkit.event.player.PlayerChatEvent on method "public void com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerChat(org.bukkit.event.player.PlayerChatEvent)", but the event is Deprecated. Server performance will be affected; please notify the authors [].
    org.bukkit.plugin.AuthorNagException
      at org.bukkit.plugin.java.JavaPluginLoader.createRegisteredListeners(JavaPluginLoader.java:302)
      at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:507)
      at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.registerEvents(WorldGuardPlayerListener.java:93)
      at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onEnable(WorldGuardPlugin.java:157)
      at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
      at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357)
      at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
      at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263)
      at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245)
      at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
      at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
      at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
      at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
      at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
  17. Offline

    PixelblockRupp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Update for 1.3.1 please! :)
  18. Offline

    monir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How can i turn off so people cant get xp with coal?
  19. Offline

    CRAZYpooCHUCKER

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you planning to update this? Both 1.2.5-R5 and 1.3.1-R1 (my server runs 1.2.5)
  20. Offline

    CRAZYpooCHUCKER

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wait never mind.
  21. Offline

    Silaims

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I beg your pardon. This dups works from FalseBook in option "AppleDropChance".

    This post has been edited 2 times. It was last edited by Silaims Aug 18, 2012.
  22. Offline

    Crazendrix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this work with 1.3.1
  23. Offline

    Silaims

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, about her and referred to.
  24. Offline

    a11111

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to make a region completely indestructible? ie. TNT, creepers, and fireballs won't damage it?
    I built an arena with a glass border around it and defined the border as its own region. I want people to be able to break blocks inside the border, but not to be able to blow a hole through the border itself.
  25. Offline

    StealthBravo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    WorldGuard lags on my server, anyone else?
  26. Offline

    Just Another Guy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, just wondering if it's possible I can disable certain commands, like stopping someone being able to /home, /spawn and /tp etc? :)
  27. Offline

    gbumoon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm catching strange lag spikes too, not sure which plugin to blame, WorldGuard isn't exactly a plugin I can afford to disable for a day. I'll try this out on a test server, with some dev versions of bukkit it gives me errors about contacting the author for updating because it isn't shutting down / syncing properly. I get the same lag with CommandBook and CommandBin so now I'm looking at Guard, Edit, etc.. I also run Factions and mcMMO, I'm going to try disabling mcMMO for a day, otherwise it might just be Bukkit lag yet. I noticed a lot of people are going back to 1.2.5 for now but I think we'll tough it out, I like trading with villagers :)
  28. Offline

    StealthBravo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yah, no way I'm going back to 1.2.5. I get the [WARNING] Can't keep up! Did the system time change? Or is Bukkit overloaded? in my console. It doesn't crash when it does that, it just decides to randomly show up, and I honestly didn't notice any issues until I put WorldGuard in (I run a prison server, so no way in hell can I disable it)
  29. Offline

    Major

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Undeniably the greatest plugin ever made.
  30. Offline

    bigbend

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

    I run a server with a spawn area protected by a WorldGuard region. No non ops can build or destroy anything in this area. They can open doors, however. We have some small apartments in the spawn area that can be rented by the players for a weekly fee. I am trying to set up a region-within-a-region to allow players to build and use furnaces, crafting tables, chests, etc in their apartment. I tried making a new region with me as an owner but cannot seem to have anyone else be able to access the furnace. I have tried setting the flags use, passthrough, build, and construct, but none seem to work. I don't want to use addowner if I don't have to, as I don't know which player will be renting that specific apartment. All I get is, "You don't have permission for that in this area." Is addowner the only way to unlock the region for that specific person? Can anyone who has a bit more knowledge with WorldGuard and its region function help me out? It would be greatly appreciated.

    Thanks,
    bigbend

    (I posted this in Bukkit Help too because an admin told me to.)

    This post has been edited 1 time. It was last edited by bigbend Aug 15, 2012.
  31. Offline

    LetCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @sk89q
    How do I enable Minecarts? Reply please, really need help with my ''FunPark" :D
  32. Offline

    Silaims

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Set flags "allowed-cmds" and "blocked-cmds" by using config a database MySQL impossible? Can fix it?

Share This Page