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

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

  1. Offline

    kahlilnc

    MMmk thanks. I am using permissions. So you put foo.bar on who ever cant build? Right
     
  2. Offline

    kroimon

    Nope, you have to set the 'build' flag to 'false' in the 'info' section of the group you don't want to be able to build and 'build: true' for groups that are allowed to build. The 'foo.bar' permission is just an example for a permission node and isn't required there.
     
    kahlilnc likes this.
  3. Offline

    kahlilnc

    O lol I'm such a newb
     
  4. Offline

    ThorrLucky

    ok i have this plugin and under guest: i have "build: false" why does this still let guests build?
     
  5. Offline

    kroimon

    Which permission plugin do you have? And can you please post the config of your guest group?
     
  6. Offline

    ThorrLucky

    Ok im new to bukkit i was with hmod but here is my group configurations:

    groups:
    Admin:
    default: false
    permissions:
    - '*'
    inheritance:
    - default
    info:
    prefix: '&4'
    build: true
    suffix: Admin

    Captain:
    default: false
    permissions:
    - '*'
    inheritance:
    - default
    info:
    prefix: '&1'
    build: true
    suffix: Cap

    Moderator:
    default: false
    permissions:
    - essentials.tp
    - essentials.tphere
    - essentials.item
    - essentials.give
    inheritance:
    - Member
    info:
    prefix: '&2'
    build: true
    suffix: Mod

    Member:
    default: false
    permissions:
    - essentials.home
    - essentials.sethome
    - essentials.spawn
    - essentials.help
    inheritance:
    - Guest
    info:
    prefix: '&7'
    build: true
    suffix: Mem

    Guest:
    default: true
    permissions:
    inheritance:
    - default
    info:
    prefix: '&f'
    build: - false
    suffix: Guest

    Im not sure what i did wrong but i havent added anyone yet because i havent found out how to keep the guests from building and for the permissions i have the newest i think it is 2.4.5 and groupmanager
     
  7. Offline

    jefe323

    works with cb 617
     
    MonsieurApple likes this.
  8. Offline

    OrtwinS

    is that a question, or a statement?
     
  9. Offline

    Insers

    i have this error
    Code:
    2011-04-03 23:41:22 [SEVERE] tried to access class org.anjocaido.groupmanager.GroupManager$1 from class org.anjocaido.groupmanager.GroupManager loading AntiBuild v1.3.1 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class org.anjocaido.groupmanager.GroupManager$1 from class org.anjocaido.groupmanager.GroupManager
    	at org.anjocaido.groupmanager.GroupManager.enableScheduler(GroupManager.java:106)
    	at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:83)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    	at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.java:61)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    	at net.sradonia.bukkit.antibuild.AntiBuild.setupPermissions(AntiBuild.java:66)
    	at net.sradonia.bukkit.antibuild.AntiBuild.onEnable(AntiBuild.java:27)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    CB 617
    GroupManager 1.0 pre-alpha
     
  10. Offline

    jefe323

    if it was a questiont there would be a question mark...
     
  11. Offline

    beecub

    Works fine.
    Only want to say that.
    Thx guy.
     
  12. Offline

    OrtwinS

    Not everyone seems to respect things like periods and question marks.
    Thanks for confirming though :D, 1.4 here I come.
     
  13. Offline

    dortan

    Antibuild should include the possibility to interract with chest, lever, button, presure plate...
    In my world, I have mecanism to prevent guest from accessing certain area, and those features would greatly help me.
     
  14. Offline

    lamnea

    suddenly no one on my server can Deastroy blocks however they can place them? im using cb 617 with anti buld and groupmanager, world guard world edit herochat ichat etc! any ideas?
     
  15. Offline

    PigSaddle

    It seems that once you add worldedit and/or change Bukkit then EssentialsGroupManager folder gets renamed to GroupManager!!! This was my experience anyway.
    The reason my users couldn't build was because I use McMyAdmin and it was set to Essentaisl integration for groupmanager and is presumably looking for EssentialsGroupManager folder not GroupManager. I change the McMyAdmin integration to be GroupManager and its works now.
    Possibly a fix for you?
     
  16. Offline

    lamnea

    ill try this thank you !
     
  17. Offline

    kroimon

    You mean it should be able to prevent interaction with these blocks?
     
  18. Offline

    dortan

    yes. If I Set "Build=False" there in no reason why a player should be able to open a Chest or activate any sort of redstone mecanism.
     
  19. Offline

    kroimon

    Well, it says "build", so originally it was thought as a build protection only, but I think I can add support for an "interact"-flag or something similar in the next version :)
     
  20. Offline

    dortan

    That would be great !
    I'm using GroupManager which basically manage that "Build" Flag.
    So Let say this flag is available, where should I Manage It ? AntiBuild or GroupManager ?
    Since GroupManage is the plugins that knows about all my group and security definition, Logically That would mean this change needs to be made by the developper of GroupManager as well ?
     
  21. Offline

    kroimon

    Nope, GroupManager (and other Permissions-type plugins) already contain an interface for that...
     
    dortan likes this.
  22. Offline

    Jdbye

    Not working on b617, I keep getting
    Code:
    2011-04-06 22:01:41 [SEVERE] Could not pass event BLOCK_DAMAGE to AntiBuild
    java.lang.NullPointerException
            at net.sradonia.bukkit.antibuild.AntiBuild.canBuild(AntiBuild.java:82)
            at net.sradonia.bukkit.antibuild.BListener.onBlockDamage(BListener.java:20)
            at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:303)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(CraftEventFactory.java:180)
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:87)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:356)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  23. Offline

    kroimon

    AntiBuild 1.3.1? Which Permissions plugin?
     
  24. Offline

    Inacio

    Can you post a version compatible with pre 600?
     
  25. Offline

    Dave Wright

    Just to add another vote for the interaction flag, in my case mainly becuase as it is so neatly integrated to McMyAdmin I can easily just set the 'Everyone' group which anon users would fall into to No build in the web interface and it means they can't do anythign in game but look around :)
     
  26. Offline

    kroimon

    This has been added to version 1.4.0
    You have to enable it in the config by setting interactCheck to true and then add 'interact' flags next to the 'build' flags in the group settings of your Permissions plugin :)
    And yepp, I know the interactMessages are damn spammy if you use them :D
     
    dortan likes this.
  27. Offline

    Jdbye

    Yes. I'm using GroupManager 1.0 alpha 3.
     
  28. Offline

    kroimon

    Hmmm, is this still happening with CB 670, GroupManager 1.0 alpha-5 and AntiBuild 1.4.0 ?
    I can't really think of what's causing this :-/
     
  29. Offline

    jor956

    I set "build" to false in GroupManager and the group can not place blocks, but can still destroy them; please help me with this D:
     
  30. Offline

    Insidiea

    Help, Even thought i set build to true with group manager, they can build and all but it shows up with the message you dont have permission...
     

Share This Page