iBlockBlacklist

Discussion in 'Archived: Plugin Requests' started by Dr0iDzz, Jan 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Dr0iDzz

    Plugin category: Anti-Griefing

    Suggested name: iBlockBlacklist

    What I want: I want a plugin the does ONE thing. It denies blocks that are in the Blacklist file from being Destroyed.You can place them but you can't destroy them unless you have the ibb.bypass perm or are OP .And the config should look as close as possible to this:
    Code:
    # This is the configuration file of the iBlockBlacklist configuration.
     
    enable: true
    message: '&4You are not allowed to break that block!'
    list:
    - jungle wood
    - jungle leaves
    - jungle wood slab
    - iron bars
    Ideas for commands: [ /ibb enable ] [ /ibb disable ] - self explanitory

    Ideas for permissions: ibb.bypass - bypasses the blacklist to break the blocks on the blacklist

    When I'd like it by: ASAP!
     
  2. Offline

    CeramicTitan

    Easy. But can I change the list items to the ids instead of the names?
     
  3. Offline

    Geekola

  4. Offline

    coolminecaleb I steal plugins as my own

    Ill get working on it! (It may take a while up to a week so please be paitent)



    EDIT: The first version wouldet have commands you would have to go in the config using ids becuase i would have to program every i.d with a block name with if statements
     
  5. Offline

    Woobie

    No you wouldn't.. just on block break, check if the stringlist contains the placed block name, if so, cancel the event.
    If you need help with it, ask, if you don't want to do the plugin, then I'll do it.
     
  6. Offline

    coolminecaleb I steal plugins as my own

    Wait i think i can do it
     
  7. Offline

    Woobie

    What's wrong? You seemed to know what to do earlier.

    Anyways, I'll do this when I get back on my computer ;)
     
  8. Offline

    coolminecaleb I steal plugins as my own

    To late i'm done just need to upload it!
     
  9. Offline

    Dr0iDzz

    Thats great guys.Just tell me when its finished to i can add it to my server.So happy!
     
  10. Offline

    coolminecaleb I steal plugins as my own

    Ok im back form being afk so ill upload it now it may take a few hours of bukkit devs looking at it but it will be readey soon
     
  11. Offline

    Dr0iDzz

    Would it take block ids like 5:3 for jungle wood and others?
     
  12. Offline

    Th3Controller

    MrBluebear3 and devilquak like this.
  13. Offline

    coolminecaleb I steal plugins as my own

    Yes

    Waiting for bukkit dev aprovle

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

    Dr0iDzz

    Perfect can't wait!
     
  15. Offline

    coolminecaleb I steal plugins as my own

    Just tested it on my server and it works and also could i be white-list on your server and have a special rank if you don't mind because i made this plugin for you.

    Bukkit-dev keeps recting it so here <Edit by Moderator: Redacted mediafire url>

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

    Th3Controller

    If BukkitDev keeps rejecting it, then there must be something wrong with your project/code. You're pretty shady.
     
    Woobie likes this.
  17. Offline

    coolminecaleb I steal plugins as my own

    No they just dont like my desc thats why
     
  18. Offline

    Dr0iDzz

    I get this error maybe im doing something wrong?
    Code:
    28.01 20:23:04 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    28.01 20:23:04 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    28.01 20:23:04 [Server] INFO ^
    28.01 20:23:04 [Server] INFO - '125:3'
    28.01 20:23:04 [Server] INFO in "<string>", line 38, column 7:
    28.01 20:23:04 [Server] INFO expected <block end>, but found Scalar
    28.01 20:23:04 [Server] INFO ^
    28.01 20:23:04 [Server] INFO kick: false
    28.01 20:23:04 [Server] INFO in "<string>", line 32, column 4:
    28.01 20:23:04 [Server] INFO org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    28.01 20:23:04 [Server] SEVERE Cannot load plugins/iBlockBlacklist/config.yml
    Here is the config
    Code:
    #----------------------#
    # Bucket Configuration #
    #----------------------#
     
    Bucket:
      Water:
        kick: false
        message: You are not allowed to place water here.
      Lava:
        kick: false
        message: You are not allowed to place lava here.
     
    #---------------------#
    # Block Configuration #
    #---------------------#
     
    Place:
      kick: false
      message: You are not allowed to place this block.
      bannedBlocks:
      - '7'
      - '9'
      - '11'
      - '19'
      - '30'
      - '52'
      - '78'
      - '79'
      - '97'
      - '120'
    Break:
      kick: false
      message: You are not allowed to break this block.
      bannedBlocks:
      - '7'
      - '5:3'
      - '17:3
      - '125:3'
      - '126:3
      - '136'
      - '89'
      - '18:3
    What's your IGN?

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

    coolminecaleb I steal plugins as my own

    Right here at
    it should have a ' at the end to

    Ign is coolminecaleb

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

    Dr0iDzz

    added and the server is still under construction.
     
  21. Offline

    coolminecaleb I steal plugins as my own

    And the - '126:3 doesnt have a ' at the end
     
  22. Offline

    Woobie

    MrBluebear3 likes this.
  23. Offline

    Geekola

    Now did he still it or does it just accomplish the same goal?
     
  24. Offline

    Woobie

    No idea what you just said, but he basically stole this plugin. He stole the code, took some of it out and compiled the plugin.
     
  25. Offline

    Geekola

    Gotcha, what I meant to say is: did he just write a plugin that did the same thing or did he literally copy and paste someone elses code? Sounds like the latter. Lame.

    Not only unethical, but clearly a violation of the iBlock license.
     
  26. Offline

    coolminecaleb I steal plugins as my own

    I dident steal........ i took the config because i liked the easy use of it though but if im not allowed to do that ill change the config
     
  27. Offline

    Woobie

    You used the config? Dude, I decompiled your plugin, and you straight forward stole its code. Even the onEnable had the announcements with "iBlock" prefix. The commands were the same, the events were the same, you even took the iterator to clear drops on explode, which has nothing to do with this plugin request. You stole the code, don't try to deny it.
     
    MrBluebear3 likes this.
  28. Offline

    coolminecaleb I steal plugins as my own

    I dident try to steal it why are you so mad that i posted it first i made it Iblock prefix becuase he asked for it to be that name
     
  29. Offline

    MayoDwarf

    Honestly this guy is just sad guys.... I will notify TnT about this soon.
     
  30. Offline

    coolminecaleb I steal plugins as my own

    What the hell guys? why do you think i stole it i took the config becuase im not good with configs and i named it IBlock because the person asked me to name it
     
Thread Status:
Not open for further replies.

Share This Page