[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

    Ok :D
    I actually found another bug myself too.
    People can't hoe stuff with this plugin being on :(
    Im fixing it right now, done in 10-20min

    EDIT: Updated to 1.3, config is still not working :(:(:(
     
  3. I managed to figure out how config works and it's surprisingly easy :D I've been starting to incorporate it into my plugins in fact so any problems or questions send me a pm :D
     
  4. Offline

    Craftee

    ohh i thought not being able to hoe stuff was part of the plugin LOL
     
  5. Offline

    Unscrewed

    Ok, do you want it back in the time I'll try to make a config file with Adamki11s? :)
     
  6. Offline

    Craftee

    i
    cant wait! for the config file :)
    also you know how my signature is my server ip... i was thinking of making you one about your pluin
    tell me what you think and ill make one :)
     
  7. Offline

    Unscrewed

    Hey!
    You know what I think?
    I could really use a banner for my server! :D
    Could you please make one for me? You really have amazing editing skills!

    BTW. I'm going to sleep buddy,
    I'll be up very early this morning to work for you on the config file! :D
     
  8. Offline

    Craftee

    haha thx :) ill make it awesome
    btw if i go to your server right now will i be able to go around taking picutes?
    also what do you want on your banner?
     
  9. I'm looking through the code now, I'll try to send you back a working version ASAP :D
     
  10. Offline

    Craftee

    awesome!!!
    thanks adamki11s :D
     
  11. Offline

    TruffleDucks

    How am I suppose to block tnt? My server just got griefed today like an hour ago... he exploded all my shit +_+
     
  12. Offline

    Unscrewed

    TNT is not an illegal block, not something you can only obtain by asking an admin.
    If the config file is working, you can block anything you want! :D
     
  13. Offline

    Craftee

    so whens the config file gonna come out? if it is out.... then it didnt make a config file.
    Also when i use /iblock (1.3) nothing happens. i dont get the usual "help" message so the command did register. And i dont get any error messages.

    Hope you enjoy :) (open it in a new tab and ull see the url. but please save it and upload it yourself :p)

    [​IMG]

    =======================================================

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

    TruffleDucks

    So... how do I block it :eek:
     
  15. Offline

    Craftee

    i guess hes pushing the config file to 1.4
     
  16. Offline

    Unscrewed

    Woow. That is really a beautiful masterpiece! :O
    Thanks soo much! =3

    Oh, I went on your server, it's super awesome!
    But 1 little thing, you can use "/god" as a normal user :p
    But it's really an awesome server, I like your nether!!
     
  17. Offline

    Craftee

    :p thx ya i give my players /god cuz i dont like people when they rage after they die.(i know i dont like losing my stuff) ;D
    -also thx for crediting me :p
     
  18. For now you can use my regio's plugin to protect blocks you don't want users to be able to use until Unscrewed gets this up and running.
     
  19. Offline

    Craftee

    thx for the suggestion but im kinda limited on RAM :S
    Great plugin tho!
    ill use it when i upgrade my server :)
     
  20. It hardly uses any RAM, trust me :D
     
  21. Offline

    Unscrewed

    Could you please help me with the configs now Adamki11s?
    I could donate some more if you want? :D

    - Omg -.- really sounded like I'm trying to buy you, sorry :S -

    @Craftee
    My Pleasure, you made it, why not get credit for it? :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  22. It's fine i'm happy to help :p I didn't recieve your initial donation anyway :S
     
  23. Offline

    Unscrewed

    No? I asked if you recieved it and you said yes? :O
     
  24. Thought I did but I got e-mail from paypal saying it was an e-cheque or something so I had to wait 9 days till they took it from your bank. Then it said request decline or something. Don't worry anyway :p have you got skype or msn by the way?
     
  25. Offline

    Unscrewed

    Sorry fell asleep, yes :)

    Skype: nathan_frissen
    MSN: [email protected]

    :D
     
  26. Offline

    Craftee

    Ya it works on multiple worlds
     
  27. Offline

    Craftee

    know when the config file is gonna come out?
     
  28. Offline

    jeroende2e

    i have one question.
    is it possible to make that in the real map you can use a specific block and in the nether you can't use it?
    cause that would be super great.
     
  29. Offline

    Unscrewed

    Ah, multiworld configuration files, well,
    I'm kind of busy with exams, private life is a bit messy atm, etc etc
    Soo I actually need to focus on that before bringing out more updates,
    Sorry buddy.

    Yours sincerely,
    Unscrewed
     
  30. Offline

    matthayez011

    how do we choose wich blocks we dont want people to be able to use?
     
  31. Offline

    Unscrewed

    Future Features:

    • Config file to edit which blocks should be on the blacklist.
     

Share This Page