[REQ] Breakable Bedrock Only

Discussion in 'Archived: Plugin Requests' started by xBladeM6x, Feb 22, 2012.

  1. Offline

    xBladeM6x

    As the title states, I just need a plugin that makes bedrock breakable, based on permissions. If I give say.... the "Trusted" or "VIP" group the permission to do it. Hell, even if you can't do it with permissions, I just want something that makes it breakable.

    Thanks. :)
     
  2. Offline

    cwarn23

    This is possible with World Edit and the super pick axe. If you download the world edit plugin then type in the following command you can use any pick axe to break bedrock instantly. The command is //
    That's it. Just two slashes. And to turn off the super pick axe just type the two slashes into the chat again. The nodes will be on the world edit wiki.
     
  3. Offline

    Sinnoh

    I can make it, but the bedrock will be onehit, is that ok for you?
     
  4. Offline

    Steffion

    Aaah.. I want to do this one >_<. Better next time!
     
  5. Offline

    Zarius

    OtherDrops can do this - here's an example config:

    Code:
      BEDROCK:
        - action: LEFT_CLICK
          replacementblock: AIR
          drop: BEDROCK   
          permission: trusted        # add 'otherdrops.custom.trusted' to whomever you want to be able to do this
    
     
    kahlilnc and xBladeM6x like this.
  6. Offline

    xBladeM6x

    I copied and pasted that exact thing in, and it's not working. :c
     
  7. Offline

    Zarius

    Did you get any errors from OtherDrops on startup? Have you got the "otherdrops.custom.trusted" permission? Perhaps try removing the "permission: trusted" line to test it (on a test server, be aware this means anyone would be able to break the bedrock).
     
  8. Offline

    Limeth

    You need to have it without the ' - ' I think... But before try puttin the ' - ' before every other (3) words. :)
     
  9. Offline

    xBladeM6x

    Nevermind, it works now. Haha. It was the "# add 'otherdrops.custom.trusted' to whomever you want to be able to do this" that was messing it up. Anyways, thanks. However if someone is able (or if you know how to Zarius, with OtherDrops) is it possible to make bedrock have durability?

    Edit: The other thing I seemed to notice is that it gives me the drop, even while in creative. Probably due to the action being left-click, and it can't differentiate.
     
  10. Offline

    Zarius

    xBladeM6x - glad you got it working.

    Might be possible to change the durability with spout (eg. MaterialData.bedrock.setHardness(arg0)) - not sure how or when you would apply this though (perhaps on the first hit?).

    Thanks for the report on creative mode - I disabled blockbreaks occuring but not left_click - I'll look into that.
     
  11. Offline

    xBladeM6x

    This can be done with spout? How, and where do I type what? xD

    Also, since you're here and being such an awesome help, how would I go about making "fire" be a drop from fishing? xD I know the redundancy of that, but it's the point. Haha.
     
  12. Offline

    Zarius

    Not sure - perhaps just using " MaterialData.bedrock.setHardness(<some value here>);" in the onEnable of new plugin might work.
     
  13. Offline

    xBladeM6x

    Bringing this up again, I still need a plugin, and Zarius even when in a world guard defined zone, people can still break the bedrock. (As long as they're given permission) but still, they can break it. That's bad. DX
     
  14. Offline

    mushroomhostage

    Listen for PlayerFishEvent, and if the state is PlayerFishEvent.State.CAUGHT_FISH, drop an item. EnchantMore does this for several enchanted fishing rod effects (including Fishing Rod + Fortune = catch junk, which causes selected random items to be caught). JunkyardCreek also changes the drops from fishing, and its configurable, too.

    For the original question, EnchantMore also supports Pickaxe + Power to break bedrock (and any other item, instantly). Its like WorldEdit's superpick, except available as an item. No permissions, but you can control access by controlling who can have the specially-enchanted pickaxe item. Unfortunately, this plugin doesn't yet support region protection either (but there will be at least partial support in the next release after 0.6.4).
     
  15. Offline

    Zarius

    That's definitely a bug - I've tested it locally and OtherDrops honours protection plugins (since OtherDrops runs at priority high & ignores cancelled events - protection plugins should run first at priority low and cancel the event). What version of OtherDrops and what's the "priority" setting in the otherdrops-config.yml file?

    As for the fire from fishing - Junkyard Creek modifies fishing as mentioned or you can also use OtherDrops for that too:

    Code:
      PLAYER:
        - action: FISH_SUCCESS
          drop: FIRE/5%    # one in 20 successful catches will be fire rather than fish
    
    edit: wait - the breaking is done on leftclick which doesn't get cancelled by the protection plugin - they only cancel the final block break but since we kill the block on the first click the protection plugin doesn't get to see it. I might think about adding a "worldguard.canBuildInCurrentRegion" condition (possibly with a shorter name) :)
     
  16. Offline

    xBladeM6x

    If you did, I would be very thankful. Because I have a prison, that's not exactly a prison anymore. Haha. Also, I'm using version 2.3 for R4 of OtherDrops.
     

Share This Page