[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

    Unscrewed

    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 ->

    [​IMG]
    Parts of the image by SpongeCake!

    Introduction:
    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.

    Features:
    • 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!
    Downloads:
    Direct Download

    Permissions:
    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

    Unscrewed

    Hey! I am going to take a guess and say that you have iBlock version 2.1 and below.
    Here is iBlock v2.3 + the config with all block Ids banned for breaking! :)
    (Check attachment) or click here: http://dl.dropbox.com/u/14877881/iBlock-v2.3-all-block-ids.zip
     

    Attached Files:

  3. Offline

    333PuG333

    Well I guess if you have to protect all of those things, that would be what you have to do. But I just needed the big glass barrier protected.
     
  4. Offline

    Dysp

    Can you please add the possibility to specify which blocks can be destroyed/placed for different groups? (Via permissions?)
     
  5. Offline

    Unscrewed

    Hmm, I'll think about it, requires some changes in the code, though.
     
  6. Offline

    Jonasjonas2

    This plugin is great! I have been looking for it a very long time! Nice work.
     
  7. Offline

    Unscrewed

    Thanks a lot, buddy! I appreciate it a lot! :)
     
  8. Offline

    MaxBest14

    Awesome!!
    Great Job!!!
     
  9. Offline

    Unscrewed

    Thanks! Highly appreciated. :)
     
  10. Offline

    Shaohs

    Does it block TNT? you should add that if it dose not
    And if it does then I don't know because I am just here because I'm getting minecraft in June so I want to set up for my server
     
  11. Offline

    theplayingzebra

    Hey! At my server u should only be able to break leaves and mushrooms but your only able to break mushrooms and not leaves. I fixed the config so the leaves id number isn't in there but still u can't break leaves, Help?
     
  12. Offline

    Unscrewed

    Are you sure that's the fault of my plugin?
     
  13. Offline

    Lazor

    Hey man, wgat I was reading made me think, and I wanna know these things before I download it.
    1. Can I disable the message of the "Banned block" that occors when attempted block placemeant/destruction?
    2. How does the whole block destruction work out? I mean I want players to have the ability to break nothing except buttons, pressure plates, levers and all that. So can I only have them be able to break those few items?
    3. Can you construct this for specefied regions using world edit or something similiar or make this for a whole Multiverse world?

    It'd probably be better if I DL'd it first, but I'd rather know all I can before I download it, and findout this won't work the way I want it to.

    Thanks!
    -Lazor
     
  14. Offline

    raacer

    multi world support?
     
  15. Offline

    42Mikey

    I'm having this problem where no matter who has the iBlock.bucket.lava permission, only ops can use it. same with water. Why does it do that?


    I really like your plugin as it does exactly what I want it to, but nobody can place water or lava buckets. I haven't banned buckets of any kind in the blacklisted items, and I've given the regular players the nodes to use lava and water.
     
  16. Offline

    BlackSheep

    Just found this plugin, are you still working on it? I see you havent replied to comments since May.

    Before i download this plugin, I want to ask some questions.
    1) Can i give permission groups access to using some blocks, like only trusted players can use TNT?
    2) Can this plugin block fire charges and flint and steel?

    If yes to both, I'll definitively use your plugin and will consider donating, if you're interested.
     
  17. Offline

    iBCoLLiN

    Does this work with the dev build of bukkit?
     
  18. Offline

    Unscrewed

    Yes, it does! Make sure to download iBlock 2.4, though, and not any older versions.


    1) Not yet! I will include this in the 3.0 update that's coming out soon.
    2) Yes, you can definitely do that. :)
    3) Hmm, I will consider adding World Edit support to select regions, multiworld support will be added in 3.0 too, for now, everything is the same in every world.

    I'm sorry, I was on a break, then on a vacation for France for 2 weeks.
    I am back, though and working on the 3.0 update.

    1) Not yet, this will be included in the 3.0 update.
    2) Yes! I made it so that if you ban the fire block (51 I believe), it will automatically block flint and steel too.

    Donations will always help me get motivated, but it's your choice. :)

    Yours sincerely,
    Unscrewed
     
  19. Offline

    Flutters

    Look Awesome!
    Now I can stop my dad from blowing stuff up :D
    Thank you!
     
  20. Offline

    THEBEASTCREEPER

    I Have An Rpg Server For Me And My Brothers And I Try To Block Them From Building And Breaking But When I Put All The Blocks In It Resets And I Need To Config All Over Again (Im Trying To Make It So They Can Only Break Ore)
     
  21. Offline

    Genius6996

    Do you think you'll be releasing a version where it will also be blocking other block id's such as tekkit itmes? If not do you know of any plugin that may be able to do that for me?
    thanks in advance
     
  22. Offline

    Freedomtea

    Could you add flintsteel and tnt node support? Thanks
     
  23. Offline

    Unscrewed

    No problem! Glad I could help you.

    Try to edit it using Wordpad, things like Notepad can mess up the layout of the config.

    I think you already can do that. ;-)

    I made it so that if you block id: "51", flint and steel is blocked.
     
  24. Offline

    THEBEASTCREEPER

    i have notepad++ would that not be better that notepad its self and i had the lay out like this
    - '1'
    - '2'
    - '3'
    - '4'
    - '5'
    - '6'
    - '7'
    - '8'
    - '9'
    - '10'
    - '11'
    - '12'
    - '13'
    - '14'
    - '15'
    - '16'
    - '17'
    - '17:1'
    - '17:2'
    - '17:3'
    - '18'
    - '18:1'
    - '18:2'
    - '18:3'
    - '19'
    - '20'
    - '21'
    - '22'
    - '23'
    - '24'
    - '25'
    - '26'
    - '27'
    - '28'
    - '29'
    - '30'
    - '31'
    - '32'
    - '33'
    - '34'
    - '35'
    - '35:1'
    - '35:2'
    - '35:3'
    - '35:4'
    - '35:5'
    - '35:6'
    - '35:7'
    - '35:8'
    - '35:9'
    - '35:10'
    - '35:11'
    - '35:12'
    - '35:13'
    - '35:14'
    - '35:15'
    - '36'
    - '37'
    - '38'
    - '39'
    - '40'
    - '41'
    - '42'
    - '43'
    - '43:1'
    - '43:2'
    - '43:3'
    - '43:4'
    - '43:5'
    - '43:6'
    - '44'
    - '45'
    - '46'
    - '47'
    - '48'
    - '49'
    - '50'
    - '51'
    - '52'
    - '53'
    - '54'
    - '55'
    - '56'
    - '57'
    - '58'
    - '59'
    - '60'
    - '61'
    - '62'
    - '63'
    - '64'
    - '65'
    - '66'
    - '67'
    - '68'
    - '69'
    - '70'
    - '71'
    - '72'
    - '73'
    - '74'
    - '75'
    - '76'
    - '77'
    - '78'
    - '79'
    - '80'
    - '81'
    - '82'
    - '83'
    - '84'
    - '85'
    - '86'
    - '87'
    - '88'
    - '89'
    - '90'
    - '91'
    - '92'
    - '93'
    - '94'
    - '95'
    - '96'
    - '97'
    - '98'
    - '99'
    - '100'
    - '101
    - '102'
    - '103'
    - '104'
    - '105'
    - '106'
    - '107'
    - '108'
    - '109'
    - '110'
    - '111'
    - '112'
    - '113'
    - '114'
    - '115'
    - '116'
    - '117'
    - '118'
    - '119'
    - '120'
    - '121'
    - '122'
     
  25. Offline

    Freedomtea

    Could you please add TNT! :)

    In addition would the permission for flintsteel be iblock.ID51 , iblock.51 or something else?
    Thanks
     
  26. Offline

    Frugurts

    When i block water, users still can place it, but it says "You have no permissions to place water here".
     
  27. Offline

    THEBEASTCREEPER

    Can You Try To Fix It I Did It With WordPad And It Still Did Not Work Once I Save And Close The Pad It Goes Back To Default When I Start The Sever
     
  28. Offline

    henharm

    can you add something to the config concerning water and lava bucket usage? Because it is not my objective to restrict usage of water and lava.
     
  29. Offline

    Unscrewed

    Check out the permissions list.
     
  30. Offline

    Unscrewed

    Updated to iBlock v3.0
     
  31. Offline

    ricflair71

    Item Frames are not working.. Seems to be more of a bukkit/minecraft issue though.. I'm not having any luck blocking breakage of item frames with any plugins or vanilla bukkit server.. Looks like we need to wait for an update of bukkit that allows item frames to be protected.
     

Share This Page