Problem with worldguard

Discussion in 'Archived: Plugin Requests' started by freeze4, Nov 16, 2011.

  1. Offline

    freeze4

    Hello. I have a problem. When i try to block flint_and_steel and lava on world guard its dont work.

    Its my config, look and please tell me whats is wrong

    Code:
    No Flint and steel!
    [flint_and_steel]
    ignore-groups=admin
    on-acquire=deny,notify,kick
    on-use=deny,notify,kick
    
    
    No lava!
    [lava]
    ignore-groups=admin
    on-acquire=deny,notify,kick
    on-use=deny,notify,kick
    and its dont work :/

    someone can help me?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  2. Offline

    c0mp

    Change this:
    Code:
    No Flint and steel!
    [flint_and_steel]
    ignore-groups=admin
    on-acquire=deny,notify,kick
    on-use=deny,notify,kick
    
    
    No lava!
    [lava]
    ignore-groups=admin
    on-acquire=deny,notify,kick
    on-use=deny,notify,kick
    To this:
    Code:
    #No Flint and steel!
    [flint_and_steel]
    ignore-groups=admin
    on-acquire=deny,notify,kick
    on-use=deny,notify,kick
    
    
    #No lava!
    [lava]
    ignore-groups=admin
    on-acquire=deny,notify,kick
    on-use=deny,notify,kick
    It's probably getting tripped up on the uncommented lines that it doesn't recognize.
     
  3. Offline

    freeze4

    but i have the line in config of worldgurad
    Code:
    # REMEMBER: If a line has # in front, it will be ignored.

    and look, i have this too and its working, only flint_and_steel and lava dont working
    Code:
    No TNT!
    [tnt]
    ignore-groups=admin
    on-place=deny,notify,kick
    
    No lava bucket!
    [lava_bucket]
    ignore-groups=admin
    on-use=deny,notify,kick
     
  4. Offline

    c0mp

    Right, it's telling you that if a line starts with a #, it will ignore that line, otherwise, it will attempt to parse it as part of the configuration. The "No [item]!" lines are just for labeling purposes. You can either remove them or comment them out, but they're not supposed to be parsed as part of the configuration.

    I don't know how it's working for these two, but it shouldn't. The first lines should either be removed or commented out.
     

Share This Page