[SEC] WorldGuard - Block fire, ice/melt, MUSHROOMS! Advanced+fast area protect! Blacklist

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

     
  1. Offline

    sk89q

    [IMG]

    _______

    Protect your world by selectivity turning off fire, controlling item usage, blocking TNT, and protecting areas. Most features are disabled by default (this keeps WorldGuard lightweight, even if it has a lot of options.)
    • Protect areas and set flags (like mob spawning, greeting messages, etc.) on regions, controlling who and what happens in zones
      • Many flags available: pvp, mob damage, mob spawning, creeper explosion, ghast fireball, sleep disable, TNT, flint and steal, fire spread, lava fire, lightning, chest protection, water flow, lva flow, button/door use, vehicle placement, snow fall, leaf decay, greeting message, farewell message, administrator notifications on enter/leave, automated healing, blocked/allowed commands, respawn location, physical entry or exit blocking
    • Ban, log, alert, and control the use of certain items with the blacklist
    • Simple user-controlled chest protection by placing signs (disabled by default, won't conflict)
    • Disable and control TNT, flint and steel, creepers, fire spread, lava spread, ice and snow melting, weather, leaf decay, ice formation, fall damage, and many other things
    • Bring back the sponge from Classic that takes away water
    • Make pumpkins let you breathe underwater
    • /god, /heal, /slay, /stack to make item stacks, /locate for compass fun
    • /stopfire and /stoplag are there in emergencies
    • Much much more!
    [IMG]

    [IMG] WorldGuard 5.3
    [IMG][IMG] Quick reference PDF [IMG]

    [IMG] Requirements: WorldEdit (If you don't want WorldEdit and don't plan on using WG's region protection, put WorldEdit.jar in the root folder of your server outside plugins/)

    If you find WorldGuard useful, [IMG]

    [IMG]

    Check out my server too!
    [IMG]

    [IMG]

    This post has been edited 13 times. It was last edited by sk89q Mar 3, 2012.
  2.  
  3. Offline

    Jobsti

    2.2 don't work on #80.
    [IMG]
  4. Offline

    sk89q

    Updated WorldEdit?
  5. Offline

    Jobsti

    <- Idiot ;)
    Testet without WE, because I test all the plugins separately on new builds.

    So, it works on #80!

    Edit:
    I know, blockTNT still not work, but it dosn't crash the client anymore (only Item dura off) ;)
  6. Offline

    sharkh20

    Everything seems to be working great for me except for the creeper nerf. Should it show me anything in console for this one? Ran into a creeper and it just blew up in my face. This is with latest worldedit and worldguard. Is this the correct command?
    Code:
    block-creeper-explosions: true
  7. Offline

    uncovery

    Great! Thanks so much!

    Can you explain the /claim command a bit more? what happens if the cuboid is already owned?

    Also, can you explain the regions.txt syntax please?

    "testregion1","cuboid","81","64","-28","91","68","-14","0","u:uncovery","",

    What is the the 0 for? what is the last option? what alternatives are there to "u:" ?

    thanks again!
  8. Offline

    sk89q

    It currently only prevents terrain damage. I am not sure I can prevent player damage yet (and thus /god doesn't work either).

    If a cuboid is already owned (and you don't own it), the claim command will deny the action.

    The six numbers are minimum X, Y, Z and maximum X, Y, Z.

    The 0 indicates priority. Priority doesn't work yet. (However, don't change a region's priority to something other than 0. That will result in unpredictable behavior).

    Alternatives are:
    • g:admins
    • u:sk89q,g:admins
    • g:admins,u:sk89q,u:alexf
    • etc.
    The last option is a message you get when you enter a region. This is not implemented.
  9. Offline

    SeeD419

    Tested this in build 80. Seems kinda functional. Guess we just have to wait for bukkit updates at this point.
  10. Offline

    NobodyOfNaught

    Since I don't see these region features in the spread sheet I though I should ask if there's plans to implement them?
    Disable Mob Damage
    Disable Creeper Explosions
    Prevent Player from entering region
  11. Offline

    RustyDagger

    @ nobody i dont think so you need world edit for those commands and that function of this plugin to work.
  12. Offline

    Antac55

    The Config.yml is in the WorldGuard and WorldEdit zips when you download them. I think WorldEdit auto-generates its own now with the latest release from about a day ago. You can also check out his sk89q.com site for info on how to config them, but the commented out tips in the files are extremely simple to follow and there's a website that he links in them that will check to see if your .yml files have any formatting issues or invalid stuff.

    \/ nvmd, just noticed in his spreadsheet that creepers can be nerfed now :D
    I just disabled all bad mobs until Creepers are nerfed, just the server.properties, nothing special.. I know you probably want mobs, but unles you can roll back an area if they blow it up, then it's not worth it atm, unless there's another plugin that disables specific mobs, but there might not be a handler thingy for it in CraftBukkit yet. I don't program so most of what I say is fluff, lol.
  13. Offline

    sk89q

    There are plans to implement those.

    Sturmeh, who wrote the Borderlands plugin, said that he's going to integrate Borderlands into WorldGuard so you're going to have a pretty powerful flags and permissions system for regions.
  14. Offline

    SeeD419

    Worldguard blacklist isn't working for me. I've tried renaming to Blacklist.txt to no avail.
  15. Offline

    sk89q

    Paste the file's contents, and possibly make a screenshot of the folder.
  16. Offline

    dragtor

    2011-01-18 21:20:47 [INFO] WorldGuard 2.2 loaded.
    2011-01-18 21:20:47 [INFO] WorldGuard: GroupUsers detected! Using GroupUsers for
    permissions.
    2011-01-18 21:20:47 [INFO] WorldGuard: Single session is enforced.
    2011-01-18 21:20:47 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-01-18 21:20:47 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-01-18 21:20:47 [INFO] WorldGuard: Lava fire is blocked.
    2011-01-18 21:20:47 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    18/01/2011 9:20:47 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\WorldGuard.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:82)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:115)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:80)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:41)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:80)
    ... 8 more
    Caused by: java.lang.NoSuchFieldError: ENTITY_EXPLODE
    at com.sk89q.worldguard.bukkit.WorldGuardPlugin.registerEvents(WorldGuar
    dPlugin.java:152)
    at com.sk89q.worldguard.bukkit.WorldGuardPlugin.<init>(WorldGuardPlugin.
    java:132)
  17. Offline

    stolen_insanity


    I'm getting this exact same error code.
    --- merged: Jan 18, 2011 12:50 PM ---
    If I update to #82 then WorldGuard doesn't load at all and my server crashes.
    I've gone back to #66 where WorldEdit will work, WorldGuard won't.
    --- merged: Jan 18, 2011 1:03 PM ---
    ok, got it working on #82
    but not fully


    ignition:
    block-tnt: on
    block-lighter: on

    fire:
    disable-all-fire-spread: on
    disable-fire-spread-blocks: []
    disable-lava-fire-spread: on
    lava-spread-blocks: []


    But in the console it says:

    2011-01-18 12:59:57 [INFO] WorldGuard: Single session is enforced.
    2011-01-18 12:59:57 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-01-18 12:59:57 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-01-18 12:59:57 [INFO] WorldGuard: Lava fire is blocked.
    2011-01-18 12:59:57 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
  18. Offline

    Jobsti

    I don't have those errors, also console says blocked or enforced correctly. Using #82., WorldEdit and WorldGuard
  19. Offline

    Antac55


    That's because you are saying "on"
    The only variables I am aware of are "true" and "false" for on and off type options.
  20. Offline

    Jobsti

    false.... latest version use on and off. works for me.

    @stolen_insanity
    Post your cfg in the PHP code Format.
    What says http://yaml-online-parser.appspot.com/ ?

    Edit:
    blacklist dosen't work ;( (flatfile)(CB#82, WE/WG latest)
    But Worldguard says in serverconsole: blacklist loaded
  21. Offline

    Antac55

  22. Offline

    zipfe

    sk89q, if you could do that, you would be even more awesome than you already are. While your current regions.txt is easy to understand and generate, I failed at deciphering cuboidAreas.dat. Or maybe you have a hint on how to read cuboidAreas.dat?

    Thanks for your great plugins. Both current versions of WorldEdit and WorldGuard work fine on our bukkit server.
  23. Offline

    SilverstarX

    Is there any way or any plugin (maybe even WorldEdit/Guard?) for setting global limits (pvp, building, mob-spawn), so I can create regions like a pvp arena, a freebuild area etc. without having to put the full map into a region?
  24. Offline

    oatmealpacket

    I'm now running a server on Craftbukkit #82 with the plugins:

    General
    GeneralEssentials
    GuestBook
    LWC
    MagicCarpet
    WarpGate
    WorldEdit
    WorldGuard

    WorldGuard is still capable of protecting regions from building, but if anyone tries to destroy a block in a protected region they're still able to do so. They're alerted that they don't have permission for that area but the block is destroyed all the same.

    I'm no longer using redundant plugins, so I'm a bit stuck. Any ideas?

    Edit: The problem appears to be a conflict between GuestBook and other protection-type plugins. When GuestBook is removed other plugins appear to work fine. Shame, because I loved GuestBook.
  25. Offline

    stolen_insanity


    I don't get what you mean :p
  26. Offline

    h0us3cat

    me doing it wrong?

    Code:
    SEVERE: Could not load plugins\WorldGuard.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja
    ava:83)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(Simp
    java:115)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(Sim
    .java:80)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
            at net.minecraft.server.MinecraftServer.e(MinecraftServe
            at net.minecraft.server.MinecraftServer.c(MinecraftServe
            at net.minecraft.server.MinecraftServer.d(MinecraftServe
            at net.minecraft.server.MinecraftServer.run(MinecraftSer
            at net.minecraft.server.ThreadServerApplication.run(Sour
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInst
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Sou
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja
    ava:81)
            ... 8 more
    Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldedit/V
            at com.sk89q.worldguard.bukkit.WorldGuardPlugin.<init>(W
    java:55)
            ... 13 more
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Me
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 14 more
    2011-01-18 17:02:40 [INFO] Done! For help, type "help" or "?"
    
    EDIT: nvm needed WorldEdit
  27. Offline

    Jobsti

  28. Offline

    Lim-Dul

    Craftbukkit #82, WorldGuard 2.2, WorldEdit 2.10 - CLEAN test server. Disabling fire spread doesn't work. However, I don't think it's this plugin; ALL plugins that stop fire stopped working - vStopFire and Guardian having the same issue. (Blocking flint and steel itself works though, so does blocking lava from starting fires)
  29. Offline

    Jath

    What is the format of the lines you have to put in the blacklist file? Like, I want to block lava and other things and I was reading the wiki, but can't seem to decipher it.
  30. Offline

    sk89q

    Paste your blacklist.

    Update CraftBukkit.

    https://spreadsheets.google.com/pub...Q0t3a0xfZTR6RGRCczZtWTlFbkE&hl=en&output=html

    You can use on/off, yes/no, and true/false actually (in the YAML format).

    Paste your blacklist.

    Here's an example:
    https://github.com/sk89q/worldguard/raw/master/blacklist.txt

    See the bottom.
  31. Offline

    Jath

  32. Offline

    gallexme

    classic water wont work for me craftbukkit #82
    my config is
    Code:
    #
    # WorldGuard's configuration file
    #
    # About editing this file:
    # - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
    #   you use an editor like Notepad++ (recommended for Windows users), you
    #   must configure it to "replace tabs with spaces." In Notepad++, this can
    #   be changed in Settings > Preferences > Language Menu.
    # - Don't get rid of the indents. They are indented so some entries are
    #   in categories (like "enforce-single-session" is in the "protection"
    #   category.
    # - If you want to check the format of this file before putting it
    #   into WorldGuard, paste it into http://yaml-online-parser.appspot.com/
    #   and see if it gives "ERROR:".
    # - Lines starting with # are commentsand so they are ignored.
    #
    # WARNING:
    # Remember to check the compatibility spreadsheet for WorldGuard to see
    # if any features are currently broken in your version of Bukkit.
    #
    
    summary-on-start: on
    
    protection:
        enforce-single-session: on
        item-durability: on
    
    simulation:
        classic-water: on
        sponge:
            enable: on
            radius: 3
    
    physics:
        no-physics-gravel: on
        no-physics-sand: on
        allow-portal-anywhere: on
        disable-water-damage-blocks: []
    
    ignition:
        block-tnt: on
        block-lighter: off
    
    fire:
        disable-all-fire-spread: on
        disable-fire-spread-blocks: []
        disable-lava-fire-spread: on
        lava-spread-blocks: []
    
    mobs:
        block-creeper-explosions: on
        block-creeper-block-damage: on
    
    spawn:
        login-protection: 3
        spawn-protection: 0
        kick-on-death: off
        exact-respawn: off
        teleport-to-home-on-death: off
    
    player-damage:
        disable-fall-damage: on
        disable-lava-damage: on
        disable-fire-damage: on
        disable-drowning-damage: on
        disable-suffocation-damage: on
        teleport-on-suffocation: on
    
    regions:
        enable: on
        wand: 287
    
    blacklist:
        logging:
            console:
                enable: on
            database:
                enable: off
                dsn: jdbc:mysql://localhost:3306/minecraft
                user: root
                password: pass
                table: blacklist_events
            file:
                enable: on
                path: worldguard/logs/%Y-%m-%d.log
                open-files: 10
    
    # See http://wiki.sk89q.com/wiki/WorldGuard/Permissions/Bukkit
    permissions:
        groups:
            default:
                permissions:
                    - /reload
        users:
            sk89q:
                permissions:
                    - /region
                    - /reload
    and im getting no console error

Share This Page