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

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

  1. Offline


    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.


    • 1.0
      • Initial Release
  2. Offline


    No one can help you without your configs
  3. Code:
            default: true
                build: - false
    here they are =) (vllt. um uns besser zu verstehen kannste mir auch auf Deutsch antworten.)
    --- merged: Jan 30, 2011 10:26 PM ---
    it works!!!
  4. Offline


    One question.

    Why isn't iChat and Anti-Build just included in Permissions so it has full functionality from the get go?

    Edit: Not trying to be a prick, honestly just curious.
  5. The reason, as far as i can remember, is quite simple. The permissions plugin does exactly that, permissions, and only that, I do agree that maybe anti-build should be included in that, since that is a permission in my opinion. But iChat handles chat related display of users and groups (prefix, suffix etc.), so does not really have anything to do with permissions other than it is there it gets its info from.
  6. Offline


    It's a philosophy I agree with. I like plugins that do a single job or at least cover a single area. Plugins should not be monolithic.
  7. Offline


    Try taking out the dash before false.
  8. Offline


    While I agree that some plugins go outside of the scope of their design and only open themselves up to flaws, Permissions, iChat, and Anti-Build should be one plugin. iChat is as a single config line and does nothing without Permissions. I just can't see why, adjusting the suffix and prefix lines in Permissions shouldn't create that result directly in plugin. Anti-Build is even more a part of the Permissions system than iChat. It has NO function outside of Permissions and is literally a permission to build. Seems like that would just be the most basic function of the Permissions plugin... "Does a player have a permission to play?" That's just me though. I've posted this a couple of time to Niji so I don't ever expect a change. I'm just glad it all works on my server.
  9. Offline


    bug: people with no build rights can destroy/place paintings.
  10. Offline


    Not everyone who uses Permissions uses those though, and I think that's what it's all about. If it came with them included, I'd be one of the people disabling them.
  11. Offline


    I would like to start with a thanks for this! Great Plugin!

    If I may request some other functionality from this, a command to control fire... I know it's called anti-build, but the use is anti-destroy. You don't want people to destroy blocks thus don't let them 'build'. So even at the user level, It would be nice if only certain people had permissions with maybe a code like:

    Build: True
    Fire: False
    Doors: True

    You may want to also add TnT and Lava flags for those who fear that destruction; it's not something I would personally need, but is within the scope of the plugin.

    Another neat function I bet people would appreciate, is having a Door flag so people with every permission disabled other than door would still be at least able to walk around and look. However that paves a way for one last flag, Chest. To protect the items in chests. Still simple and if and if the flags are missing from config file, default true so nothing conflicts with other plugins.
  12. Offline


    I realize this is more in the scope of chest protect, but people without build rights should not be able to view chests in my opinion.
    Also people without build rights can toggle switches.
  13. Offline


    Well I was thinking perhaps inviting someone without build right for PvP so they can use chests to get items but not build anything. However I see the overall flaw in design on a public server with that, and you can scratch the whole chest flag, thats too complex for this simple plugin. However fire protection, tnt, and lava would be prime, and about the whole toggle/door thing...

    The reason I said such about door, is because I tested out being my own guest, and it seems I'm only able to leave doors, never enter them. I can open the door, and it physically opens on the server, but trying to walk through it seems to be only one way sometimes, and neither way other times. But I do realize that you can toggle switches and pressure plates, but there is still a barrier stopping me/them, so that doesn't help if guests can't even see.
  14. Offline


    Dude you didn't even explain what to do with it?
    Such as what commands to put into permissions and what to change in it.
    And how to add people into it so they can build.
  15. Offline


    The command is already included in Permissions and is triggered via the "build: true/false" line, which should be really obvious.
  16. Offline

    Joshua Davis

    thanks for the world Protection !!!

    I do have 1 bug to report...

    if you place only 1 stone slab (half slab), users can actually have ANY resource equipped... hit the half slab and it places the resource... then destroys it... but then automatically places the second stone slab on top of the half slab.

    I'm running bukkit 184 - (and have tried using 210, and 230 as well with the same results)

    can you replicate this ?

    thanks in advance !
  17. Offline


    The Step-Problem with default users, and BighBrother doesn't log it!
  18. Offline


    Yep, stoneslab thingie happens here as well.
    Would be really nice if people with build: false couldn't use chests and/or pick up stuff. Though i guess thats not really antiBUILD :p
  19. Offline


  20. Offline

    Joshua Davis

    thanks for the confirmation... I also tried blocking stone steps using WorldGuard/BlackList with a on-break=deny,tell / on-place=deny,tell - and just like BigBrother... thinks that nothing has occurred.

    and to arthoz comment... an Inventory = false... would also solve this issue... if there's AntiBuild for Guests for example... then having ANYTHING in your inventory is a moot point.
  21. Thanks for the plugin... Got a question:

    How do i set it up???

    Also a request:p

    Can you make a command to let us add people to build in game?? PLEASE! lol

  22. Offline


    You must get Permissions 2.0 for this to work, and while you're at it: look into either Essentials or General and perhaps iChat. Because those are pretty much the standard bundle when you're going about implementing these.
  23. Thanks... I have general and permissions and ichat... What i want to know is what is the permission node...

    And by the command thing, i want to know if you can make a command like this:
    EX... billy joins my server, and can't build... I find out he wants to build and type /build billy... is that possible?
  24. Offline


    You're going to have to do it like this, In your permissions config.yml file you'll have to set your default group to build: false. Then you'll have to change them from the default group perhaps named Guest to another elevated class that is defined as build: true.

      permissions: {system: default}
        default: true
        info: {prefix: '&0[&8Guest&0]&8', suffix: '&8', build: false}
        inheritance: []
        permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd,
          essentials.rules, essentials.msg, essentials.helpop]
        default: false
        info: {prefix: '&8[&6User&8]&e', suffix: '&f', build: true}
        inheritance: [Guest]
        permissions: [essentials.clearinventory, essentials.getpos, essentials.whois,
          essentials.mail, essentials.mail.send, essentials.ping, essentials.realname,
          essentials.compass, essentials.depth, essentials.home, essentials.sethome]
    This is a part of my setup, however I'm using Essentials instead of General - same diff just different permission flags. You can swap out the names for these and do what you like, but this is how you have it set up. This also colors and adds groups flags to user names as well... Good luck~
  25. Offline


  26. Offline


    Even though I might not be able to help you, let me narrow it down at least
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
  27. Offline


    i get this error... could use some help :)

    ... 8 more
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:52)
    at java.util.jar.JarFile.(JarFile.java:99)
    at java.util.jar.JarFile.(JarFile.java:135)
    at java.util.zip.ZipFile.(ZipFile.java:114)
    at java.util.zip.ZipFile.open(Native Method)
    Caused by: java.util.zip.ZipException: error in opening zip file
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:186)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:42)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:65)
    SCHWERWIEGEND: Could not load plugins/AntiBuild.jar in plugins: null
  28. Offline

    Joshua Davis

    Is this plugin being updated at all anymore... I have sent a message to the developer with no reply and nothing seems to change here... watching other plugins update on a continual basis as bukkit updates... has left me to believe that maybe this was a one off and I should not expect any further development on it?

    Does anyone know of an alternative to this plugin ?
  29. Offline


    If no one knows a working plugin please send me a message, i can try to update this plugin or just create new simple plugin!
  30. Offline


    It works, it's just that it's sorely lacking features and there are a lot of ways to get around not being able to build. Ultimately, I'm looking for a lightweight way to limit my default users from being able to affect the world in various ways. I'd love to see simple permissions flags for placing blocks, using chests (and other containers), doors, interaction with switches, etc.

    I could probably do most of that with WorldGuard/WorldEdit, but those are just so heavy and way more than I need to deal with.
    arthoz likes this.
  31. Offline


    Oh sorry, i thought it didn't work anymore. Anyway i'll look into your suggestion mabey i can do it ;)

Share This Page