[INACTIVE][SEC] Anti-Build v1.0 - Requires Permissions

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 22, 2011.

  1. Offline

    Nijikokun

    Anti-Build 1.o (Requires Permissions & 100+)
    Download latest version

    What is Anti-Build?
    Anti-Build allows you to prevent players from building using the build parameter in Permissions.

    Changelog

    • 1.0
      • Initial Release
     
  2. Offline

    Triggjo2

    Could you repost the link thanks

    --triggjo2
     
  3. Offline

    DierWolf

    im on build 446 since its the only working one for plugins, i get an error if i use the latest build # 456 , does Worledit and your AntiBuild not work for the latest?
    --- merged: Feb 26, 2011 9:54 PM ---
    n
    No need to get pissy lol , do you no the differece betwwen .jar and a zip ??? OPEN the ZIP ... there a .JAR file inside. OR just convert it
     
  4. Offline

    atlem

    is this working in 1.3?
     
  5. Offline

    NOTNOT

    Download Link is Broken or Failed to Connect.
    Change this link Please.
     
  6. Offline

    Jandalf

    The plugin isnt supported anymore!
     
  7. Offline

    Cosmic Break

    i wish this plugin was updated. every other plugin like it has stupid groupmanager support, or works like a whitelist or has it so everyone has to be added manually, i just want a simple plugin, that limits guests from building, so i can leave my server online, when im not online.
     
  8. Offline

    Jandalf

    try [SEC] GuestPrev v1.1 - Protection against visitors [420+] but it hasnt permission support yet
     
  9. Offline

    Cosmic Break

  10. Offline

    Jandalf

    yeah i know but its the best we can get for the moment, i hope that the guy adds permission support...
     
  11. Offline

    Edras

    MultiWorld support ? (can be great)
     
  12. Offline

    Ben McGowne

    Looking forward too 1.3 support [​IMG]
     
  13. Offline

    Jandalf

    for the hundredth time: this plugin isnt supported anymore...
     
  14. Offline

    Edras

  15. Offline

    Infernus

    May I ask what this is useful for besides whitelisted servers?
     
  16. Offline

    riuthamus

    well we need a modify for this to be of any help, otherwise you have to manually add them. Thats why this permissions is fail still! ( in that aspect ) still good for everything else.
     
  17. Offline

    kroimon

    AntiBuild v1.1 - Really Reborn

    So guys, I decided to take this really simple but useful plugin and reanimate it, so here it comes.
    It still uses the Permissions plugin, either using Nijikokun's original version or the new one by TheYeti.

    [Download]
    Source code at github.

    Changelog:
    v1.1
    - Cleaned up code a lot
    - Adopted API changes

    Thanks to Nijikokun for her great work!
     
  18. Offline

    Jandalf

    yeah man, thank u so much that u want to reactivate that:) but on CB453 i get this:
    Show Spoiler
    Code:
    2011-02-27 17:15:34 [INFO] Preparing start region
    2011-02-27 17:15:35 [SEVERE] Could not load plugins\AntiBuild.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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 Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:76)
        ... 8 more
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/Misc
        at com.nijikokun.bukkit.AB.AntiBuild.<init>(AntiBuild.java:26)
        ... 13 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.Misc
        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:30)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 14 more

    is this only for CB 454+?
     
  19. Offline

    kroimon

    Ah damn. No, was my fault. I forgot to remove some unused imports which got included while decompiling the original plugin. I silently updated the above post with a new revision. Please try it again, should work as expected now...
     
  20. Offline

    Jandalf

    you are my hero:) thanks a lot.
     
  21. Offline

    Phaedrus

    Testing right now. you should really start a new thread for this or something. I would have had no idea it had been updated.
     
  22. Offline

    Mhalkyer

    OMG, I just did the exact same thing 2 nights ago. Damn you! [​IMG]

    You should make a new thread and submit it so it shows up in the plugin list.
     
  23. Offline

    blutherz

    it works great! 440 and see my list of plugins in my sig on minestatus
    4 world multivers system incl. full permssions for users.
    AND all working at moment.
     
  24. Offline

    Phaedrus

    I'm getting massive errors and it's not obeying worldguards region build permissions.

    Code:
    2011-02-28 14:48:22 [SEVERE] java.lang.NullPointerException
    2011-02-28 14:48:22 [SEVERE] 	at com.nijiko.permissions.Control.permission(Control.java:302)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.bukkit.migration.NijiPermissionsResolver.hasPermission(NijiPermissionsResolver.java:58)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:86)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.worldedit.bukkit.BukkitPlayer.hasPermission(BukkitPlayer.java:109)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.worldedit.WorldEdit.getSession(WorldEdit.java:142)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.worldedit.WorldEdit.handleArmSwing(WorldEdit.java:733)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.worldedit.bukkit.WorldEditPlayerListener.onPlayerAnimation(WorldEditPlayerListener.java:52)
    2011-02-28 14:48:22 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader$13.execute(JavaPluginLoader.java:190)
    2011-02-28 14:48:22 [SEVERE] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-02-28 14:48:22 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:699)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-28 14:48:22 [SEVERE] Could not pass event BLOCK_DAMAGED to AntiBuild
    java.lang.NullPointerException
    	at com.nijiko.permissions.Control.getGroup(Control.java:533)
    	at com.nijikokun.bukkit.AB.AntiBuild.canBuild(AntiBuild.java:62)
    	at com.nijikokun.bukkit.AB.BListener.onBlockDamage(BListener.java:17)
    	at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
    	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-28 14:48:22 [SEVERE] Could not pass event BLOCK_DAMAGED to AntiBuild
    java.lang.NullPointerException
    	at com.nijiko.permissions.Control.getGroup(Control.java:533)
    	at com.nijikokun.bukkit.AB.AntiBuild.canBuild(AntiBuild.java:62)
    	at com.nijikokun.bukkit.AB.BListener.onBlockDamage(BListener.java:17)
    	at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:360)
    	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-28 14:48:22 [SEVERE] java.lang.NullPointerException
    2011-02-28 14:48:22 [SEVERE] 	at com.nijiko.permissions.Control.permission(Control.java:302)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.bukkit.migration.NijiPermissionsResolver.hasPermission(NijiPermissionsResolver.java:58)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:86)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermission(WorldGuardPlugin.java:1384)
    2011-02-28 14:48:22 [SEVERE] 	at com.sk89q.worldguard.bukkit.WorldGuardBlockListener.onBlockBreak(WorldGuardBlockListener.java:110)
    2011-02-28 14:48:22 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:282)
    2011-02-28 14:48:22 [SEVERE] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-02-28 14:48:22 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:362)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    2011-02-28 14:48:22 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-28 14:48:22 [SEVERE] Could not pass event BLOCK_DAMAGED to AntiBuild
    java.lang.NullPointerException
    	at com.nijiko.permissions.Control.getGroup(Control.java:533)
    	at com.nijikokun.bukkit.AB.AntiBuild.canBuild(AntiBuild.java:62)
    	at com.nijikokun.bukkit.AB.BListener.onBlockDamage(BListener.java:17)
    	at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
    	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    happens with bukkit 440, 447, and 448
    --- merged: Mar 1, 2011 12:24 AM ---
    Really weird. Seems to be working now.

    @kroimon I get a ton of block spam in the console. It's making my log file enormous!

    Code:
    [INFO] A plugin cancelled the block start break event
    Is there anyway that can get filtered out?
     
  25. Offline

    kroimon

    As I don't have these, it seems like it's one of your other plugins, I don't know...


    But you should just kick this plugin, because:
    AntiBuild is now included in Permissions v2.5!
    I don't think anyone will need my port anymore now, so I will only make updates when someone really asks for it in here.
     
  26. Offline

    Apocist

    What about those of use that use GroupManager?(antibuild in permissions2.5 still doesnt seem to work) would you mind fixing it? sadely antibuild 1.0 will be unusable soon and 1.1 is broken
     
  27. Offline

    kroimon

    Well, AntiBuild works for me in Permissions 2.5 and as I don't use GroupManager, I don't know if i should support it...
    You say 1.1 is broken? Have you double-checked that? What's your error message?
     
  28. Offline

    Apocist

    I tried permissions 2.5 but it would'nt stop players from building. GroupManager basically 'fakes' the permission plugin and it works for almost anything permissions works for.

    As for the 1.1 antibuild, I keep getting [SEVERE] errors where the block destorying can't be passed to AntiBuild or something.
    Code:
    2011-03-01 15:35:42 [SEVERE] Could not pass event BLOCK_DAMAGED to AntiBuild
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at com.nijikokun.bukkit.AB.AntiBuild.canBuild(AntiBuild.java:62)
        at com.nijikokun.bukkit.AB.BListener.onBlockDamage(BListener.java:17)
        at org.bukkit.plugin.java.JavaPluginLoader$23.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:346)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
     
  29. Offline

    kroimon

    Ah ok, found the problem. My version 1.1 has multiworld support, which GroupManager did not support until version 1.0 pre-alpha.

    You can find an updated version of AntiBuild in it's own thread here:
    [SEC] AntiBuild v1.2 - Really Reborn

    Please continue discussion there!
     
  30. Offline

    oleerik

    You are a genius kroimon! Thanks!
     
  31. Offline

    joelcalix

    Thanks you guys... I wish there was a tutorial that could show and tell step by step how to set up bukkit, groupmanager, antibuild/....
     

Share This Page