[INACTIVE][SEC] BlockRemover v0.4 - Admin Specified Disabled Blocks [860]

Discussion in 'Inactive/Unsupported Plugins' started by 0ffn00b, May 14, 2011.

  1. Offline

    0ffn00b

    BlockRemover - disable blocks (specified by admin)
    Version: v0.4

    BlockRemover allows the server administrator to decide what blocks he doesn't some people to be able to place.

    Usage:
    First download the .jar and place it into your plugins folder. Run your server so it generates the directory. Inside the Blockremover directory their will be a file Worlds.txt. In this file list all of the worlds that you wish to use BlockRemover on. It is case sensitive. Then, reload the plugin or startup your server and it will generate a seperate text file for each world. In the text file for the world you can put each block you do not want to be able to be placed. If my world names are world1, nether, main, and extra then my Worlds.txt would look like this:
    world1
    nether
    main
    extra

    Four seperate text files by these names will then be created and fill them with the ID's of the blocks you dont want. Example of a main.txt:
    12
    46
    5
    48

    **After any changes in the textfiles make sure you reload the plugin**

    This also has permissions support for allowing blocks to people that are listed as disabled in the textfiles. The node is BlockRemover.Block.BlockId
    For example, if I was to allow a player to place sand even though in my textfile it says they cant, I would put a permissions node, BlockRemover.Block.12 so they would now be able to use sand.

    *The use of names in the textfiles is no longer supported in v0.4*

    Features:
    * Admin can chose which blocks to disable
    * Operators can place blocks that are disabled
    * Make any block that is listed file disappear instantly
    * Broadcasts a message to the server if a player tries to place a disallowed block
    * Permissions support to bypass textfiles
    * Multiworld support - Different blocks for different worlds
    * Much more efficient then previous versions
    * Clears the players inventory of the type of block if they try placing it and it is disabled(Prevents spaming broadcast messages)

    <Edit by Moderator: Redacted mediafire url>
    [/url]
    <Edit by Moderator: Redacted mediafire url>



    Changelog:
    Version 0.1:
    * Release

    Version 0.2:
    * Added ability to put either block names or block ids

    Version 0.3:
    * Updated for 818 support

    Version 0.4:
    * Multiworld
    * More efficent
    * Permissions
    * Inventory Clearing
    * 860 support
     
    Last edited by a moderator: Dec 14, 2016
    ACStache likes this.
  2. Offline

    Arbenn

    Thangs!! :) This is exactly what i needed!!
     
  3. Offline

    jamescosten

    Sounds good i might try it out.
     
  4. Offline

    drburke

    Can I just use the data value instead of the actual name?
     
  5. Offline

    jamescosten

    huh?
     
  6. Offline

    drburke

    Use the block's data value instead of saying the name.

    I.E:
    TNT = 46
    Ice= 89
    Obsidian = 49
     
  7. Offline

    jamescosten

    That makes more sense now lol, sorry got confused. Im not sure why not download and have a go :)
     
  8. Offline

    0ffn00b

    you cant right now im thinking about adding it tho
    do you guys think i should?
     
  9. Offline

    jamescosten

    Doesnt hurt i guess, but i dont mind i like as is
     
  10. Offline

    0ffn00b

    kk i added the ability to put ids or names.

    @drburke
    Yea you can use ids now if you want
     
    drburke likes this.
  11. Offline

    Yggy

    If you can make this multi-world, that would be awesome. I would like the ability to turn off torches being placed, if that is not also covered.

    To clarify: Different blocked blocks for different worlds. So for example, no torches or workbenches in one world, no cobblestone or wood blocks in another world... that kind of thing.
     
    AS1LV3RN1NJA likes this.
  12. Offline

    0ffn00b

    i'll see what i can do with the multiworld, and it should work for torches.

    EDIT:
    Will most likely not include multiworld unless I get more requests for it.
     
  13. Offline

    annern555

    commands??
     
  14. Offline

    0ffn00b

    ?
     
  15. Offline

    PeeterG

    Commands I.E.
    /give <player name>
     
  16. Offline

    Carbunkulous

    I decompiled/forked your code for my own personal server, but I think you might like the suggestion:

    Implement permisisions, and have it setup as like BlockRemover.Block.*
    where * is the block.getType().

    like BlockRemover.Block.WATER, would allow that person to have water.

    If you want my code that I modified just PM me
     
  17. Requesting multi world support.
     
  18. Offline

    0ffn00b

    ok when i get time i'll add it, it'll probelly be this weekend though.
     
    AS1LV3RN1NJA likes this.
  19. Offline

    Nazerb

    818 support?
     
  20. Offline

    WooJoo

    Requesting multi world support.
     
    AS1LV3RN1NJA likes this.
  21. Offline

    0ffn00b

    sorry had no time to update or test on 818 il do it as soon as i can.
     
  22. Offline

    leochco

    hey
    can you gimme those sources of your plugins ? i mean i need translate it in french
     
  23. Offline

    0ffn00b

    you should be able to decompile the plugin.
     
  24. Offline

    matthayez011

    818? and can you ban tools with this plugin?
     
  25. Offline

    0ffn00b

    updated for 818 support and no cant do tools.
     
  26. Offline

    acetech09

    Add me to the canidate list of multiworld support, also perhaps a permission node to bypass restrictions?
     
  27. Offline

    0ffn00b

    ok and when you guys say mulitworld support you mean different blocks for each world right?
     
  28. Offline

    acetech09

    yeah. at least I do.

    I want my freebuild world to have tnt restrictions, while my BlowJunkUpForStressRelief world to not.
     
    AS1LV3RN1NJA likes this.
  29. Offline

    ACStache

    I'm with acetech09 on this one, multiworld support and permissions for bypassing restrictions would be nice. Blowing stuff up is fun, but I don't want others to get the idea and wreak havoc across the worlds
     
  30. Offline

    0ffn00b

    ok im working on this now but im removing the ability to input block types by name
     

Share This Page