Plugin Help Mined blocks straight to inventory

Discussion in 'Plugin Help/Development/Requests' started by TheBlackoutGamer, Dec 19, 2015.

Thread Status:
Not open for further replies.
  1. Hello, i need a plugin for my prison server that puts mined block straight to your inventory, that needs no permission nodes and is enabled for every player. I have had a look around but haven't found a good one yet, any ideas?
     
  2. Offline

    Scorpionvssub

    prisonutils
     
  3. Offline

    TechnoGeek123

  4. Offline

    Caedus

    Not sure if this is a plugin request, but I made the plugin all the same.

    Can be found here: https://www.dropbox.com/s/qvsbcnaz2h2dbpt/StraightToInventory.jar?dl=0

    Essentially, upon the breaking of a block, it checks to make sure the breaker is a player, cancels the block break event whilst also setting the broken block to be air and giving the block to the player in their inventory.

    I only tested it briefly, didn't have any problems but if you find something let me know.

    It's worth noting that this plugin doesn't support blocks that have drop chances of another material (for example gravel and flint stone, it will give the player gravel but not flint stone).
     
    Last edited: Dec 20, 2015
Thread Status:
Not open for further replies.

Share This Page