[SEC] AntiBuild v1.5.0 - Prevent building for untrusted users [1060]

Discussion in 'Inactive/Unsupported Plugins' started by kroimon, Mar 2, 2011.

  1. Offline

    n4Ghost

    wrong Topic
     
  2. Offline

    Apocist

    Using AntiBuild 1.4 with bukkit 617 and Essietials(groupmanager inherit) and my groups work just fine. defaults can't build yet uppers can.

    EDIT: acually when a member that doesnt have permission to build, it states the "You can't build" message twice..other than that it still works fine
     
  3. Offline

    Phase

    No issues for me with craftbukkit 677 and AntiBuild 1.4.0

    Don't forget to update the thread title :)
     
  4. Offline

    MineralMC

    Any chance of a 10 second cooldown on the 'you can't build' message? Default users have been coming into the server, hitting blocks like crazy folk and missing the MOTD telling them to request build rights as a result of it.
     
  5. Offline

    r011yp011y

    Dude update to 709 which is kinda stable. Please man thank you if you do
     
  6. Offline

    MineralMC

    Well, 714 if you want the most stable build - although 715 should be ready as soon as they've fixed spiral chunk loading; which will hopefully be as stable as 714, and thus a recommended build.

    ...not that any of that matters, as the current version of antibuild works perfectly with 714. Not too sure why you'd request an update for something that works fine?
     
  7. Offline

    kroimon

    Yepp, planned and already implemented - will release a new version within the next few days...
     
  8. Offline

    MineralMC

    Excellent, thanks for the quick response.
     
  9. Offline

    kroimon

    I just released version 1.4.1 which adds a configurable cooldown time for messages. The default cooldown time is 3 seconds.
    Have fun! :)
     
  10. Offline

    papand13

    Thanks a bunch for updating! Your'e awesome! :)
     
  11. Offline

    MineralMC

    Excellent, thanks a lot.
     
  12. Offline

    OrtwinS

    OK, traded AB in for AntiGrief because they had this Anti-interact thing, blocking even picking up items or opening doors (configurable).

    So if I set interact=false for my guests, all other groups DO have interaction by default? Or do I have to set true|false for every group?
    And could you place a full list of what interactions it blocks?

    AntiGrief is adding more and more zone protections, and I already have WorldGuard for that... AG is getting to 'heavy' for me, would be great if I could migrate back to AB.
     
  13. Offline

    Bobertbarker

    So everything was working fine until suddenly lots of plugins decided to stop working, Antibuild included. I didn't update or install any new plugins, it came out of nowhere. Here's the error I got in the server log. Thanks in advance.
    Code:
    2011-04-27 20:34:49 [SEVERE] Could not pass event BLOCK_DAMAGE to AntiBuild
    java.lang.NullPointerException
        at net.sradonia.bukkit.antibuild.AntiBuild.canBuild(AntiBuild.java:110)
        at net.sradonia.bukkit.antibuild.BListener.onBlockDamage(BListener.java:26)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:358)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(CraftEventFactory.java:180)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:87)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  14. Offline

    kroimon

    Seems like your Permissions plugin stopped working - did you change anything there? :)
     
  15. Offline

    Bobertbarker

    Well now that you mention it, I did finally take the time to add a new group, but it was working for a few hours after I did that. Could that have done anything? I'll just post my groups file here if you don't mind taking a look. Thanks again.
    Code:
    groups:
      default:
        default: true
        permissions:
        - help
        - spawn
        - essentials.who
        inheritance:
        - default
        info:
          prefix: '&e'
          build: false
          suffix: ''
      Regular:
        default: false
        permissions:
        - mcmmo.regeneration
        - mcmmo.commands.ability
        - mcmmo.ability.woodcutting
        - mcmmo.ability.mining
        - mcmmo.ability.axes
        - mcmmo.ability.excavation
        - mcmmo.ability.swords
        - mcmmo.ability.unarmed
        - mcmmo.ability.herbalism
        - mcmmo.skills.*
        - essentials.accept
        - essentials.depth
        - essentials.getpos
        - essentials.msg
        - essentials.afk
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.helpop
        - essentials.clearinventory
        - essentials.compass
        - essentials.getpos
        - essentials.me
        - essentials.nick
        - essentials.whois
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.tpahere
        - myhome.home.*
        - mywarp.warp.basic.*
        - BlueTelePads.Use
        inheritance:
        - default
        info:
          prefix: '&2'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - essentials.weather
        - essentials.thunder
        - essentials.lightning
        - essentials.heal
        - essentials.god
        - essentials.suicide
        - essentials.time
        - essentials.item
        - essentials.give
        - essentials.mute
        - essentials.kick
        - essentials.ping
        - essentials.burn
        - essentials.ext
        - essentials.tp
        - essentials.tpo
        - essentials.tphere
        - essentials.tpohere
        - BlueTelePads.Create
        - magiccarpet.mc
        - magiccarpet.ml
        inheritance:
        - regular
        info:
          prefix: '#9
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - Regular
        info:
          prefix: '&4'
          build: true
          suffix: ''
    
     

    Attached Files:

  16. Offline

    kroimon

    Yeah, I found some errors in there:
    • Lines 8 and 9: Are you sure that the group 'default' should inherit from itself? It should not.
    • Line 80: I don't know if capitalization matters, but you named your group 'Regular', not 'regular'.
    • Line 82: A major error for sure. You did not close the opening quotation mark and colors are prefixed with &, not #.
     
  17. Offline

    WetterSiegen

    Ist AntiBuild working on Craftbukkit 740 ?

    AntiBuild is not loeadet on my server ...

    [​IMG]

    Uploaded with ImageShack.us

    of i have the folder deleted and restart the sever its going

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

    SeeD419

    I was wondering if I could finally drop FakePermissions and it seems out of like 15 plugins, this is the last to still utilize it.

    Updating to the newer group management plugin would be nice.
     
  19. Offline

    Bobertbarker

    Thanks,I made those changes, and I'm still getting these errors.

    Turns out GroupManager somehow got messed up. i switched to permissions and everything's better. Thanks.
     

    Attached Files:

    Last edited by a moderator: May 10, 2016
  20. Offline

    kroimon

    Well, I think I won't switch over to a now inactive plugin...
    Nice to hear :)
     
  21. Offline

    papand13

    I've got a recent error wich normally doesnt show up.
    It keeps constantly telling me this in my server console:
    Code:
    2011-04-03 13:03:55 [SEVERE] Could not pass event BLOCK_DAMAGE to AntiBuild
    2011-04-03 13:04:03 [SEVERE] Could not pass event BLOCK_PLACE to AntiBuild
     
  22. Offline

    kroimon

    Could you please also post the stacktrace (the cryptic lines below each error message)?
     
  23. Offline

    papand13

  24. Offline

    kroimon

    Huh? There should be some more detailed log as this gives no hint where to start looking at (and my crystal ball is currently out of order :p)
     
  25. Offline

    Kardac

    I have suggested support for interaction:false|true in MCmyadmin (controlpanel for servers).
    Seems it wont work for us mcmyadmin+groupmanager users as it is now, since MCmyA overwrites manual changes in the group.yml file.
    If theres more Antibuild users out there that want this feature added in MCmyA, vote here>>
     
  26. Offline

    Shortee

    First of all: great plugin :)
    But.. since my last update, pictures are not longer protected on my server. Guests can destroy and place them. Is this a common problem or is it a conflict between my plugins? (I tried switching off EssentialsProtect - same problem)

    Edit: Ok, I guess Pictures are Entitys and for them I have to use interact=false, right?
    (McMyadmin wont let me, so I´ll vote for Kardacs request :( )
     
  27. Offline

    kroimon

    @Shortee
    Could you please try this version? It's 1.5.0 beta which checks for the 'build' permission on painting place and break :)
    This beta version is untested as I have no test server ready at the moment, but it should work...
     
  28. Offline

    Shortee

    Thanks. works perfect. MCMA also included support for interact now.
    Just one problem remaining: Minecarts are usable and destroyable.
     
  29. Offline

    Futureproof101

    hey pressure plates dont work for people who cannot build is there a way to fix this?
     
  30. Offline

    kroimon

    Are you using the interaction check? People with "build: false" but "interact: true" should be able to use pressure plates.

    If you disabled the interaction check in the config, AntiBuild won't even check when a pressure plate is triggered.
     

Share This Page