[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

    DarkByte7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I gave a group the "worldguard.region.teleport.*" permission node but it says they still don't have permission to teleport there. I checked the region it has a set spawn so what could be causing the problem?
  4. Offline

    RiotShielder

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am using SimpleRegionMarket
    Players buy worldguard region 'plots'
    But for some reason my players cannot build in regions they buy, the plugin will give the player owner to the region he buys. But even with the player as owner of a region he cannot build
    I think this is best shown in a little picture
    [IMG]
  5. Offline

    ThePianoGuy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not sure what is happening here, but it seems that this message is repeated and shows once I add worldedit or worldguard to my plugin list. It repeats over and over.

    15:36:09 [SEVERE] Could not pass event PlayerMoveEvent to WorldGuard
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.
    va:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.j
    a:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager
    ava:459)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:209)
    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:113)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getVehicle()L
    g/bukkit/entity/Vehicle;
    at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener$PlayerMoveHand
    r.onPlayerMove(WorldGuardPlayerListener.java:113)
    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.
    va:301)
    ... 10 more
  6. Offline

    mcferson

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Like lot of people here, i get this message when i reload the plugins :
    but i can't find any answer in this thread. Has someone an answer ?
    (i'm using BukkitGUI Project)
  7. Offline

    Rednas123

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    19:26:08 [SEVERE] Could not load 'plugins\worldguard-5.5.2.jar' in folder 'plugi
    ns'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/sk
    89q/minecraft/util/commands/CommandsManager
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:150)
    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:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/Com
    mandsManager
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:139)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.C
    ommandsManager
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more




    What did i do wrong ??
    And It dident say Owner Front My Name :(

    This post has been edited 1 time. It was last edited by Rednas123 Apr 13, 2012.
  8. Offline

    MegaMiner2306

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok i got it to say SafeZone in my regions, BUT how do i change the color of the greetings??? Please HELP!!
  9. Offline

    btuyl

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm having the same thing and it is lagging my server out in 8 hours the server log get to be 9MB, hope it get's fixed soon. I did the IRC thing last night but no one was there to answer or help, stayed on there for about 10-15 min's.
  10. Offline

    Mrchasez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How come everyone can still use WaterBucketes

    [lavabucket,waterbucket,bucket]
    on-use=deny
  11. Offline

    zlAimStar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've got a problem.
    I came form Germany and can't speak good english.
    Ok, my problem is that, when i write this command: /i 1034 1 (ID of Pumpgunammo)
    there cames an error: An error has occurred. See console.
    In the console is following text:

    atlan1 said to me, that the problem is by WorldGuard

    10:04:03 [SCHWERWIEGEND] com.sk89q.minecraft.util.commands.WrappedCommandExcepti
    on: java.lang.NullPointerException
    10:04:03 [SCHWERWIEGEND] at com.sk89q.minecraft.util.commands.CommandsMan
    ager.invokeMethod(CommandsManager.java:524)
    10:04:03 [SCHWERWIEGEND] at com.sk89q.minecraft.util.commands.CommandsMan
    ager.executeMethod(CommandsManager.java:501)
    10:04:03 [SCHWERWIEGEND] at com.sk89q.minecraft.util.commands.CommandsMan
    ager.execute(CommandsManager.java:403)
    10:04:03 [SCHWERWIEGEND] at com.zachsthings.libcomponents.bukkit.BukkitCo
    mponent.onCommand(BukkitComponent.java:80)
    10:04:03 [SCHWERWIEGEND] at com.sk89q.bukkit.util.DynamicPluginCommand.ex
    ecute(DynamicPluginCommand.java:40)
    10:04:03 [SCHWERWIEGEND] at org.bukkit.command.SimpleCommandMap.dispatch(
    SimpleCommandMap.java:166)
    10:04:03 [SCHWERWIEGEND] at org.bukkit.craftbukkit.CraftServer.dispatchCo
    mmand(CraftServer.java:473)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.NetServerHandler.handleC
    ommand(NetServerHandler.java:821)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.NetServerHandler.chat(Ne
    tServerHandler.java:781)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.NetServerHandler.a(NetSe
    rverHandler.java:764)
    10:04:03 [SCHWERWIEGEND] at org.getspout.spout.SpoutNetServerHandler.a(Sp
    outNetServerHandler.java:103)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.Packet3Chat.handle(Packe
    t3Chat.java:34)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.NetworkManager.b(Network
    Manager.java:229)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.NetServerHandler.a(NetSe
    rverHandler.java:113)
    10:04:03 [SCHWERWIEGEND] at org.getspout.spout.SpoutNetServerHandler.a(Sp
    outNetServerHandler.java:169)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.NetworkListenThread.a(Ne
    tworkListenThread.java:78)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.w(Minecr
    aftServer.java:551)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.run(Mine
    craftServer.java:449)
    10:04:03 [SCHWERWIEGEND] at net.minecraft.server.ThreadServerApplication.
    run(SourceFile:492)
    10:04:03 [SCHWERWIEGEND] Caused by: java.lang.NullPointerException
    10:04:03 [SCHWERWIEGEND] at com.sk89q.commandbook.CommandBookUtil.giveIte
    m(CommandBookUtil.java:227)
    10:04:03 [SCHWERWIEGEND] at com.sk89q.commandbook.InventoryComponent$Comm
    ands.item(InventoryComponent.java:158)
    10:04:03 [SCHWERWIEGEND] at sun.reflect.NativeMethodAccessorImpl.invoke0(
    Native Method)
    10:04:03 [SCHWERWIEGEND] at sun.reflect.NativeMethodAccessorImpl.invoke(U
    nknown Source)
    10:04:03 [SCHWERWIEGEND] at sun.reflect.DelegatingMethodAccessorImpl.invo
    ke(Unknown Source)
    10:04:03 [SCHWERWIEGEND] at java.lang.reflect.Method.invoke(Unknown Sourc
    e)
    10:04:03 [SCHWERWIEGEND] at com.sk89q.minecraft.util.commands.CommandsMan
    ager.invokeMethod(CommandsManager.java:514)
    10:04:03 [SCHWERWIEGEND] ... 18 more
  12. Offline

    zmr333

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there an in-game command to enable fire-spread?
  13. Offline

    Poland Fun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    right now the spawn flag only effects members of a region (or at least how i tested it); is there anyway to make it effect everyone who dies in a region?

    nvm, found a way around it involving pass through children with groups added of everyone

    This post has been edited 1 time. It was last edited by Poland Fun Apr 18, 2012.
  14. Offline

    Nobody_XD

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

    go to your plugin list -> worldguard --> config.yml and find where it stands "use-player-move-event: true" set it to false.

    It probably would look like this picture or something like that with you worldguard error skaper.PNG

    but it should look like this
    worldguard riktig for å unngå error.PNG

    i hope this will remove your error... i had the same error until i set it to false :)

    This post has been edited 1 time. It was last edited by Nobody_XD Apr 17, 2012.
    ThePianoGuy likes this.
  15. Offline

    Giuseppe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i can´t set Water
    i´m OP
    http://local-network-hosting.de/ama/2012-04-17_20.26.28.png

    Code:
    # Deny lava buckets
    [lavabucket]
    ignore-groups=GM,GS,Pyro
    on-use=deny,tell,log,notify
     
    #Wasser
    [326]
    ignore-groups=GM,GS,Pyro
    on-use=deny,tell,log,notify,on-place,on-use
     
     
    #TNT
    [46]
    ignore-groups=GM,GS,Pyro
    on-use=deny,tell,log,notify,on-place,on-use
    
  16. Offline

    owenftw

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    >20:53:08 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 11, Size: 11
    >20:53:08 [SEVERE] at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    >20:53:08 [SEVERE] at java.util.ArrayList.get(ArrayList.java:322)
    >20:53:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.getOnlinePlayers(CraftServer.java:389)
    >20:53:08 [SEVERE] at com.sk89q.worldguard.bukkit.FlagStateManager.run(FlagStateManager.java:64)
    >20:53:08 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    >20:53:08 [SEVERE] at java.lang.Thread.run(Thread.java:662)
  17. Offline

    Semirotta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why there is no flag in worldguard:
    No-Drops <- which makes mobs unable to drop items / exp in the certain region.




    This post has been edited 1 time. It was last edited by Semirotta Apr 19, 2012.
  18. Offline

    Babadegl

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hwo can i disable MORE than 1 command in a region? its shitty in pvp all teleport and use warping and /home -.-
    i know region flag xxx blocked-cmds but when i add more than one command it doesnt work
  19. Offline

    JJLangan123

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi can you attach a link to the commands because I'm a bit slow and i can't find the document! I want to stop mob spawn from a certain area! Can u help! If there is already a link (not the link above for many more because that docent help me much) can u please send! Thanks!
  20. Offline

    Strahan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have a user with a region set on their home area. They get the "you do not have permission to destroy vehicles" when they try to destroy a cart in their region. They are set as owner. I went to another region and set them owner, they had the same issue. I tried setting vehicle-destroy: allow but it still didn't work. Any ideas?
  21. Offline

    craftersheaven

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What would bukkit be without sk.
    Think about it what could we do without worldedit? us mcedit all the time?
    or worldguard does anyone know any better protection plugin? Well i dont!

    Sk89q
    Keep rocking man!
  22. Offline

    Riolu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I used this nodes to set up PermissionsBukkit for user group players
    http://wiki.sk89q.com/wiki/WorldGuard/Permissions
    But user group still can't use WorldGuard.
    For example:
    I set worldguard.region.select.own.*: true node to user group players being awalible to select it with wand tool. But they can't. Only admin group can. There is worldguard.*: true node
    How can I fix that?
  23. Offline

    Mista Epic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Don't use this plugin. It doesn't work. I tried to disable TNT but five seconds later everybody was blowing everything up. It doesn't work, don't use it.
  24. Offline

    Riolu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, man, it's actually works. It's completly block TNT, Creepers, Endermans, -dragons.
    You can block damage to blocks. but leave damage to players and etc.
    If you got errors, when install it, try firstly install World Edit, then this World Guard.
    This to set off damage to blocks. TNT will explose with sounds and effects and will damage player, but ground will safe:
    PHP:
    ignition:
        
    block-tntfalse
        block
    -tnt-block-damagetrue
        block
    -lighterfalse
    You can find that node at configs.
  25. Offline

    jpta162

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How do you disable groups from entering regions?
  26. Offline

    jpta162

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not people but individual groups
  27. Offline

    xeNium

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

    sk89q. I suggest you to create change log pages.

    Your change log pages must be very detailed. I mean e.g:
    Register command permissions, integrate with the Bukkit help API (On that change log you said register command permissions, but you does not tell us what did you really do like what permissions did you add you just saying and command us to search it yourself. I am tired everytime you update a permissions I must checking and checking the permissions.)

    Added default radius setting for butcher and added permissions for killing pets, npcs, and non hostile animals. (On that change log you said you add permissions for killing pets, npcs, and non hostile animals but you does not tell us what is it e.g worldedit.killpets or maybe worldedit.killnpcs)

    I need a permissions update since v5.4 to v5.5.2 (Now I am version v5.3) I am doing big update today, and now is midnight so I cannot read the whole wiki and I don't want to do that anymore, so please can you write it here? Thanks.
    WorldEdit
    sk89q. I suggest you to create change log pages.

    Your change log pages must be very detailed. I mean e.g:
    Register command permissions, integrate with the Bukkit help API (On that change log you said register command permissions, but you does not tell us what did you really do like what permissions did you add you just saying and command us to search it yourself. I am tired everytime you update a permissions I must checking and checking the permissions.)

    Added default radius setting for butcher and added permissions for killing pets, npcs, and non hostile animals. (On that change log you said you add permissions for killing pets, npcs, and non hostile animals but you does not tell us what is it e.g worldedit.killpets or maybe worldedit.killnpcs)

    I need a permissions update since v5.1 to v5.3 (Now I am version v5.0) I am doing big update today, and now is midnight so I cannot read the whole wiki and I don't want to do that anymore, so please can you write it here? Thanks.
  28. Offline

    Phil3004

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there anyway to allow friendly mob spawning (eggs/snowman) etc, with the mob-spawning deny flag?
    Or just deny monsters?
  29. Offline

    Strahan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    +1. I'd really be happy if there was a way to do that, my users are always bugging me to be able to have livestock in their mob-spawning denied lands.
  30. Offline

    Elements11997

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey, is it possible to allow only a few select people to PVP in a non-PVP region?

    This post has been edited 1 time. It was last edited by Elements11997 Apr 23, 2012.
  31. Offline

    blacksliltoy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i was curious about worldguard i worldguarded a piece of land and did it by mistake and was wondering how i would go about removing the region completely?
  32. Offline

    Strahan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    /rg remove (regionname)

    If you do not know the name, take a piece of string and right click a block in the region and it will tell you. So if it says "Applicable regions: myregion" you would type /rg remove myregion

    This post has been edited 1 time. It was last edited by Strahan Apr 24, 2012.

Share This Page