[ADMN] iBlock 3.1.1 - Item and Block prevention [1.5.2-R0.1]

Discussion in 'Archived: Plugin Releases' started by Unscrewed, Apr 26, 2011.

  1. Offline


    iBlock - Don't let users place/break banned blocks.
    Version: 3.1.1
    CraftBukkit: 1.5.2-R0.1

    Go to the BukkitDev page of this plugin ->

    Parts of the image by SpongeCake!

    This plugin stops people from placing/destroying blacklisted blocks, using water/lava buckets if they do not have the correct permissions. The plugin is easy to configure (you get a bunch of nice options) and you are even able to add/remove block ID's to/from the configuration file using commands in-game.

    • Configuration file (change in-game).
    • Stop the placing of specific blocks.
    • Stop the breaking of specific blocks.
    • Stop the use of buckets (lava|water).
    • Option to kick someone when placing X.
    • Stop TNT, Creepers, etc from destroying banned blocks (can be disabled).
    • Auto-updating (can be disabled).
    • Permission support (ALL).
    • Custom messages.
    • Drag, drop & use!
    Direct Download

    iBlock.place - Users with this node are able to place banned blocks.
    iBlock.break - Users with this node are able to break banned blocks.
    iBlock.bucket.lava - Users with this node are able to use lava buckets.
    iBlock.bucket.water - Users with this node are able to use water buckets.
    iBlock.command.info - Users with this node can use "/iBlock" to see basic information about the configuration and plugin.
    iBlock.command.help - Users with this node can use "/iBlock help" to see commands they are able to use.
    iBlock.command.reload - Users with this node can use: "/iBlock reload" to reload the config.
    iBlock.command.add - Users with this node can use: "/iBlock add (place/break) [id]" to add block ID's to one of the 2 ban lists.
    iBlock.command.remove - Users with this node can use: "/iBlock remove (place/break) [id]" to add block ID's to one of the 2 ban lists.
    Op's have all permissions by default.
    NOTE: Permission nodes are CaSe SeNsItIvE!

    Features to add:
    1. None
    Reported bugs:
    1. None
    Most recent changes:

    Version 3.1.1
    • Made it 1.5.2 compatible.
    • Fixed a minor issue.
    Older versions (open)

    Version 3.1.0
    • Made it 1.4.6/1.4.7 compatible.
    • Added/re-invented a few permissions, please check this page for the list.
    • Added/re-invented "/iBlock reload", "/iBlock help" and "/iBlock" commands.
    • Added command to remove blocks from the list of banned blocks (place|break).
    • Added command to add new blocks to the list of banned blocks (place|break).
    • Added option to allow/disallow explosives to destroy blocks.
    • Added option to change the iBlock prefix in the configuration file.
    • Added disable auto-updating option.
    Version 3.0.0
    • Made it 1.4.2 compatible.
    • Changed configuration file layout.
    • Added entities not able to blow up banned blocks. (TNT, Creepers, etc).
    • Added message customization in the configuration file.
    • Added kick option in the configuration file.
    • Added auto-updating.
    • Fixed configuration file reloading.
    • Posted source on GitHub.
    Version 2.3.1
    • Updated to craftbukkit 1.3.1-R1.0.
    Version 2.3.0
    • Added a new permission to allow/disallow the use of water buckets.
    • Added a new permission to allow/disallow the use of lava buckets.
    • Added auto-config creation.
    • Fixed plugin saying the wrong version number on startup.
    Version 2.2.0
    • Fixed blocks you put in: "bannedBlocksPlace" won't be unbreakable too.
    • Fixed blocks you put in: "bannedBlocksBreak" won't be unplacable too.
    • Changed the permissions, 1 to allow breaking of banned blocks, 1 to allow placing of banned blocks. ( iBlock.place & iBlock.break ).
    • Changed the configuration file, so be sure to replace the old one with the new one!
    Version 2.1.1
    • Fixed permission bug with reloading.
    • Fixed the block break part of the code.
    Version 2.1.0
    • Added the new ability to block the breaking of configured blocks.
    • Added new permission: "iBlock.reload" to reload the configuration.
    Version 2.0.1
    • Updated to craftbukkit 1.2.4-R1.0
    Version 2.0.0
    • Removed the toggle command.
    • Added a configuration file (uses block Id's).
    • Added a command to reload the configuration file: "/iBlock".
    • Fixed the way commands are handled.
    • Fixed the old: "BLOCK_PLACE" to the new, updated way: "BlockPlaceEvent".
    • Fixed the old: "blockListener" import to the new, updated import: "Listener".
    • Updated to the new built-in permission system by Bukkit.
    • Fixed the chat colors.
    • Cleaned up the code.
    Version 1.3.0
    • Fixed a bug where the toggling wasn't working properly. (Thanks Craftee!)
    • Fixed a bug where you couldn't use a hoe on grass.
    Version 1.2.0
    • Fixed a bug where the command wasn't working as intended.
    Version 1.1.0
    • Fixed a bug where the plugin was disabled on server start.
    Version 1.0.0
    • Fixed permission node.
    Version 0.3.0
    • Added permission support.
    • Added a command to toggle iBlock.
    Version 0.2.0
    • Fixed a few bugs and cleaned up the code.
    Version 0.1.0

    Oh, yeah! Almost forgot! If someone is using it/trying it, could you please post a feedback on it? ;-)
    I'm going to work on Permission Support now! :D

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


    broken Dl link?

    Error (403)

    It seems you don't belong here! You should probably try logging in?

    You can also check out our FAQ or forums and maybe you'll find what you were looking for. Or maybe you should try heading home.

    Thats dropbox ill use mediafire now and ill give feed back wont be long

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


    Hehe, oops, I'll fix that now =3
    And thanks for testing it out :D
    EDIT: Fixed :D
  4. Offline


    Right iv done my testing on a server 733 server and here is what iv come up with

    Regardles of being op or not anyone can use /iblock so as deop i could still disable it and enable it [​IMG]

    But other than that when the plugin is enabled only ops can use the blocks and normals cant...

    Attached Files:

  5. Offline


    Thank you soo much for the feedback!
    Trying to work on that on version 0.2! :D
  6. @Unscrewed
    Good plugin, working perfect, but only.. Everyone can use /iblock.
    Also, you need to make a config file, where you can add/remove blocks. :)
  7. Offline


    Hey there TechGuard, can everyone use /iblock?
    I tought that was fixed... hmm I'll look into it, and the config is on the list :D
    Thanks soo much for the feedback! It's an honor for me, really.
  8. Everyone deserves a feedback :)

    Also the code you use:
    if ((iBlock.pluginEnabled) && (block == Material.LEAVES)) {
    It is annoying to type that every time :p
    Use an ArrayList
    ArrayList<Material> IllegalBlocks = new ArrayList<Material>();
    for(Material material : IllegalBlocks){
      if(block == material){
    That would be the only code you need then :p

    Fix for you command
    if (commandLabel.equalsIgnoreCase("iblock") && PLAYERTHING.isOp()) {
  9. Offline


    Thanks soo much! :-D
    Adding now ;)
  10. Offline


    Hate to be the one to say this, but its illegal, not illigal.
  11. Hah, I was confused by that too. Made be believe it was illegal :p
  12. Offline


    Oh, yeah, sorry I was very sleepy when I tought of the plugin and now it made me think it was illigal.
    Thanks :)
  13. Offline


  14. @Tech Guard didn't think about array list thanks :)

    Unscrewed, seems the plugin is popular :)

    If you want more help doing permissions and custom configuration let me know :D
  15. Offline


    Hello there Plague! :D
    I'd like to start with your first question: Actually, I took over that formatting, and added a few things and made it look nicer, soo it actually looks alot more like the template then most other plugins like WorldEdit etc.

    The answer to your second question: Actually, the plugin name is IllegalBlock, but I tought it was a bit long and people could have the wrong ideas by it soo maybe they won't look at it, soo I changed it to iBlock which let's the people figure out themselfes what it is. I can change it to IllegalBlock if you want because I dont want it to look like other plugins either. ;o
  16. @Unscrewed

    I'm officially a plugin developer now :) and thank you again for your donation :)

    So over the next few days I'll do more work on the plugin :) good for my learning :p(I have school noew so I won't be as active)
  17. Offline


    I hope I can get to be one too :)
    But I hope I can get it if we work together...
    Maybe I need to make a plugin on my own?
    BTW did I credit you enough?
    Is that required?
  18. Offline


    Made it more nice :D
    Nono that was just a personal statement, this is entirely your thing.

    Uhh what is required?
  19. Offline


    Haha :D I like those dots better. :D
    And I do agree with you, this "iThing" gets used too much. :p
    BTW. Thanks for keeping my fonts as it was. =3
    Thanks for making me a Plugin Developer. =3
  20. Yeeha! :)

    You mean me, with that?
  21. Offline


    I updated to 0.2, I temporarily removed the command as it is automatically good now, but I needed to fix the bugs. :D Oh, about the MSN, I asked Adamki11s, but having yours would be lovely too if you want? Maybe start a convo as this is going horribly off-topic. lol.
  22. Just add "rnguard" to skype :p (Sorry, but I am that person who can't speak english. haha)
  23. Offline


    0.o how do i use this plugin?
    what are the commands?
    how do i add restricted items?
    i need help
  24. Offline


    You can't add restricted items yet, it's just everything that is unlegit like a Portal block, only OP's can place those things atm (Permissions and Config File for item configuration is comming very soon). :)
  25. Offline


    Does it block certain blocks being broken eg. Glass etc...
    Last edited by a moderator: Dec 14, 2016
  26. Not at the moment
  27. Offline


    What Adamki11s said. :)
    cyberjacob likes this.
  28. Offline


    Is this working with multiworlds? i really need it ;)
  29. I wrote the basecode for the plugin and now that I understand and can code file configurations I can make it so you can set what blocks are illegal or not. I'll look into making it multi world aswell :D
  30. Offline


    Yes, and I fixed some very little bugs, made a first example which wasnt very pratic(?) lolol and came up with the idea. :D
    Thanks again for making the code <3

    Hey there!
    I think you could try it as it should work with MultiWorlds :)

Share This Page