Filled Break N' Take

Discussion in 'Plugin Requests' started by PhillyCheezsteak, Feb 3, 2015.

Thread Status:
Not open for further replies.
  1. Plugin category: Admin Tools

    Suggested name: BreakNTake (Break N' Take)

    What I want:
    If you are not in creative mode, you can instantly break any block that is not in the blacklist in the config

    A config that blocks certain blocks from being broken in Break N' Take mode/non creative mode

    When you instantly break a block (while in Break N' Take mode/non creative) the item will automatically go in your inventory

    If a player goes in creative mode, it will automatically disable Break N' Take mode

    (Data Value/Item ID Support for config and items collected)

    NOTE:

    If a player's inventory is full and they break an item in Break N' Take mode, it will drop where the block was broken (like regular minecraft)

    Also if a player breaks a full chest, have the items inside drop on the floor


    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions:
    BreakNTake.player (enables BreakNTake Mode)
    BreakNTake.Admin (Bypasses blacklist in the config)
    When I'd like it by: As soon as you can please.
     
  2. Offline

    pie_flavor

  3. @pie_flavor Thank you so much :) If you break an ore, you will get the ore back. So any block you break you get the exact same thing back. Same with flowers, grass, etc
     
  4. Offline

    pie_flavor

  5. Offline

    pie_flavor

    @PhillyCheezsteak Okay, update: Finished. I can't get a block break animation no matter how hard I try, but everything else works like a charm. Click me
     
  6. @pie_flavor Hey so I tested it out and there were a couple of problems that I noticed. The config did not load and if you break a flower, you do not get anything.
     
  7. Offline

    pie_flavor

    @PhillyCheezsteak Dunno about the flower thing. Is it necessary? I can fool around with it and find the problem. As for the config thing, sorry about that. I didn't save it to a file at all because I was updating it constantly when testing it. Redownload for fix.
     
  8. @pie_flavor I need the flowers too sorry xD Also can you please add data value/material ID support for the config?
     
  9. Offline

    pie_flavor

    @PhillyCheezsteak I have absolutely no idea what's causing the flowers thing. Also, what would you need the data values for? I'm asking it as a legitimate question.
     
  10. @pie_flavor its personally a preference, I know it sounds weird, but I like adding items with their data values/Item ID's. If you can add that, it would help me a lot.
     
  11. Offline

    au2001

  12. @au2001 all I really need is the stuff above. Can you also please tell me what your plugin does?
     
  13. Offline

    Fuzzybear04

    Try using:

    player.playEffect(block.getLocation(), Effect.STEP_SOUND, block.getId()); ?
     
  14. Offline

    pie_flavor

    @Fuzzybear04 Not the same sound.
    @PhillyCheezsteak Yes, but what would you configure? All there is is a blacklist, for which the only things you'll probably need are the things I've preset (obsidian and bedrock), a list of things to not drop items for, and a reference list for blocks that have item representations (e.g. redstone dust, beds, etc.)
     
  15. @pie_flavor I just like having the item ID option for the blacklist. I prefer typing in the item id/data value numbers. If you can add the data value/item id/material id support for the config/blacklist it would help out a lot.
     
  16. Offline

    pie_flavor

    *napoleon dynamite voice* fine
    redownload for fix
     
  17. @pie_flavor Hey so I tried it out again, and the data value/item ID blacklist is not working and there is a weird bug where if I break stuff in the blacklist, it can either be broken, or I get a grass block. I tried this out with Bedrock. Also the flowers are working :)
     
  18. Offline

    pie_flavor

    @PhillyCheezsteak Ah. Just remembered, YAML is a bit buggy in that regard and you need to surround the whole thing in quotes (' or ") for it to work properly.
     
  19. @pie_flavor I tried that and it still is not working. When I put the item ID for an item for the blacklist it does not work, also I am still getting grass blocks with breaking the Bedrock. Sorry for the trouble
     
  20. Offline

    au2001

    It has auto-pickup (your break n' take idea) with possible whitelist, configurable autosmelt, ores to blocks, per world and per region activation, blocks broken counter and other stuff like that ;)
    Here's the original request : http://bukkit.org/threads/fortune-blocks.248488/

    EDIT: Oh and you can activate fortune on blocks, not just ores and there's a whitelist.
     
  21. @au2001 The problem with that is I need a blacklist not a whitelist, sorry
     
  22. Offline

    pie_flavor

  23. @pie_flavor
    http://pastebin.com/gQzskvAf

    I am currently testing it with a nether brick fence. I have tried it with the quotes, without the quotes, with the X, without the X (with and without the quotes)
     
  24. Offline

    pie_flavor

  25. @pie_flavor Nether Brick Fence, it has the ID of 113
     
  26. Offline

    pie_flavor

    @PhillyCheezsteak Um you can't do that. I'm specifically checking for the things found here. X113 doesn't do anything.
    Out of curiosity, why would you think it would?
     
  27. @pie_flavor To answer your question first, some plugins are compatible with the actual Minecraft ID List found here
    http://minecraft-ids.grahamedgecombe.com/ (numbers to the left) Nether Brick Fence is 113
    Plugins like CraftBook have compatibility with this list and require you to put a "X" before the item ID.

    If you push F3 and H in minecraft it will show you the ID of the item you are hovering. I was wondering if you can make it compatible with that.
     
  28. Offline

    pie_flavor

    @PhillyCheezsteak No can do, sorry. Why can't you just use that list? Just use NETHER_FENCE.
    By the way, this is a better one. You can click on the pictures or download it or whatever.
     
  29. @pie_flavor I am just curious, but why can't it be done if other plugins do it? I'm not trying to sound rude, I just do not understand.
     
Thread Status:
Not open for further replies.

Share This Page