Filled Auto Mine Cobblestone

Discussion in 'Plugin Requests' started by bingoberraz, Jan 10, 2016.

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

    bingoberraz

    [​IMG]
    » Plugin category: Fun, misc, tools


    » What I want: I wan't a plugin that breaks cobblestone.

    A miner would work like a Turtle with only one function, To break blocks. In one direction. But also picking the blocks up into a chest, maybe a chest close by. :)

    [​IMG]
    This is a Turtle. If you could add a Pickaxe like that, it would be awesome tho. Not needed.

    I would want the "miner block" to be a dispenser. This will then break the block infront of it and put it in the chest behind it.

    This plugin will be based on permissions. If you have "amc.miner.2" you are allowed to have two miners!
    I would like the miner to be powered by a redstone signal.

    If you already have one miner placed you can't place another one.

    » Ideas for commands:
    /amc give <player> miner <amount>
    /amc reload

    » Ideas for permissions:
    amc.miner.<amount>
    amc.miner.unlimited
    amc.give

    » When I'd like it by: As soon as possible :)
     
    Last edited: Jan 16, 2016
  2. Offline

    pie_flavor

    @bingoberraz I could make this. Question: Does the thing have to be a permission, or could I use configs instead? It's cool either way. Question 2: Is there a crafting recipe for a miner?
     
  3. Offline

    bingoberraz

    1. The thing have to be a permission? :eek:
    2. There doesn't have to be one.
     
    Last edited: Jan 11, 2016
  4. Offline

    pie_flavor

    @bingoberraz I mean, does the amount of breakers they can have need to be dictated by a permission?
     
  5. Offline

    bingoberraz

    Yes!
    If the player place one more breaker than he can have, it wont function. / The player can't place more than what the permission says.
     
  6. Offline

    pie_flavor

    Last edited: Jan 11, 2016
  7. Offline

    bingoberraz

    I don't know ^^ It might not be necessary for a reload option then I guess?
     
  8. Offline

    bingoberraz

    @pie_flavor How's it going? :D
    I would like the machine to be able to break any block. Except bedrock or obsidian
     
  9. Offline

    pie_flavor

    @bingoberraz Sorry for delay, was working on some other stuff. Picking back up again.
    Edit: Done. AutoMineCobblestone.jar
    I am fully confident that this will work exactly as intended. I have never once been right when saying this, so please test thoroughly. By the way, the chest has to be placed at the back. However, trapped chests also work.
     
    Last edited: Jan 14, 2016
    bingoberraz likes this.
  10. Offline

    bingoberraz

    Is it possibly to mine ANY block with this machine? Or only cobblestone? Tested this and it works with the blocks I tried but not bedrock, which is good! It works with obsidian tho. Is it possible to blacklist obsidian? :D

    I'd like the miner to keep mining the block when it has a current redstone input! Not only break one block once it gets an input, thanks :D

    Edit 1: The /amc give command partially (read below) works. When I break the miner it gives me an error in the console. http://pastebin.com/DsDueYus - Error. Seems like after this it's just a normal dispenser.

    By the way I am using spigot 1.8.8 and Java 7. Running the plugin A Skyblock.

    Edit 2: If I try to give more than 1 miner, it still only gives me one miner.

    Edit 3: Perfect. :D[​IMG]


    :D
     
    Last edited: Jan 16, 2016
  11. Offline

    pie_flavor

    @bingoberraz Well, I can easily blacklist obsidian. Constant mining would be difficult and create a scalable and exploitable amount of lag. As for the error... that makes absolutely zero sense. The error is a ConcurrentModificationException, but I do nothing outside the current thread. Something else may be breaking it, likely something else that does things when blocks are broken.
    The command was entirely a fail on my part, I used the amount given to produce the chat message but never actually changed the item's amount with it.
    Redownload for a fix for the obsidian and command, need a confirmation on whether you still want constant mining, no idea at all about the exception thrown.

    Edit: Lol i'm stupid. Redownload for fix about error, you should probably delete data.yml and remove all the miners.
     
    Last edited: Jan 16, 2016
  12. Offline

    bingoberraz

    Can you set it to break a block every 20 tick / 40 tick? or something like that then? Will this still cause "exploitable amount of lag"? People will just create a redstone clock otherwise

    Thanks again :)

    Edit 1: Or change the speed of the machine based on permissions :D

    [​IMG]

    Basically this is how people will use it.
     
    Last edited: Jan 16, 2016
  13. Offline

    pie_flavor

    @bingoberraz
    Yeah, that'd be easy. Redownload for the fix.
     
  14. Offline

    bingoberraz

    What are the permissions?

    amc.speed.<x-xxx> ?
     
  15. Offline

    pie_flavor

    @bingoberraz Oh, didn't see the permissions. Will change.
    Edit: @bingoberraz Hypothetically, if I found a way to make a constant redstone signal auto-pulse without lag, would you still want it?
     
    Last edited: Jan 16, 2016
    bingoberraz likes this.
  16. Offline

    bingoberraz

    Yes, but with a tick ofc.
     
  17. Offline

    pie_flavor

  18. Offline

    bingoberraz

    Different speeds?
     
  19. Offline

    pie_flavor

  20. Offline

    bingoberraz

Thread Status:
Not open for further replies.

Share This Page